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 |
Beta Was this translation helpful? Give feedback.
-
@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 |
Beta Was this translation helpful? Give feedback.
-
@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 |
Beta Was this translation helpful? Give feedback.
-
Hello,
How to change the view for a link? I'm trying to change it via
nodeViewFactory
, butlinkSchema
isMarkType
, 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
$view
accepts as well, however I don't see anymarkViewFactory()
hook 🤔Beta Was this translation helpful? Give feedback.
All reactions