Merge pull request #4475 from FinnStutzenstein/addTextDecorationToHtmlWhitelist

Add text-decoration to bleach whitelist
This commit is contained in:
Emanuel Schütze 2019-03-08 16:19:32 +01:00 committed by GitHub
commit 07c723a7dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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",
] ]