Skip to content

Commit

Permalink
ref: wysiwyg scss
Browse files Browse the repository at this point in the history
  • Loading branch information
theus77 committed Jan 17, 2024
1 parent 14c6a99 commit d1f0932
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
28 changes: 28 additions & 0 deletions EMS/admin-ui-bundle/assets/css/core/plugins/wysiwyg.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
@import "@fortawesome/fontawesome-free/scss/functions";
@import "@fortawesome/fontawesome-free/scss/variables";

// Specific to dialog popup
.cke_dialog {
.select2-container {
z-index:10020;
position:relative !important;

.select2-selection--single .select2-selection__rendered .fa {
font-family: $fa-style-family !important;
}
}

div.cke_dialog_ui_input_select {
display: block;
}
}

// More generic change, because dialog z-index is higher than select2 dropdown.
.select2-dropdown {
z-index: 10051 !important;
position: absolute !important;
}

.cke_combopanel {
width:350px !important;
}
1 change: 1 addition & 0 deletions EMS/admin-ui-bundle/assets/js/core/plugins/wysiwyg.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { Heading } from '@ckeditor/ckeditor5-heading'
import { Link } from '@ckeditor/ckeditor5-link'
import { List } from '@ckeditor/ckeditor5-list'
import { Paragraph } from '@ckeditor/ckeditor5-paragraph'
import '../../../css/core/plugins/wysiwyg.scss'

class WYSIWYG {
load (target) {
Expand Down

0 comments on commit d1f0932

Please sign in to comment.