Hocuspocus transformer removes link marks #4296
Unanswered
vrepsys
asked this question in
General Questions
Replies: 1 comment
-
|
I found out this is a bug in y-prosemirror yjs/y-prosemirror#47 PR to solve it has not been merged yet: yjs/y-prosemirror#135 |
Beta Was this translation helpful? Give feedback.
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Inline image seems to work well with the
linkmark to create image links. However, when converting them to Ydoc to store in Hocuspocus the link marks disappear. Here's an example:Output doesn't have the link mark any longer
{ "type":"doc", "content":[ { "type":"paragraph", "content":[ { "type":"image", "attrs":{ "src":"https://img.shields.io/green.svg", "alt":"Conventional Commits" } } ] } ] }Any ideas anyone? I tried to experiment with image extensions schema by adding
marks: 'link', but that didn't have any effect.Beta Was this translation helpful? Give feedback.
All reactions