forked from LiveCarta/BookConverter
Update style_config with pre code
This commit is contained in:
@@ -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: ['*']
|
||||
} };
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user