How to Use H2, and H3 Header Tags with Action Text?
You have to add them yourself in the src/actiontext.js
Here's how I did. I removed the h1 because I didn't need it on this occasion
Here's how I did. I removed the h1 because I didn't need it on this occasion
Trix.config.blockAttributes.heading = {
tagName: "h2",
terminal: true,
breakOnReturn: true,
group: false
}
Trix.config.blockAttributes.subHeading = {
tagName: "h3",
terminal: true,
breakOnReturn: true,
group: false
}Notifications
You’re not receiving notifications from this thread.