-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Type] QuestionQuestions about the design or development of the editor.Questions about the design or development of the editor.
Description
So far, we have these technical prototypes:
1- https://wordpress.github.io/gutenberg/tinymce-per-block/
- Multi-TinyMCE
- Controlled ( state -> render -> event -> state -> rerender )
- The state is represented as an Object
- Using Grammar
2- https://wordpress.github.io/gutenberg/tinymce-single/ (Single TinyMCE, uncontrolled, no grammar, HTML parsing)
- Single Global TinyMCE
- Uncontrolled ( state -> render -> event -> newState )
- The state is a simple string containing the whole HTML
- Not using the Grammar inside the editor but we may be able to add the grammar comments while calling
tinymce.getContent
(Feel free to add any other technical prototype here)
I'm creating this issue so we can compare the pros/cons of each approach to help us decide which approach we choose to implement.
Metadata
Metadata
Assignees
Labels
[Type] QuestionQuestions about the design or development of the editor.Questions about the design or development of the editor.