Hi,
I have a container block, and I added my own CSS class to the CSS Classes of the block. If I enter my class name and hit Enter, it seems to create a term in a taxonomy. Is there documentation about this? Where can I manage that taxonomy, to delete or rename classes?
Thanks,
Arno
Hi Arno,
Thank you for contacting us and I'd be happy to assist.
The interface to add the custom CSS class name is similar to the one for adding a taxonomy/tag term, but it doesn't actually add one.
It is implemented this way so that it is easier to manage multiple class names and reuse them for other blocks/pages. There is no separate page/section available to manage those custom class names in one place.
regards,
Waqar
Hi Waqar,
The way you describe it is the way I expected it to work. But if I go into WordPress hours after entering a random CSS class, that class pops up if I start typing. Please see attached. It does store this somewhere apparently.
Kind regards,
Arno
Thanks for writing back and your observation is correct.
The custom class names are stored in the serialized form in the "{table_prefix}_options", under the option name "toolset_blocks_settings".
Hi Waqar,
Ok, I understand. In that case I think a feature request makes sense, in order to allow at least removal of class names. Right now, it stores all typos and old classes we may no longer need. And they keep coming up as suggestions when typing in the box.
Yes, it makes sense, and the feature to manage those custom class names can be useful.
You're welcome to submit a feature request for this at:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
Thank you! I submitted a feature request.