When you edit a text area (rich text/header etc) in Hubspot page edit view you get the toolbar at the top with various formatting options - Style / Font / Size / Bold / Italic / Underline etc... is it possible to add a custom option to the 'Style' list?
I'd like to add some custom classes in my css that I can then allow the end user to select in that area. similar to 'Blockquote' I guess...
Add all the "html tags" as values to the select options. Naming is up to you
Forth:
Write the default code for the module
<> </>
Fifth: Insert the value of the select widget into the brackets(it will highlight as error but it's no error). E.g if you name the select widget "custom_html_attribute" the code should look like this:
Add all the "html tags" as values to the select options. Naming is up to you
Forth:
Write the default code for the module
<> </>
Fifth: Insert the value of the select widget into the brackets(it will highlight as error but it's no error). E.g if you name the select widget "custom_html_attribute" the code should look like this: