Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

support marks on element nodes #63

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

BrianHung
Copy link
Contributor

@BrianHung BrianHung commented Aug 16, 2021

#47

@BrianHung
Copy link
Contributor Author

BrianHung commented Aug 16, 2021

An alternative serialization method might be to just use setAttribute('marks', node.marks) to distinguish between attrs and marks.

This would also allow marks to retain its expected properties of being an array (which help with #52), and we wouldn't also have to rely on schema to tell if something is a mark or attrs.

@Bajena
Copy link

Bajena commented Jun 28, 2024

Hi @dmonad would there be any chance you could take a look at this PR? It'd help us a lot to solve some inconsistencies. Thank you 🙇

west1636 added a commit to west1636/y-prosemirror that referenced this pull request Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants