-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Adding blocks to Toggle only works for first Toggle #223
Comments
@MrDigii Thanks a lot for reporting the issue. We have been trying to reproduce the issue but with no success, Could you please provide more context or share a code sandbox with the error? When I try to add several toggle blocks with the given dependencies versions: |
@MarioRodriguezS Thank you for your fast response and effort. I made a simple CodeSandbox to demonstrate the setup: To show the problem I also made a GIF: Thank's for your help :) |
You have to press the 'Tab' button on blocks that want to move inside a toggle container. |
I my tests the 'Tab' button functionality is not reliable. Sometimes the block automatically belongs to the toggle sometimes not. Also the different block types can interfere because they also use the same keybinding to display their own settings. So it's not very intuitive to use in my opinion. But maybe I missed something? |
@MrDigii, thank you for reporting this. As you showed, currently, the toggle block plugin encounters limitations in handling List support effectively. We'll keep you informed of any developments on this matter. |
I tested it in my application and it looks good now. Thanks for your effort @miguelnietoa and team :) |
Description
If I add a Toggle block I can add multiple following blocks to the toggle as desired. If I add another Toggle block I only can add on block to it. All others are not recognized as a part of the Toggle block.
Environment
Editor.js version: 2.28.0
Plugins you use with their versions:
Device, Browser, OS: MacBook Pro M2, Chrome, Mac OS
Current behavior
If I add a Toggle block I can add multiple following blocks to the toggle as desired. If I add another Toggle block I only can add on block to it. All others are not recognized as a part of the Toggle block.
Expected behavior
No matter how many toggles are used, blocks can always be assigned to them.
Additional context
editorjs-toggle-block version 0.3.14
The text was updated successfully, but these errors were encountered: