ckeditor5 icon indicating copy to clipboard operation
ckeditor5 copied to clipboard

[Question] - How to add a bulleted list feature with specific class on it?

Open romanovma opened this issue 7 years ago • 1 comments

I want to add custom class to ul tag as it is done with h2 tag in this example from documentation (fancy class):

{
  model: 'headingFancy',
  view: {
    name: 'h2',
    classes: 'fancy'
  },
  title: 'Heading 2 (fancy)',
  class: 'ck-heading_heading2_fancy',

  // It needs to be converted before the standard 'heading2'.
  converterPriority: 'high'
}

(https://ckeditor.com/docs/ckeditor5/latest/features/headings.html#configuring-custom-heading-elements)

Is that possible? Cannot find any documentation regarding that :(

romanovma avatar May 31 '19 10:05 romanovma

Hello, unfortunately there's no configuration option like this for lists. Please, take a look at the related issue about adding custom classes to the elements - https://github.com/ckeditor/ckeditor5/issues/1462.

Mgsy avatar Jun 05 '19 08:06 Mgsy