Open djay opened 2 months ago
as discussed in the meeting. probably the best way to deal with it is use the slate package installed on the adminUI side. send over the selection and action, make a transformation and then send that updated state to both the slateblock on the admin side and back over the bridge as an update to be rerendered. Don't try to use the SlateBlock code directly. Still keep the formatting UI on the frontend side.
So looking at the code
slate should in theory work without react but there doesn't seem to be much documentation on that
So haven't found an implementation without a framework.
Another option is to fake events to the react slate in the sidebar. doesn't seem like a good idea though
Problem
The rich text editor needs to use transforms in slate package more directly so that the editor does the right thing when formatting text.
How to reproduce
Other bugs
... TODO
Context