Skip to content

Commit

Permalink
ckeditor is now inicialized after click (#2177)
Browse files Browse the repository at this point in the history
  • Loading branch information
s3tezsky authored Feb 16, 2021
2 parents 87d6200 + f3affce commit c5a32cf
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 1 deletion.
40 changes: 39 additions & 1 deletion assets/styles/frontend/common/wysiwyg.less
Original file line number Diff line number Diff line change
@@ -1,19 +1,57 @@
// Core
@import "core/variables.less";
@import "core/mixin/base.less";

@import "core/reset.less";
@import "core/base.less";
@import "core/typography.less";

//// Forms
@import "core/form/input.less";
@import "core/form/btn.less";

// Components
//// in
@import "components/in/user-text.less";

// pregenerated helpers at the end
@import "helpers.less";

@wysiwyg-ul-point-size: 6px;

// Padding to wysiwyg window
body {
padding: 20px;
}

.cke_editable {
ul {
.reset-ul();
margin-bottom: @margin-gap;

li {
position: relative;
padding-left: 15px;
line-height: 18px;
margin-bottom: 5px;

&:after {
position: absolute;
content: '';
top: @wysiwyg-ul-point-size;
left: 0;
width: @wysiwyg-ul-point-size;
height: @wysiwyg-ul-point-size;

background: @color-green;
}
}

ul {
margin: 5px 0 0 15px;
}
}

img {
height: auto !important;
}
}
1 change: 1 addition & 0 deletions config/packages/fos_ck_editor.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
fos_ck_editor:
default_config: default
autoload: false
configs:
default:
entities_greek: false
Expand Down

0 comments on commit c5a32cf

Please sign in to comment.