-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Add Block: Continuous Text #447
Description
Per discussion in #409 (comment), let's try two block approaches at the same time:
- Different paragraphs are separate text blocks.
- Contiguous paragraphs are part of the same text block.
In both cases a double (or single) enter would show the block-insert menu to the left. Depending on what you do next we would break out from the current text block or continue.
Block:
Inserter:
Inserter at the end:
Inserter between content:
Invoking the inserter between paragraphs in a continuous text block is difficult, as @youknowriad puts it:
It's just a hard task because we're mainly considering the Editable component (the TinyMCE wrapper) as a black box while this block means we'll need to figure when and how to get the inserter at the right place inside this component.
However this issue is likely going to come up again in context of other blocks, like the freeform and/or TinyMCE block,
Related:


