We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the eq method in the Decoration class is private, while it is very useful when you need to compare different Decorations, that have been returned by the DecorationSet.find method. So maybe it would be a good idea to make it public. I'm somewhat new to ProseMirror, so maybe I'm missing something. https://github.com/ProseMirror/prosemirror-view/blob/ea3d704a1796e611c2a411f16d2a6b6f58c14ce5/src/decoration.js#L98
eq
Decoration
DecorationSet.find
1.3.0
The text was updated successfully, but these errors were encountered:
Could you say a bit more about the use case that requires you to compare decorations in client code? (Or if this is no longer an issue, let me know.)
Sorry, something went wrong.
No branches or pull requests
Issue details
Currently the
eq
method in theDecoration
class is private, while it is very useful when you need to compare different Decorations, that have been returned by theDecorationSet.find
method. So maybe it would be a good idea to make it public. I'm somewhat new to ProseMirror, so maybe I'm missing something.https://github.com/ProseMirror/prosemirror-view/blob/ea3d704a1796e611c2a411f16d2a6b6f58c14ce5/src/decoration.js#L98
ProseMirror version
1.3.0
The text was updated successfully, but these errors were encountered: