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

v4.3.0 - Separators not working as expected #4837

Open
luchothoma-zingtree opened this issue Nov 4, 2024 · 0 comments
Open

v4.3.0 - Separators not working as expected #4837

luchothoma-zingtree opened this issue Nov 4, 2024 · 0 comments

Comments

@luchothoma-zingtree
Copy link

Same issue still persist from the one reported earlier on #4534
The organization for which I work for and why I am reporting this is a paid/licensed customer of Froala.


Expected behavior.

Separators should be present always as users define them.

Actual behavior.

The Froala documentation I found says nothing about this situation, though there is a note that says separators in Options.toolbarButtons just should work.

Froala does not appear to be respecting the '|' divider item over the buttonsVisibles amount.

Steps to reproduce the problem.

1 - Here it is the code to show that the divider items are shown correctly when the buttonsVisible: N limit is not reached.
1.1 - buttonsVisibles: 99 and less toolbar items than that (all works as expected)

2 - Here is how Froala ignores divider items in place for all occurrences after this limit value is reached.
2.1 - buttonsVisibles: 8 and more toolbar items than that with separators too after that position (not working as expected, not showing separators)

Editor version.

v4.0.15

OS.

Windows 10

Browser.

Google Chrome - Versión 106.0.5249.119 (Build oficial) (64 bits)

Recording.
Edit-fiddle---JSFiddle---Code-Playground.webm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant