-
Is it possible to add additional classes to elements in the editor? I'm not talking about components in the canvas. I want to restrict what editing features certain classes of users can adjust. For example, I don't want beginner users to worry about box-shadows but more experienced users can explore that editing option. So I want to add a class of say "advanced-user" to the box-shadow property so I can create a script that toggle the "advanced-user" class's display so its hidden for user deemed basic but visible for users we've deemed more advanced |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think it would be easier to handle this manually with JS (eg. on toggle, swap "*-user-mode" classes) and a bit of CSS, eg. .standard-user-mode .gjs-sm-property__box-shadow {
display: none;
} |
Beta Was this translation helpful? Give feedback.
I think it would be easier to handle this manually with JS (eg. on toggle, swap "*-user-mode" classes) and a bit of CSS, eg.