front / gutenberg-js

JavaScript only version of the WordPress Gutenberg editor (DEPRECATED)
GNU General Public License v2.0
390 stars 42 forks source link

Multiple editors on the same page #30

Closed mauricewijnia closed 3 years ago

mauricewijnia commented 5 years ago

I am working on a package that makes it easy to use this editor in Laravel. I was wondering if there is a way to render the editor multiple times on the same page so it could be used for multiple form fields?

Right now I am getting errors about blocks already being registered:

Block "core/paragraph" is already registered.
Block "core/image" is already registered.
Block "core/heading" is already registered.
...
FlusherDock1 commented 5 years ago

I tried my best to figure out how to make multiple widgets, but i have same problem or two widgets just sharing one content to each other.