You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nested lists entered in the TextEditor aren't returned semantically nested on the value parameter. Instead, they're returned flattened and with some custom classes (ql-indent-<level>) that Quill, the Javascript library used to implement the editor, uses in the editor to visually indent the items.
We are is still using Quill 1 (intention was to update Quill when it would officially support being rendered in the Virtual DOM which isn’t yet the case), so that needs to be updated first
Check whether getSemanticHTML is really a good fit (e.g. search related issues) and doesn't introduce other discrepancies.
Nested lists entered in the TextEditor aren't returned semantically nested on the
value
parameter. Instead, they're returned flattened and with some custom classes (ql-indent-<level>
) that Quill, the Javascript library used to implement the editor, uses in the editor to visually indent the items.This is apparently a pretty old issue in the Quill (slab/quill#979) . In Panel, we get the content of the editor in the front-end using
innerHTML
(panel/panel/models/quill.ts
Line 166 in 1f821d6
getSemanticHTML
instead ofinnerHTML
that was added in Quill 2.0 (https://quilljs.com/docs/api#getsemantichtml):getSemanticHTML
is really a good fit (e.g. search related issues) and doesn't introduce other discrepancies.Preference for option 1.
The text was updated successfully, but these errors were encountered: