javascript - CkEditor 5: Toolbar not responsive - Stack Overflow

I'm trying to get the toolbar to be responsive, like the example on .0.0-with-horizontal-line-page

I'm trying to get the toolbar to be responsive, like the example on .0.0-with-horizontal-line-page-break-responsive-toolbar-and-SVG-upload-support/.

My CkEditor plugins are all version 19.0.0. I'm using a custom build, based on the classic editor.

But the result I get is

Can someone help please? The doc is telling this must should happen automatically.

Thanks!

I'm trying to get the toolbar to be responsive, like the example on https://ckeditor./blog/CKEditor-5-v15.0.0-with-horizontal-line-page-break-responsive-toolbar-and-SVG-upload-support/.

My CkEditor plugins are all version 19.0.0. I'm using a custom build, based on the classic editor.

But the result I get is

Can someone help please? The doc is telling this must should happen automatically.

Thanks!

Share Improve this question asked Jul 2, 2020 at 17:47 Helsh-jsHelsh-js 11110 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 8

set this "shouldNotGroupWhenFull" true and use '/' or '-' to make a line break and render items in multiple lines in toolbar

const config = {
    toolbar: {
        items: [ 'bold', 'italic', '|', 'undo', 'redo', '-', 'numberedList', 'bulletedList' ],
        shouldNotGroupWhenFull: true
    }
};

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745541274a4632139.html

相关推荐

  • javascript - CkEditor 5: Toolbar not responsive - Stack Overflow

    I'm trying to get the toolbar to be responsive, like the example on .0.0-with-horizontal-line-page

    3天前
    40

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信