mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[FIX] web_widget_ckeditor: toolbar wrapping
The toolbar should automatically wrap when there's not enough space. Closes #2114
This commit is contained in:
@@ -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: [
|
||||||
|
|||||||
Reference in New Issue
Block a user