Skip to content

Feature: Isolated decorator nodes. #4837

Open
@addlistener

Description

I moved from prosemirror and thought the concept of isolating nodes would be useful.

For example I have a video decorator node, and it would be nice this node won't be deleted by backspace. Because the video might be playing while I am editing.

Or is it possible we achieve this thru some plugins?

The original prosemirror isolating definition.
isolating⁠?: boolean
When enabled (default is false), the sides of nodes of this type count as boundaries that regular editing operations, like backspacing or lifting, won't cross. An example of a node that should probably have this enabled is a table cell.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    enhancementImprovement over existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions