quill-delta-python
quill-delta-python copied to clipboard
Python port of the Quill-JS Delta library - Has support for HTML Rendering
Thanks so much for your library. I recently used it in a project and it's pretty nice. Good job! The only issue I'm seeing is that it doesn't wrap the...
Hi, Thank you for this port, it really helped me! I had to embed a Quill diff into a MS Word document, I would like to share some lines in...
This will break: ```python ops = [{'attributes': {'color': 'var(--powder-700)', 'link': 'https://stackoverflow.com/questions/tagged/html'}, 'insert': 'html'}] html.render(ops) ```` When I copy pasted some random text from Stackoverflow, which included this link into quill...
Hi, Is there an option for custom blots? Thanks
Hi! Thank you so much for this library, which has become central to my work! I have been trying to make sense of this change in the upstream quilljs delta...
Is there a way to whitelist font sizes? I have a delta object like this: ```JSON ... { "insert": "test", "attributes": { "bold": true, "size": "10px", "color": "#ffffff" } }...
Control characters that lxml doesn't like, which are many. Notably '\x0c', which Google docs generates and is a page break. See similar bug across the git pond: https://github.com/html5lib/html5lib-python/issues/96
Installing current lxml (lxml-5.3) and cssutils (2.11.1) go well, but quill-delta[html] requires lxml=4.3 (lxml-4.9.4) which fails to build and cssutils=1.0 which does not exist anymore. I tried a local install...
/usr/local/lib/python3.12/site-packages/diff_match_patch/diff_match_patch.py:1807: SyntaxWarning: invalid escape sequence '\d' scribapi | m = re.match("^@@ -(\d+),?(\d*) +(\d+),?(\d*) @@$", text[0]) quill-delta has a outdated dep (can't change diff_match_patch version, not supported)