Skip to content

Default Editable enter behavior to newline #374

@aduth

Description

@aduth

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] BlocksOverall functionality of blocks[Feature] Rich TextRelated to the Rich Text component that allows developers to render a contenteditable[Type] QuestionQuestions about the design or development of the editor.[Type] TaskIssues or PRs that have been broken down into an individual action to take

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions