Replies: 3 comments 2 replies
-
I was thinking in something like inserting an SVG canvas and when exported (CTRL + C), write to a blob. |
Beta Was this translation helpful? Give feedback.
-
Integrate a draw component won't be difficult, but it's hard to make it transform between markdown strings. |
Beta Was this translation helpful? Give feedback.
-
I was thinking in two simple scenarios:
Much like notekit handles drawing. With that, the work could be done in a worker thread, with a small web assembly module, like the one thumbo uses. It's lightweight and open source! Then there would be 2 direct interfaces: (1) for the core plugin to send the data url as SVG through (2) the webassembly module to make the conversion to PNG as data url, and send it back to "copy" event. |
Beta Was this translation helpful? Give feedback.
-
Is it feasible to create a drawing plugin that matches (or supersedes) that of Tiptap?
It doesn't necessarily have to be better, but just "drawable". ^^
Beta Was this translation helpful? Give feedback.
All reactions