Friday, July 28, 2017

Multiple draftjs components with plugins at once



I've been using draft js with the richbuttons plugin, and everything works fine if I only have one editor component. However, when I try to add more than one component on the page, the rich buttons only apply to the most recently added editor.

No comments:

Moving Backgrounds With Mouse Position

Let's say you wanted to move the background-position on an element as you mouse over it to give the design a little pizzazz. You have ...