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
lists link paste searchreplace textcolor`,
menubar: '',
toolbar: `styleselect | bold italic underline strikethrough
| forecolor backcolor removeformat | bullist numlist |
toolbar: `styleselect | bold italic underline strikethrough |
forecolor backcolor removeformat | bullist numlist |
link image charmap | code fullscreen`
};

View File

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