Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Extend ContentMatch's interface with direct access to edges #4

Closed
wants to merge 1 commit into from

Conversation

marijnh
Copy link
Member

@marijnh marijnh commented Mar 12, 2018

Expose the outgoing edges on ContentMatch objects, which are in effect just nodes in a finite automaton.

Rendered RFC

@marijnh
Copy link
Member Author

marijnh commented Mar 22, 2018

Merged as c8a92db

@marijnh marijnh closed this Mar 22, 2018
marijnh added a commit to ProseMirror/prosemirror-model that referenced this pull request Mar 22, 2018
As per RFC2.

FEATURE: `ContentMatch` objects now have an
[`edgeCount`](##model.ContentMatch.edgeCount) property and an
[`edge`](##model.ContentMatch.edge) method, providing direct access to
the finite automaton structure.

Issue ProseMirror/rfcs#4
@adrianheine adrianheine deleted the contentmatch-edges branch October 8, 2018 11:08
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant