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

@@ -8,12 +8,13 @@
'apostrophe-rich-text': {
toolbar: ['Styles', 'Bold', 'Italic', 'Link', 'Unlink', 'Indent', 'Outdent', 'Anchor', 'Table', 'BulletedList', 'Blockquote', 'Strike', 'Subscript', 'Superscript', 'Split'],
styles: [
{name: 'Paragraph', element: 'p'},
{name: 'highlighted', element: 'p', attributes: [{'class': 'highlighted'}]},
{name: 'Heading 2', element: 'h2'},
{name: 'Heading 3', element: 'h3'},
{name: 'Heading 4', element: 'h4'},
{name: 'Heading 5', element: 'h5'}
{name: 'Paragraph', element: 'p', attributes: {class: "p"} },
{name: 'Heading 2', element: 'h2', attributes: {class: "h2"} },
{name: 'Heading 3', element: 'h3', attributes: {class: "h3"} },
{name: 'Heading 4', element: 'h4', attributes: {class: "h4"} },
{name: 'Heading 5', element: 'h5', attributes: {class: "h5"} },
{name: 'highlighted', element: 'div', attributes: {class: "highlighted"} },
{name: 'bullet2', element: 'div', attributes: {class: "bulletLevel2"} }
]
},
'apostrophe-files': {},