Replies: 2 comments
-
Thanks for sharing this it's really useful. It's a real pain finding a library that supports image resizing and alignment. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you, this was very helpful. |
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.
-
There have a number of image handling libraries over the years. Here's a wrap of the lot (at least I think this is the lot):
Background: Ive been using Quill 1.3 from a long time, and now looking to upgrade to v2. Ive written my own image handling which compresses and uploads to the server, and for image captioning I used the excellent gist https://gist.github.com/tranduongms1/584d43ec7d8ddeab458f087adbeef950 as a starting point to create my own.
However with Quill v2, I'm unable to get the captioning logic it to work any more. In particular I've narrowed it down to the constructor call in the framework:
The constructor is not sending in the domNode, as mentioned in https://github.com/slab/parchment?tab=readme-ov-file#blots. So Ive been exploring various libraries, and hence thought of documenting these to help others.
Beta Was this translation helpful? Give feedback.
All reactions