Hi @jhmonroe
I did not get this issue from my side. Can you please update to v1.0.8 and check again? If same problem still there, maybe you can record a small video and show that will help me to understand better and I will resolved it.
Thanks
Noruzzaman
Here you can see the CSS issue in action. The default color you use is #ededed. I select all items and change it to solid red. i view the page on frontend and there is not red on any of the flexi items except the last one. you can see in CSS at the end of video
https://www.dropbox.com/scl/fi/rocptn8wdk2ya53ytmx9b/gslider-css-issue.mov?rlkey=nnhw6in9joqj1sv24lu8wnwjh&dl=0
Hi @jhmonroe
Thanks a lot for sharing the video that was really helpful in understanding the issue. The reason this happens with multi-select styling is due to the way my current CSS is being loaded. If I rendered all styles as inline CSS, the multi-select updates would apply instantly, but I have avoided that approach because it injects CSS directly into the DOM, which I personally feel is not a good long-term practice.
With the current implementation, when you update styles on multiple items at once, the changes only apply to the last selected item on the frontend. However, if you reload the editor page and save again, the issue resolves correctly.
Also, the default background color you mentioned (#ededed) is not actually causing this it does not affect the multi-select behavior. From my quick research, I noticed that many major Gutenberg plugins (like Spectra) simply disable style updates when multiple blocks are selected, probably because of similar conflicts.
That said, I am actively looking into possible ways to improve this behavior in my blocks. For now, the best workaround is to reload and save after applying multi-select styles.
And again thanks a lot for taking the time to record and share the video. It really helps me track down these edge cases faster.
Best,
Noruzzaman
Hey!
CAN CONFIRM that your workaround works. Save, reload editor page, save again. refresh frontend and the bulk edits to the flexi items finally show! So happy there is a simple solution.
Thank you for such a thoughtful explanation and I’m glad this use case was helpful.
This explanation totally makes sense — while I am only using Core WordPress (with the block editor and not the extra gutenberg plugin, just what’s in core), I have seen other odd buggy things related to the block editor and also with how many places css loads from (core, core blocks, parent theme, child theme, plugin css, database css of user overrides, etc!). I’ve been adding tickets in gutenberg github when I find odd bugs so hopefully they will slowly go away over time as the block editor improves and as the team starts to streamline how and when css is compiled.
You can see it working beautifully here (2 blocks above footer): https://monroeand.co/
🙂
-
This reply was modified 3 months, 2 weeks ago by
James Monroe.
Hi @jhmonroe
Great to hear the workaround solved it and the site looks great on my side too. I will build more essential blocks for the plugin next. If you have any suggestions for new blocks, please let me know. Your feedback will help me make it even better. Thanks again.
Best
Noruzzaman
-
This reply was modified 3 months, 2 weeks ago by
Noruzzaman.
The plugin is REALLY good! As a container that can contain any other WordPress blocks, the most important thing is that it has the best controls to adjust its appearance, sizing, and responsiveness. If you really nail all the controls you’ll have the best gutenberg slider block there is
Hi @jhmonroe
Thank you so much for the kind words and encouragement. Really glad you are enjoying the plugin. I will keep working on improving the controls and responsiveness so it can be the best Gutenberg slider block possible.
Best
Noruzzaman