Jump to content

Textarea WYSIWYG Heading Button - change from H1 to H3


Peter Ward

Recommended Posts

The heading button in the textarea WYSIWYG editor (trix) adds H1 tags. You can change this to H3 tags instead using a single line of javascript!

Trix.config.blockAttributes.heading1.tagName = "h3";

I added this to a custom overide of listings/create.thtml

Link to comment
  • 3 months later...
×
×
  • Create New...