marmelab / aor-rich-text-input

<RichTextInput> component for admin-on-rest, useful for editing HTML code in admin GUIs
MIT License
23 stars 25 forks source link

Quill adds padding without matchvisual option #11

Open arlair opened 7 years ago

arlair commented 7 years ago

I was trying out AOR and noticed it was adding extra padding before a list.

With some searching, I discovered this is a known feature, but can be disabled in Quill 1.3+. This component currently only supports Quill ~1.1.9, so I'm not sure if there is something stopping aor-rich-text-input going to version Quill 1.3?

Quill issue about padding here: https://github.com/quilljs/quill/issues/1483

Quill matchvisual option documentation: https://quilljs.com/docs/modules/clipboard/#matchvisual

whocaresonroad commented 6 years ago

Any chance getting this fixed?

lihop commented 6 years ago

The link to the quill documentation above is confusing because it contains updates for quill v2.0 in which the matchVisual option has been removed. The documentation for the current stable release of quill (1.3.6) can be found here.