Changed L&F For the editor to use AVUSD logo and colors; Added a 1:2 and 2:1 split column widget (would like to make this all one configurable widget though).

This commit is contained in:
2021-01-16 10:09:20 -08:00
parent d16c76afb4
commit db2a612e2a
15 changed files with 4146 additions and 8 deletions

15
app.js
View File

@@ -13,6 +13,8 @@ let apos = require('apostrophe')({
modules: {
'two-column-widgets': {extend: 'apostrophe-widgets'},
'two-column-1-2-widgets': {},
'two-column-2-1-widgets': {},
// Apostrophe module configuration
@@ -39,6 +41,15 @@ let apos = require('apostrophe')({
'apostrophe-db': {
uri: process.env.MONGO_URL
},
'apostrophe-rich-text-permalinks': {
join: {
withType: ["apostrophe-page", "apostrophe-file"]
}
},
//Note: Rich Text Widgets configuration is being done in the /lib/modules/apostrophe-rich-text-widgets/index.js
//
// 'apostrophe-rich-text-widgets': {
// sanitizeHtml: {
// allowedAttributes: {
@@ -50,7 +61,9 @@ let apos = require('apostrophe')({
// }
// }
// }
// Was having some issues with overlaying menus.
// Was having some issues with the menus hovering over the text the user was editing. Is less functional but better looking.
//'apostrophe-tiptap-rich-text-widgets': {}
}
});