Update style_config with pre code

This commit is contained in:
Kiryl
2022-06-16 13:18:58 +03:00
parent 9190d45754
commit 73513e63b5

View File

@@ -35,8 +35,18 @@ config.allowedContent = {
classes: ['*'], classes: ['*'],
styles: ['*'] styles: ['*']
}, },
code : {
attributes: ['*'],
classes: ['*'],
styles: ['*']
},
pre : {
attributes: ['*'],
classes: ['*'],
styles: ['*']
},
p : { p : {
styles: ['text-align', 'text-indent', 'border-top', 'border-bottom'], styles: ['text-align', 'text-indent', 'border-bottom', 'border-top'],
classes: ['*'] classes: ['*']
}, },
strong : {}, strong : {},
@@ -67,4 +77,5 @@ config.allowedContent = {
attributes: ['*'], attributes: ['*'],
classes: ['youtube-embed-wrapper'], classes: ['youtube-embed-wrapper'],
styles: ['*'] styles: ['*']
} }; }
};