admin管理员组文章数量:1429514
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 badges1 Answer
Reset to default 8set 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
}
};
本文标签: javascriptCkEditor 5 Toolbar not responsiveStack Overflow
版权声明:本文标题:javascript - CkEditor 5: Toolbar not responsive - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745541274a2662505.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论