-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Default Editable enter behavior to newline #374
Copy link
Copy link
Closed
Labels
[Feature] BlocksOverall functionality of blocksOverall functionality of blocks[Feature] Rich TextRelated to the Rich Text component that allows developers to render a contenteditableRelated to the Rich Text component that allows developers to render a contenteditable[Type] QuestionQuestions about the design or development of the editor.Questions about the design or development of the editor.[Type] TaskIssues or PRs that have been broken down into an individual action to takeIssues or PRs that have been broken down into an individual action to take
Milestone
Description
This is related to how we want to handle block splitting, e.g. pressing enter in the middle of a paragraph. But more specifically to changes introduced in #347, nothing occurs when pressing enter in a text block. We could consider defaulting this to a newline via TinyMCE settings.
https://www.tinymce.com/docs/configure/content-filtering/#forced_root_block
We should also consider how this impacts inline editables (quote citation, image caption). We can control this via Editable prop if need be.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Feature] BlocksOverall functionality of blocksOverall functionality of blocks[Feature] Rich TextRelated to the Rich Text component that allows developers to render a contenteditableRelated to the Rich Text component that allows developers to render a contenteditable[Type] QuestionQuestions about the design or development of the editor.Questions about the design or development of the editor.[Type] TaskIssues or PRs that have been broken down into an individual action to takeIssues or PRs that have been broken down into an individual action to take
Type
Fields
Give feedbackNo fields configured for issues without a type.