Added an Alert text style; Updated rich text editor to reorganize buttons and add text alignment options.

This commit is contained in:
2021-03-16 14:36:03 -07:00
parent 33cabd0a55
commit bf9d000994
31 changed files with 468 additions and 361 deletions

View File

@@ -1,4 +1,9 @@
module.exports = {
projection: {
title: 1,
_url: 1,
attachment: 1
},
//sanitizeHtml: {
// allowedTags: [],
// allowedAttributes: {},
@@ -13,7 +18,7 @@ module.exports = {
allowedClasses: {
'p': ['highlighted', 'indent', 'bulletLevel2','apos-indent1', 'apos-indent2'],
'ul': ['bulletLevel2','apos-indent1', 'apos-indent2'],
'div': ['highlighted', "bulletLevel2",'apos-indent1', 'apos-indent2'],
'div': ['highlighted', "bulletLevel2",'apos-indent1', 'apos-indent2', 'date'],
'*': ['highlighted', 'bulletLevel2', 'test', '*','apos-indent1', 'apos-indent2']
},
allowedAttributes: {