Skip to content

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