I'd love to see how you'd go about adding table functionality to Trix. It's something that many people have been looking for without success over the past few years (https://github.com/basecamp/trix/issues/539).
I've tried looking at it myself (the Trix homepage at Github is useful), but my JavaScript skills aren't all they should be!
I think my main issue with tables on WYSIWYG editors is that they are easy to create but become very difficult to manage. For example, you create a 2x3 table, but later want to add an additional column.
This is great, thank you! I have been looking into how to do this. I've found it easy to add alignment and sizing. However, is there a flag to make Trix auto remove a previously set value. For example, when I choose another color, they are both selected. I imagine it's a simple flag I'm missing? Perhaps in the Trix.config.textAttributes setup? Essentially, looking for a replace method rather than adding the value to the style attribute.
This is a great tutorial: thank you!
I'd love to see how you'd go about adding table functionality to Trix. It's something that many people have been looking for without success over the past few years (https://github.com/basecamp/trix/issues/539).
I've tried looking at it myself (the Trix homepage at Github is useful), but my JavaScript skills aren't all they should be!
T
How would you go about removing the default heading option, that comes with Trix?
Thanks!