Skip to content
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

Editable Strategy #898

Closed
ellatrix opened this issue May 24, 2017 · 1 comment
Closed

Editable Strategy #898

ellatrix opened this issue May 24, 2017 · 1 comment
Labels
[Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable [Type] Question Questions about the design or development of the editor.

Comments

@ellatrix
Copy link
Member

ellatrix commented May 24, 2017

This is more of a discussion ticket, with some points on how I see Editable going forward, so we can discuss and get on the same page.

  1. Implement multi selection: Multiple block selection #62 + Add multi select #896.
  2. Once we have multi selection, we might be able to return to one paragraph per text block:
    • This could make Editable much simpler as we can remove the non inline version. There would be only one state structure.
    • Blocks like lists and quotes could be created from multi selection. We can have a toolbar for commands that are possible on multiple selected text blocks.
    • There's no need to "normalise" paragraphs and merge/split them to transform to a list/quote/etc.
    • Alignment is truly per block.
    • Line break on enter becomes easy (though we don't have to do it).
  3. Editable state as string + meta data: RichText State Structure #771 + Experimental Editable state #847.
  4. Add text shortcuts. With just a string as the Editable state, it's easier to make transformations to other blocks (code, hr, heading), or add extra meta data (like formatting).
@ellatrix ellatrix added [Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable [Type] Question Questions about the design or development of the editor. labels May 24, 2017
@ellatrix
Copy link
Member Author

Closing as multi-selection is done and editable state is being discussed elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Rich Text Related to the Rich Text component that allows developers to render a contenteditable [Type] Question Questions about the design or development of the editor.
Projects
None yet
Development

No branches or pull requests

1 participant