-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Idea: Smart Text Block #349
Comments
Linking discussion that happened here also: #335 (comment) Great ticket. |
I like to think of it as "formatting blocks" and "complex blocks". So TinyMCE would handle the formatting blocks such as image, lists, tables. And then we have more complex blocks that usually are a combination of elements, such as image caption, video embed, image gallery etc, that would be handles by the block api (outside in the current context, but via our block api, possible inside of tinymce as well). I think this will make the type type type experience not so different from current solution and easier to implement as well. Now it might still look very "blocky" to the user, wether the block is "inside" or "outside" of tinymce in this case, the look and feel could be the same. |
So a bunch of exciting things going on at the same time. So as to not duplicate work, let's zoom out a bit. It looks like #358 overlaps @iseulde work on #347, but there is also overlap between the "Smart Text Block" concept and @aduth work on #335. That's not to say those are bad — it's good that we are thinking in the same directions, we just need a little coordination. Zooming out: we need a block that is very close to the current editor, but with UI changes (not an overwhelming amount of buttons and a kitchen sink). We need this block to load old posts, and unparsable blocks. This is essentially the block proposed here, and the very same block that @aduth has started work on in #335. A user will be able to use this block the same way the editor works now, but won’t have the advantage of having controls specific to the block. We've had many names for it. Generic, Fallback, Unknown, Smart Text, HTML Block, Visual Editor Block. For now, let's call this Freeform Block, until such a time as we can find a better name (and I encourage your suggestions). This block is not the Maybe @aduth can bootstrap this block in #335 and open it to improvements? CC: @youknowriad does this read right to you? 👆 |
How about "Writer's Block" ... or is that too punny? 🤓 (joking btw) |
😂 🌟🌟🌟🌟🌟 👏 |
Should we close this in favor of #365? |
Closing in favor of #365. |
Could we potentially view Text, List, Tables, and Headings as different twists on the same thing? As contained in a "Smart Text Block" (aka TinyMCE with some UI changes).
Underneath the hood, a Smart Text Block would behave slightly differently than the regular blocks but, to the user, it would feel the same. It would look seamless with the Gutenberg experience. For example:
Copy/paste, undo/redo, and a lot of the simple text interactions (#179) would work much better within the Smart Text Block. There would be more of a type type type experience.
Why?
A Smart Text Block would cope much better with unstructured/legacy content and content imported from elsewhere yet would retain the overall user experience of Gutenberg. It will also work much better on mobile devices once we get to that.
This picks up on the conversations in #335 and #346 . In particular this image from @annaephox
The text was updated successfully, but these errors were encountered: