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:
23
app.js
23
app.js
@@ -1,6 +1,6 @@
|
||||
var path = require('path');
|
||||
let path = require('path');
|
||||
|
||||
var apos = require('apostrophe')({
|
||||
let apos = require('apostrophe')({
|
||||
// Export for apostrophe-monitor which manages restarting the apostrophe system (not the whole nodeJS process) when changes are made.
|
||||
// See https://github.com/apostrophecms/apostrophe-monitor
|
||||
root: module,
|
||||
@@ -39,14 +39,17 @@ var apos = require('apostrophe')({
|
||||
'apostrophe-db': {
|
||||
uri: process.env.MONGO_URL
|
||||
},
|
||||
sanitizeHtml: {
|
||||
allowedAttributes: {
|
||||
'p': ['apos-indent1', 'apos-indent2']
|
||||
},
|
||||
allowedClasses: {
|
||||
'p': ['apos-indent1', 'apos-indent2']
|
||||
}
|
||||
}
|
||||
// 'apostrophe-rich-text-widgets': {
|
||||
// sanitizeHtml: {
|
||||
// allowedAttributes: {
|
||||
// 'p': ['apos-indent1', 'apos-indent2']
|
||||
// },
|
||||
// allowedClasses: {
|
||||
// 'p': ['apos-indent1', 'apos-indent2'],
|
||||
// 'p': ['testClass']
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// Was having some issues with overlaying menus.
|
||||
//'apostrophe-tiptap-rich-text-widgets': {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user