Skip to content

Aminoid/draft-js-plugins

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Fork of DraftJS Plugins

This repo is a fork of DraftJS Plugins. It fixes the issue with the inline-toolbar going beyond of viewport by maintaining toolbar width and adjusting pointer tip accordingly.

Files Fixed

The fix touches two files:

Description

  • Fix the width of toolbar to 147px
  • Check where the toolbar lies on the viewport. If it lies at a left/right distance of less than 73.5px (147/2 px), then fix it's left/right distance as 73px and change the pointer tip to the selected word.

About

React Plugin Architecture for DraftJS including Slack-Like Emojis, FB-Like Mentions and Stickers

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 93.1%
  • CSS 5.1%
  • Shell 1.8%