Improve style tag handling in TinyMCE (#7088)

pull/7099/head
Aleksander Machniak 5 years ago
parent 94c795b539
commit 58aea024b4

@ -48,7 +48,8 @@ function rcube_text_editor(config, id)
toolbar_items_size: 'small', toolbar_items_size: 'small',
extended_valid_elements: 'font[face|size|color|style],span[id|class|align|style]', extended_valid_elements: 'font[face|size|color|style],span[id|class|align|style]',
fontsize_formats: '8pt 9pt 10pt 11pt 12pt 14pt 18pt 24pt 36pt', fontsize_formats: '8pt 9pt 10pt 11pt 12pt 14pt 18pt 24pt 36pt',
valid_children: '+body[style],+blockquote[style]', // Allow style tag, have to be allowed inside body/div/blockquote (#7088)
valid_children: '+body[style],+blockquote[style],+div[style]',
relative_urls: false, relative_urls: false,
remove_script_host: false, remove_script_host: false,
convert_urls: false, // #1486944 convert_urls: false, // #1486944

Loading…
Cancel
Save