Skip to content

Extensible rule getter #41

@doodlewind

Description

@doodlewind

Do you want to request a feature or report a bug?

Feature

We have a well defined rule runner for now, whereas for a large doc shape, writing rules in flat array may not scale up as expected.

One solution is to expose the getRule to user, leaving them to get and even compose rules, like what chainCommand did in ProseMirror. But then rules may not be enforced as flat array.

This is a very premature idea. New API may change whenever better thoughts are proposed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions