ckeditor / ckeditor5-angular

Official CKEditor 5 Angular 5+ component.
https://ckeditor.com/ckeditor-5
Other
202 stars 110 forks source link

Lists lose their inline style when they are indented. #406

Closed juliancalderone closed 7 months ago

juliancalderone commented 7 months ago

About the error: I have tried several tests, it appears when the user tries to index lists of different types within ckeditor.

https://github.com/ckeditor/ckeditor5-angular/assets/22227757/bcc5a2b3-6222-4c68-aeae-b8fa2b58fd0a

As you can see in the video, when the first list type is selected, the inline style tag "list-style-type:upper-latin;" is added, but when the user indents with the tab key, the editor changes the list type without adding the inline style.

I'm implementing the custom version of the library

Files:

Custom configuration

This is my package.json file

I´m using Angular 16.2.12

Thank you very much in advance, in the event that this is not a bug at all.

Witoso commented 7 months ago

Hey! This is a default behavior, we style one level of the lists, the others come from default stylesheets. Related improvement could be ckeditor/ckeditor5#10862, and other related to defining custom lists.

juliancalderone commented 7 months ago

Hi @Witoso Thanks for your answer !