Showing
3 changed files
with
13 additions
and
3 deletions
| ... | @@ -14,14 +14,14 @@ module.exports = { | ... | @@ -14,14 +14,14 @@ module.exports = { |
| 14 | extended_valid_elements: 'pre[*]', | 14 | extended_valid_elements: 'pre[*]', |
| 15 | automatic_uploads: false, | 15 | automatic_uploads: false, |
| 16 | valid_children: "-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]", | 16 | valid_children: "-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]", |
| 17 | - plugins: "image table textcolor paste link imagetools fullscreen code hr", | 17 | + plugins: "image table textcolor paste link fullscreen imagetools code hr", |
| 18 | + imagetools_toolbar: 'imageoptions', | ||
| 18 | toolbar: "undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen", | 19 | toolbar: "undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen", |
| 19 | content_style: "body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}", | 20 | content_style: "body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}", |
| 20 | style_formats: [ | 21 | style_formats: [ |
| 21 | {title: "Header 1", format: "h1"}, | 22 | {title: "Header 1", format: "h1"}, |
| 22 | {title: "Header 2", format: "h2"}, | 23 | {title: "Header 2", format: "h2"}, |
| 23 | {title: "Header 3", format: "h3"}, | 24 | {title: "Header 3", format: "h3"}, |
| 24 | - {title: "Header 4", format: "h4"}, | ||
| 25 | {title: "Paragraph", format: "p"}, | 25 | {title: "Paragraph", format: "p"}, |
| 26 | {title: "Blockquote", format: "blockquote"}, | 26 | {title: "Blockquote", format: "blockquote"}, |
| 27 | {title: "Code Block", icon: "code", format: "pre"}, | 27 | {title: "Code Block", icon: "code", format: "pre"}, | ... | ... |
| ... | @@ -17,6 +17,7 @@ | ... | @@ -17,6 +17,7 @@ |
| 17 | 17 | ||
| 18 | .page-content { | 18 | .page-content { |
| 19 | max-width: 840px; | 19 | max-width: 840px; |
| 20 | + overflow-wrap: break-word; | ||
| 20 | .align-left { | 21 | .align-left { |
| 21 | float: left !important; | 22 | float: left !important; |
| 22 | text-align: left; | 23 | text-align: left; |
| ... | @@ -37,6 +38,10 @@ | ... | @@ -37,6 +38,10 @@ |
| 37 | h1, h2, h3, h4, h5, h6 { | 38 | h1, h2, h3, h4, h5, h6 { |
| 38 | clear: both; | 39 | clear: both; |
| 39 | } | 40 | } |
| 41 | + hr { | ||
| 42 | + clear: both; | ||
| 43 | + margin: $-m 0; | ||
| 44 | + } | ||
| 40 | } | 45 | } |
| 41 | 46 | ||
| 42 | // Page content pointers | 47 | // Page content pointers | ... | ... |
| ... | @@ -30,7 +30,12 @@ | ... | @@ -30,7 +30,12 @@ |
| 30 | background-color: #FFF; | 30 | background-color: #FFF; |
| 31 | } | 31 | } |
| 32 | } | 32 | } |
| 33 | -.mce-tinymce.mce-container.mce-panel { | 33 | + |
| 34 | +.mce-container-body.mce-flow-layout { | ||
| 35 | + text-align: center; | ||
| 36 | +} | ||
| 37 | + | ||
| 38 | +.edit-area.flex > .mce-tinymce.mce-container.mce-panel { | ||
| 34 | height: 100%; | 39 | height: 100%; |
| 35 | max-height: 100%; | 40 | max-height: 100%; |
| 36 | flex: 1; | 41 | flex: 1; | ... | ... |
-
Please register or sign in to post a comment