Change folders structure

This commit is contained in:
Kiryl
2022-07-27 20:45:00 +03:00
parent af466cbc27
commit c19f76bc90

81
docs/style_config Normal file
View File

@@ -0,0 +1,81 @@
config.allowedContent = {
sup: {
attributes: ['*'],
classes: ['*']
},
table: {
attributes: ['*'],
styles: ['*']
},
tr: {
attributes: ['*'],
styles: ['*']
},
th: {
attributes: ['*'],
classes: ['p-indent'],
styles: ['*']
},
td: {
attributes: ['*'],
classes: ['p-indent'],
styles: ['*']
},
tbody: {
attributes: ['*'],
styles: ['*']
},
thead: {
attributes: ['*'],
styles: ['*']
},
caption : {},
img : {
attributes: ['*'],
classes: ['*'],
styles: ['*']
},
code : {
attributes: ['*'],
classes: ['*'],
styles: ['*']
},
pre : {
attributes: ['*'],
classes: ['*'],
styles: ['*']
},
p : {
styles: ['text-align', 'text-indent', 'border-bottom', 'border-top'],
classes: ['*']
},
strong : {},
i : {},
s : {},
u : {},
ul : {},
ol : {},
li : {
styles: ['text-align']
},
blockquote : {},
span : {
attributes: ['*'],
classes: ['*'],
styles: ['*']
},
a : {
attributes: ['href', 'data-anchor-id', 'data-chapter-id', 'placeholder'],
classes: ['link-to-anchor'],
},
iframe : {
attributes: ['*'],
classes: ['*'],
styles: ['*']
},
div : {
attributes: ['*'],
classes: ['youtube-embed-wrapper'],
styles: ['*']
}
};