Removed the bundle which shouldn't be in the repository; Added the basic view that was referenced in the database still; Added custom classes that now work to the CKEditor.

This commit is contained in:
2021-01-14 09:43:14 -08:00
parent 9b8760fd34
commit d16c76afb4
11 changed files with 80 additions and 84 deletions

View File

@@ -11,14 +11,17 @@ module.exports = {
'sup', 'sub', 'span'
],
allowedClasses: {
'p': ['highlighted'],
'div': ['highlighted']
'p': ['highlighted','apos-indent1', 'apos-indent2', 'bulletLevel2'],
'ul': ['bulletLevel2'],
'div': ['highlighted', "bulletLevel2"],
'*': ['highlighted', 'bulletLevel2', 'test', '*']
},
allowedAttributes: {
'*': ['style', 'class'],
p: ['class'],
ul: ['class', 'style'],
p: ['class', 'style'],
div: ['class', 'style'],
a: [ 'href', 'name', 'target' ],
a: [ 'href', 'name', 'target', 'class', 'style'],
// We don't currently allow img itself by default, but this
// would make sense if we did
img: [ 'src' ]