trix
trix copied to clipboard
How to change H1 Heading to H3
Hi, and thanks for your excellent work;
I wanna change heading from H1 to H3. How this can be done? Thanks
Details
- Trix version: 1.3.1
- Browser name and version: FF 87
- Operating system: Ubuntu 20
It seems that this feature does not exist, it would be nice if you could add it to maintain a gerarchy in the Basecamp scripts. All the headings are of the same level and do not allow to create content minimally more complex. Thank you!
You can change heading tag like this:
Trix.config.blockAttributes.heading1.tagName = "h3"