MDL-80058 editor_tiny: add preformatted format to the blocks

This commit is contained in:
meirzamoodle
2024-01-10 09:40:22 +07:00
parent 591cdd8211
commit 55d828df88
3 changed files with 3 additions and 3 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -330,7 +330,7 @@ const getStandardConfig = (target, tinyMCE, options, plugins) => {
// 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; Preformatted=pre',
// The list of plugins to include in the instance.
// https://www.tiny.cloud/docs/tinymce/6/editor-important-options/#plugins