which would then appear as <div class="bubble-element FloatingGroup floating-group custom-class"...>
Right now I have to place everything that takes a custom CSS class inside HTML blocks, but it would be beneficial to reference a parent class of a group to have more control over custom styling.
While you wait for the idea to be implemented in an amazing way … a hacky workaround could be to add it to the floating-groups using JQuery in a HTML element.
You may find that the HTML element needs positioning lower than the floating groups, or make its script wait for page load, to find the Bubble elements.
I have attempted the hacky workaround you mention, but am having difficult referencing the correct DOM elements. I haven’t actually tried a 100% JS/jQuery solution but rather a mix of JS and CSS (using nth-child selectors). Will post back here if I find a decent workaround. One idea I just had is to place a tiny HTML block at the top of a Group, insert a blank div with an ID and then reference the parent Group with JS based on this HTML block’s ID and climbing the DOM upwards until it finds “bubble-element FloatingGroup”…etc. Is this kind of what you meant @mishav?
I had tried using nth-child selectors but the layers/Groups in Bubble were not staying in the same order (they were randomly changing around based on new groups I was building). I got further by using the .addClass jQuery function: