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/2373/head
parent
a4ed132291
commit
162d853ada
|
@ -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