Browse Source

style: update tinymce editor

M1Screw 1 year ago
parent
commit
af468fbf7e

+ 5 - 8
resources/views/tabler/admin/announcement/create.tpl

@@ -68,14 +68,11 @@
             menubar: false,
             menubar: false,
             statusbar: false,
             statusbar: false,
             plugins:
             plugins:
-                'advlist autolink lists link image charmap preview anchor ' +
-                'searchreplace visualblocks code fullscreen ' +
-                'insertdatetime media table wordcount',
-            toolbar: 'undo redo | formatselect | ' +
-                'bold italic backcolor link | blocks | alignleft aligncenter ' +
-                'alignright alignjustify | bullist numlist outdent indent | ' +
-                'removeformat',
-            content_style: 'body { font-family: -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;font-size:   14px; -webkit-font-smoothing: antialiased; }',
+                'advlist autolink lists link image charmap preview anchor searchreplace visualblocks ' +
+                'code insertdatetime media table',
+            toolbar: 'undo redo | bold italic backcolor link | styles | fontsize | lineheight | alignleft aligncenter ' +
+                'alignright alignjustify | bullist numlist outdent indent | removeformat',
+            content_style: 'body { font-size: 14px; }',
             {if $user->is_dark_mode}
             {if $user->is_dark_mode}
             skin: 'oxide-dark',
             skin: 'oxide-dark',
             content_css: 'dark',
             content_css: 'dark',

+ 5 - 8
resources/views/tabler/admin/announcement/edit.tpl

@@ -47,14 +47,11 @@
             menubar: false,
             menubar: false,
             statusbar: false,
             statusbar: false,
             plugins:
             plugins:
-                'advlist autolink lists link image charmap preview anchor ' +
-                'searchreplace visualblocks code fullscreen ' +
-                'insertdatetime media table wordcount',
-            toolbar: 'undo redo | formatselect | ' +
-                'bold italic backcolor link | blocks | alignleft aligncenter ' +
-                'alignright alignjustify | bullist numlist outdent indent | ' +
-                'removeformat',
-            content_style: 'body { font-family: -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;   font-size:   14px; -webkit-font-smoothing: antialiased; }',
+                'advlist autolink lists link image charmap preview anchor searchreplace visualblocks ' +
+                'code insertdatetime media table',
+            toolbar: 'undo redo | bold italic backcolor link | styles | fontsize | lineheight | alignleft aligncenter ' +
+                'alignright alignjustify | bullist numlist outdent indent | removeformat',
+            content_style: 'body { font-size: 14px; }',
             {if $user->is_dark_mode}
             {if $user->is_dark_mode}
             skin: 'oxide-dark',
             skin: 'oxide-dark',
             content_css: 'dark',
             content_css: 'dark',

+ 5 - 10
resources/views/tabler/admin/docs/create.tpl

@@ -78,16 +78,11 @@
             menubar: false,
             menubar: false,
             statusbar: false,
             statusbar: false,
             plugins:
             plugins:
-                'advlist autolink lists link image charmap preview anchor ' +
-                'searchreplace visualblocks code fullscreen ' +
-                'insertdatetime media table wordcount',
-            toolbar: 'undo redo | formatselect | ' +
-                'bold italic backcolor link | blocks | alignleft aligncenter ' +
-                'alignright alignjustify | bullist numlist outdent indent | ' +
-                'image removeformat',
-            image_title: false,
-            image_description: false,
-            content_style: 'body { font-family: -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;font-size:   14px; -webkit-font-smoothing: antialiased; }',
+                'advlist autolink lists link image charmap preview anchor searchreplace visualblocks ' +
+                'code insertdatetime media table',
+            toolbar: 'undo redo | bold italic backcolor link | styles | fontsize | lineheight | alignleft aligncenter ' +
+                'alignright alignjustify | bullist numlist outdent indent | removeformat',
+            content_style: 'body { font-size: 14px; }',
             {if $user->is_dark_mode}
             {if $user->is_dark_mode}
             skin: 'oxide-dark',
             skin: 'oxide-dark',
             content_css: 'dark',
             content_css: 'dark',

+ 5 - 10
resources/views/tabler/admin/docs/edit.tpl

@@ -53,16 +53,11 @@
             menubar: false,
             menubar: false,
             statusbar: false,
             statusbar: false,
             plugins:
             plugins:
-                'advlist autolink lists link image charmap preview anchor ' +
-                'searchreplace visualblocks code fullscreen ' +
-                'insertdatetime media table wordcount',
-            toolbar: 'undo redo | formatselect | ' +
-                'bold italic backcolor link | blocks | alignleft aligncenter ' +
-                'alignright alignjustify | bullist numlist outdent indent | ' +
-                'image removeformat',
-            image_title: false,
-            image_description: false,
-            content_style: 'body { font-family: -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;   font-size:   14px; -webkit-font-smoothing: antialiased; }',
+                'advlist autolink lists link image charmap preview anchor searchreplace visualblocks ' +
+                'code insertdatetime media table',
+            toolbar: 'undo redo | bold italic backcolor link | styles | fontsize | lineheight | alignleft aligncenter ' +
+                'alignright alignjustify | bullist numlist outdent indent | removeformat',
+            content_style: 'body { font-size: 14px; }',
             {if $user->is_dark_mode}
             {if $user->is_dark_mode}
             skin: 'oxide-dark',
             skin: 'oxide-dark',
             content_css: 'dark',
             content_css: 'dark',