quill icon indicating copy to clipboard operation
quill copied to clipboard

Love your work, I use the editor in all my projects!!

Open artknight opened this issue 1 year ago • 3 comments

Hey, sorry to post it here as I did not see any way to contact you. I really like your work, so I am going to feature it in the tomorrow's issue of my my daily newsletter, https://dailysandbox.com

artknight avatar Aug 08 '24 21:08 artknight

Did you managed to solve HTML to markdown transform in correct way? The library itself saving HTML, which is weird.

I guess its better to save result in markdown, and then parse it on front-end, but convertation from library is incorrect, because its not actually apply something, its applying own classes, which not passed to markdown and any result you can take.

image

I am just wonder how you do that. Because i cant take something good on frontend

MagisterUnivers avatar Aug 09 '24 10:08 MagisterUnivers

@MagisterUnivers The Quill Editor uses its own delta format to store the content. By default, it is not supposed to convert it to markdown.

artknight avatar Aug 11 '24 21:08 artknight

@artknight You are absolutely right. I just left it work with HTML format and dangerouslyInsertHTML + DomPufiry. It is enough.

But if you want simple, fast, component based library for text-editor and markdown - use MDXEditor. I refactored it to that library, and i am so satisfied.

MagisterUnivers avatar Aug 12 '24 07:08 MagisterUnivers