diff --git a/resources/assets/javascripts/chunks/wysiwyg.js b/resources/assets/javascripts/chunks/wysiwyg.js index 5ab81d60bf51278988f7d9fd73bb6c88b48bd543..ade573193055e38d4ad064bed48ed58b28eefa7f 100644 --- a/resources/assets/javascripts/chunks/wysiwyg.js +++ b/resources/assets/javascripts/chunks/wysiwyg.js @@ -241,8 +241,6 @@ ClassicEditor.defaultConfig = { math: { engine: 'mathjax', outputType: 'span', - forceOutputType: false, - enablePreview: false, }, link: { defaultProtocol: 'https://', diff --git a/resources/assets/stylesheets/scss/studip-cke-ui.scss b/resources/assets/stylesheets/scss/studip-cke-ui.scss index c7db08a7bf25a6b15ff352f6a21c4a24f8aee765..a6cd72b68e933f85163f5e39eb4e15667850353d 100644 --- a/resources/assets/stylesheets/scss/studip-cke-ui.scss +++ b/resources/assets/stylesheets/scss/studip-cke-ui.scss @@ -1,12 +1,6 @@ @use '../mixins.scss' as *; :root { - - /* --dark-gray-color-5: #f5f5f6; - --content-color-40: #d0d7e3; - --red: #d60000; - --green: #6ead10; */ - --ck-color-base-foreground: var(--dark-gray-color-5); --ck-color-base-background: var(--white); --ck-color-base-border: var(--content-color-40); @@ -64,6 +58,8 @@ --ck-tooltip-arrow-size: 8px; --ck-color-tooltip-background: var(--dark-gray-color-5); + /* z-index */ + --ck-z-modal: 1003; } .ck.ck-editor { @@ -300,11 +296,6 @@ a.ck.ck-button.ck-button_with-text.ck-dropdown__button:not(.ck-disabled):hover { min-width: 50px; } -/* tool balloons*/ -.ck.ck-balloon-panel.ck-balloon-panel_visible { - z-index: 1003; -} - /* table inserter */ .ck .ck-insert-table-dropdown-grid-box.ck-on { background: var(--base-color-20); @@ -313,10 +304,6 @@ a.ck.ck-button.ck-button_with-text.ck-dropdown__button:not(.ck-disabled):hover { /* tooltips */ -.ck.ck-tooltip.ck-tooltip_s { - -} - .ck.ck-tooltip .ck-tooltip__text { border: 1px solid var(--dark-gray-color-30); box-shadow: inset 0 1px 0 hsla(0,0%,100%,.5);