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:

Finite-State Machines, Part 1: Modeling with Haskell Data Types

Stateful programs often become complex beasts as they grow. Program state incohesively spread across a bunch of variables, spuriously guar...