Add text-decoration to bleach whitelist, fix tinymce toolbar

This commit is contained in:
FinnStutzenstein 2019-03-08 10:00:26 +01:00 committed by Emanuel Schütze
parent 70191ce455
commit 66ebdc4f8a
2 changed files with 3 additions and 2 deletions

View File

@ -45,8 +45,8 @@ export abstract class BaseComponent {
plugins: `autolink charmap code colorpicker fullscreen image imagetools plugins: `autolink charmap code colorpicker fullscreen image imagetools
lists link paste searchreplace textcolor`, lists link paste searchreplace textcolor`,
menubar: '', menubar: '',
toolbar: `styleselect | bold italic underline strikethrough toolbar: `styleselect | bold italic underline strikethrough |
| forecolor backcolor removeformat | bullist numlist | forecolor backcolor removeformat | bullist numlist |
link image charmap | code fullscreen` link image charmap | code fullscreen`
}; };

View File

@ -47,6 +47,7 @@ allowed_styles = [
"text-align", "text-align",
"float", "float",
"padding", "padding",
"text-decoration",
] ]