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: ['*'],
styles: ['*']
},
code : {
attributes: ['*'],
classes: ['*'],
styles: ['*']
},
pre : {
attributes: ['*'],
classes: ['*'],
styles: ['*']
},
p : {
styles: ['text-align', 'text-indent', 'border-top', 'border-bottom'],
styles: ['text-align', 'text-indent', 'border-bottom', 'border-top'],
classes: ['*']
},
strong : {},
@@ -67,4 +77,5 @@ config.allowedContent = {
attributes: ['*'],
classes: ['youtube-embed-wrapper'],
styles: ['*']
} };
}
};