How to restrict multiple options of items in the toolbar #251
-
I'd like to remove the options to choose which type of list or ordered list, as I would prefer to control the style of these things in my CSS. I've searched through the CKEditor docs and can't find any mention of how to do this, but I know from my query about image placement that this sort of thing is possible. Also, an example on the docs page about lists doesn't have the option arrow. Where can I find the config options to modify these default button options? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The CKEditor v5 docs aren’t quite opaque. I figured this out after trial and error. You want to set Any block/inline styles are applied to nested paragraphs anyway, which is a different gripe. 😒 |
Beta Was this translation helpful? Give feedback.
-
I just needed the same thing, and figured it out myself before finding the same answer here. Adding/modifying the config as suggested by @joshuabaker will remove the sub-types of lists. |
Beta Was this translation helpful? Give feedback.
The CKEditor v5 docs aren’t quite opaque. I figured this out after trial and error. You want to set
list.properties.styles
tofalse
.Any block/inline styles are applied to nested paragraphs anyway, which is a different gripe. 😒