Typo3 8.7.x/CKEditor:如何覆盖下拉列表中标题的标签?

Typo3 8.7.x/CKEditor:如何覆盖下拉列表中标题的标签?,ckeditor,typo3,typo3-8.x,Ckeditor,Typo3,Typo3 8.x,我想覆盖下拉列表中标题的标签。我尝试了以下yaml配置,但不起作用: editor: config: format_h2: { name: "test", element: "h1"} 我自己找到了一个解决方案,希望它能帮助其他人: 您可以从format_标记中删除标准标题,并添加自定义标题,如headline1;标题2 editor: config: format_tags: 'p;headline1;headline2;headline3' format_h

我想覆盖下拉列表中标题的标签。我尝试了以下yaml配置,但不起作用:

editor:
  config:
    format_h2: { name: "test", element: "h1"}

我自己找到了一个解决方案,希望它能帮助其他人: 您可以从format_标记中删除标准标题,并添加自定义标题,如headline1;标题2

editor:
  config:
    format_tags: 'p;headline1;headline2;headline3'
    format_headline1: { element: 'h1', name: 'Very Large Headline' }
    format_headline2: { element: 'h2', name: 'Large Headline' }
    format_headline3: { element: 'h3', name: 'Normal Headline' }