mirror of
https://github.com/Theodor-Springmann-Stiftung/musenalm.git
synced 2026-02-04 10:35:30 +00:00
More pad on the page edit box, +added styles
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -73,12 +73,14 @@
|
|||||||
license_key: "gpl",
|
license_key: "gpl",
|
||||||
menubar: false,
|
menubar: false,
|
||||||
branding: false,
|
branding: false,
|
||||||
plugins: "advlist lists link code autoresize",
|
plugins: "advlist lists link table code autoresize",
|
||||||
toolbar: "undo redo | blocks | bold italic | bullist numlist | outdent indent | link | code removeformat",
|
toolbar: "undo redo | blocks | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist | outdent indent | link table | code removeformat",
|
||||||
block_formats: "Absatz=p;Überschrift 2=h2;Überschrift 3=h3;Zitat=blockquote;Vorformatiert=pre",
|
block_formats: "Absatz=p;Überschrift 2=h2;Überschrift 3=h3;Zitat=blockquote;Vorformatiert=pre",
|
||||||
forced_root_block: "p",
|
forced_root_block: "p",
|
||||||
autoresize_bottom_margin: 16,
|
autoresize_bottom_margin: 16,
|
||||||
content_style: "body { font-family: inherit; font-size: 1rem; } p { margin: 0 0 0.75rem; }",
|
content_css: "/assets/style.css",
|
||||||
|
body_class: "text",
|
||||||
|
content_style: "html, body { outline: none !important; box-shadow: none !important; } body, body.text { padding: 0 0 0 1.5rem !important; font-size: 1rem; } .mce-content-body { outline: none !important; }",
|
||||||
init_instance_callback: function (editor) {
|
init_instance_callback: function (editor) {
|
||||||
if (editor && editor.targetElm) {
|
if (editor && editor.targetElm) {
|
||||||
editor.targetElm.style.visibility = "";
|
editor.targetElm.style.visibility = "";
|
||||||
|
|||||||
@@ -348,6 +348,26 @@
|
|||||||
@apply focus:border-gray-500 focus:ring-1 focus:ring-gray-400;
|
@apply focus:border-gray-500 focus:ring-1 focus:ring-gray-400;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tox-tinymce:focus-within,
|
||||||
|
.tox-tinymce--focus {
|
||||||
|
@apply outline-none ring-0;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tox-tinymce:focus-within .tox-edit-area,
|
||||||
|
.tox-tinymce:focus-within .tox-edit-area__iframe,
|
||||||
|
.tox-tinymce .tox-edit-area__iframe:focus,
|
||||||
|
.tox-tinymce .tox-edit-area__iframe:focus-visible {
|
||||||
|
outline: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tox.tox-edit-focus .tox-edit-area::before,
|
||||||
|
.tox .tox-edit-area::before {
|
||||||
|
border: 0 !important;
|
||||||
|
opacity: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
.msr-staged-cancel-btn {
|
.msr-staged-cancel-btn {
|
||||||
@apply w-5 h-5 bg-gray-200 text-gray-600 rounded-full text-sm leading-none cursor-pointer;
|
@apply w-5 h-5 bg-gray-200 text-gray-600 rounded-full text-sm leading-none cursor-pointer;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user