Replies: 3 comments 6 replies
|
The mark view is highly not recommended by the author of prosemirror, you can learn more details at: https://discuss.prosemirror.net/t/prosemirror-adapter-for-react-and-vue/5010/2 |
4 replies
|
@zgrybus do you have success override linkSchema ? I needs to add custom attribute like onClick or custom component for link: https://github.com/orgs/Milkdown/discussions/1008 |
2 replies
|
@Saul-Mirone is there a better way to do this in v7? Maybe replacing the link schema? If so, is there any example? I want to make links clickable as normal |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
How to change the view for a link? I'm trying to change it via
nodeViewFactory, butlinkSchemaisMarkType, so.. I think I'm doing it wrong.My current code:
And my
useEditor:I see that there is https://prosemirror.net/docs/ref/#view.MarkViewConstructor that
$viewaccepts as well, however I don't see anymarkViewFactory()hook 🤔All reactions