Merge PR #2132 into 14.0

Signed-off-by ivantodorovich
pull/2138/head
OCA-git-bot 2022-01-25 20:46:37 +00:00
commit 9d64b466c6
2 changed files with 14 additions and 1 deletions

View File

@ -195,7 +195,10 @@ odoo.define("web_widget_ckeditor.field_ckeditor", function (require) {
*/ */
_getCKEditorConfig: async function () { _getCKEditorConfig: async function () {
const res = { const res = {
toolbar: {items: await this._getCKEditorToolbarItems()}, toolbar: {
items: await this._getCKEditorToolbarItems(),
shouldNotGroupWhenFull: true,
},
language: CKEditorLanguageCode, language: CKEditorLanguageCode,
image: { image: {
toolbar: [ toolbar: [

View File

@ -9,5 +9,15 @@
.ck-editor__editable { .ck-editor__editable {
min-height: 330px; min-height: 330px;
} }
.ck-toolbar {
.ck-button {
font-size: 0.9rem;
.ck-icon {
will-change: auto;
}
}
}
} }
} }