donotebase / quasar-tiptap

A modern WYSIWYG rich-text editor built on top of tiptap and Quasar for Vue.js.
https://donotebase.github.io/quasar-tiptap
MIT License
310 stars 61 forks source link

List items don't apply some formatting option #70

Open Krussicus opened 3 years ago

Krussicus commented 3 years ago

Paragraphs used in list items do not apply some formatting options, namely line height and indentation.

This can be recreated using the demo editor. Just create a list (affects all types of lists) and try change the line height and indentation of an item.

If the line height is set before the list is added, i.e. set on the empty paragraph, the first item will have the correct line height applied but the rest will use the default value of the paragraph. The indentation is less consistent in its behaviour. Setting the indentation before creating the list sometimes fixes it and, once it works for one list, newly created lists seem to work whether the indentation is set first or not.
When the fix doesn't work, the behaviour is the same as line height - first item gets the indentation and the rest default.

No errors in the console.