MDL-77012 editor_tiny: correct block formats property syntax.

Co-authored-by: Hiroto Kagotani <hiroto.kagotani@gmail.com>
This commit is contained in:
Paul Holden
2023-03-06 08:35:32 +00:00
parent fba0658777
commit c51b7e2c44
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -244,10 +244,10 @@ const getStandardConfig = (target, tinyMCE, options, plugins) => {
// eslint-disable-next-line camelcase
quickbars_insert_toolbar: '',
// Disable some of the standard paragraph levels.
// Override the standard block formats property (removing h1 & h2).
// https://www.tiny.cloud/docs/tinymce/6/user-formatting-options/#block_formats
// eslint-disable-next-line camelcase
block_formats: 'Paragraph=p; Heading 3= h3; Heading 4= h4; Heading 5= h5; Heading 6= h6;',
block_formats: 'Paragraph=p; Heading 3=h3; Heading 4=h4; Heading 5=h5; Heading 6=h6;',
// The list of plugins to include in the instance.
// https://www.tiny.cloud/docs/tinymce/6/editor-important-options/#plugins