Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi line toolbar items #6375

Closed
memic84 opened this issue Mar 4, 2020 · 2 comments
Closed

Multi line toolbar items #6375

memic84 opened this issue Mar 4, 2020 · 2 comments
Labels
resolution:duplicate This issue is a duplicate of another issue and was merged into it. type:question This issue asks a question (how to...).

Comments

@memic84
Copy link

memic84 commented Mar 4, 2020

📃 Description

We are working on a migration to ckeditor5, and are struggling with the toolbar items on multiple lines.

The problem is that we have a lot of functionalities from CKEditor and also some community or custom plugins in our toolbar. We have a lot of content that is on fixed width between 400px and 500px.

✔️ Expected result

Current situation in CKEDITOR 4
image

❌ Actual result

New situation in CKEDITOR 5
image

📃 Other details

As i understood in other tickets, is that multi-line toolbar items are seen as an anti-pattern in CKEditor5, however single line for a lot of items where the content is smaller has some UI problems.

  1. Is there a way to force multi-lines in CK5?
  2. If not, can we force the responsive menu on desktop to a fixed width for the toolbar?
  3. Any other solutions are also welcome.
@memic84 memic84 added the type:bug This issue reports a buggy (incorrect) behavior. label Mar 4, 2020
@FilipTokarski
Copy link
Member

FilipTokarski commented Mar 4, 2020

Hi, thanks for the report. As it comes to responsive toolbar, it is already available in Classic and Decoupled editor builds. We are now working on enabling it in other builds too. Actually, those changes have already been done and will be available in the next release ( in about two weeks time ).

Regarding your first question about multi-line toolbar, we have an open feature request for it. However, it's possible to achieve it right now, you can check a workaround here.

@FilipTokarski FilipTokarski added type:question This issue asks a question (how to...). and removed type:bug This issue reports a buggy (incorrect) behavior. labels Mar 4, 2020
@FilipTokarski FilipTokarski added the resolution:duplicate This issue is a duplicate of another issue and was merged into it. label Mar 4, 2020
@memic84
Copy link
Author

memic84 commented Mar 4, 2020

@FilipTokarski Thanks for the quick reply! This will work :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution:duplicate This issue is a duplicate of another issue and was merged into it. type:question This issue asks a question (how to...).
Projects
None yet
Development

No branches or pull requests

2 participants