mirror of https://github.com/OCA/web.git
[FIX] web_widget_ckeditor: toolbar wrapping
The toolbar should automatically wrap when there's not enough space. Closes #2114pull/2132/head
parent
989677548a
commit
c32317e85b
|
@ -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: [
|
||||||
|
|
Loading…
Reference in New Issue