Merge pull request #4475 from FinnStutzenstein/addTextDecorationToHtmlWhitelist
Add text-decoration to bleach whitelist
This commit is contained in:
commit
07c723a7dc
@ -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`
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -47,6 +47,7 @@ allowed_styles = [
|
|||||||
"text-align",
|
"text-align",
|
||||||
"float",
|
"float",
|
||||||
"padding",
|
"padding",
|
||||||
|
"text-decoration",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user