Added an Alert text style; Updated rich text editor to reorganize buttons and add text alignment options.
This commit is contained in:
@@ -3,17 +3,18 @@
|
||||
<div class="col-lg-8">
|
||||
{{ apos.area(data.widget, "areaLeft", {
|
||||
widgets: {
|
||||
'apostrophe-images': {size: 'one-half'},
|
||||
'apostrophe-images': {size: 'original'},
|
||||
'apostrophe-rich-text': {
|
||||
toolbar: ['Styles', 'Bold', 'Italic', 'Link', 'Unlink', 'Anchor', 'Table', 'BulletedList', 'Blockquote', 'Strike', 'Subscript', 'Superscript', 'Split'],
|
||||
toolbar: ['Styles', 'Bold', 'Italic', 'Strike', 'Subscript', 'Superscript', 'Split', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', '-', 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', '-', 'Link', 'Unlink', 'Anchor', 'Table'],
|
||||
styles: [
|
||||
{name: 'Paragraph', element: 'p'},
|
||||
{name: 'Paragraph', element: 'p', attributes: {class: "p"} },
|
||||
{name: 'Topic Paragraph', element: 'p', attributes: {class: "indent"} },
|
||||
{name: 'Heading 2', element: 'h2'},
|
||||
{name: 'Heading 3', element: 'h3'},
|
||||
{name: 'Heading 4', element: 'h4'},
|
||||
{name: 'Heading 5', element: 'h5'},
|
||||
{name: 'highlighted', element: 'div', attributes: {class: "highlighted"} }
|
||||
{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: 'Date', element: 'div', attributes: {class: "date"} },
|
||||
{name: 'Highlighted', element: 'div', attributes: {class: "highlighted"} },
|
||||
{name: 'Alert', element: 'div', attributes: {class: "alert"} }
|
||||
]
|
||||
},
|
||||
'apostrophe-files': {}
|
||||
@@ -23,17 +24,18 @@
|
||||
<div class="col-lg-4">
|
||||
{{ apos.area(data.widget, "areaRight", {
|
||||
widgets: {
|
||||
'apostrophe-images': {size: 'full'},
|
||||
'apostrophe-images': {size: 'one-half'},
|
||||
'apostrophe-rich-text': {
|
||||
toolbar: ['Styles', 'Bold', 'Italic', 'Link', 'Unlink', 'Anchor', 'Table', 'BulletedList', 'Blockquote', 'Strike', 'Subscript', 'Superscript', 'Split'],
|
||||
toolbar: ['Styles', 'Bold', 'Italic', 'Strike', 'Subscript', 'Superscript', 'Split', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', '-', 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', '-', 'Link', 'Unlink', 'Anchor', 'Table'],
|
||||
styles: [
|
||||
{name: 'Paragraph', element: 'p'},
|
||||
{name: 'Paragraph', element: 'p', attributes: {class: "p"} },
|
||||
{name: 'Topic Paragraph', element: 'p', attributes: {class: "indent"} },
|
||||
{name: 'Heading 2', element: 'h2'},
|
||||
{name: 'Heading 3', element: 'h3'},
|
||||
{name: 'Heading 4', element: 'h4'},
|
||||
{name: 'Heading 5', element: 'h5'},
|
||||
{name: 'highlighted', element: 'div', attributes: {class: "highlighted"} }
|
||||
{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: 'Date', element: 'div', attributes: {class: "date"} },
|
||||
{name: 'Highlighted', element: 'div', attributes: {class: "highlighted"} },
|
||||
{name: 'Alert', element: 'div', attributes: {class: "alert"} }
|
||||
]
|
||||
},
|
||||
'apostrophe-files': {}
|
||||
|
||||
Reference in New Issue
Block a user