Bootstrap table in Concrete5.7

Permalink
Hey Concrete5 members,

I want that the WYSIWYG editor adds two classes automatically to the table creator.
How can I do this? :)

nesoor
 
MrKDilkington replied on at Permalink Best Answer Reply
MrKDilkington
Hi nesoor,

This would require creating a Redactor plugin. One approach would be to copy the existing Redactor table plugin, modify the insert method to include the two classes when creating the table, then package the plugin so it can be installed.

An alternative is using this add-on, which allows you to manually add classes to a table:
https://www.concrete5.org/marketplace/addons/mrkdilkington-add-and-r...
nesoor replied on at Permalink Reply
nesoor
Hello MrKDilkington,

Thank you for your reply !
I think the first option would be the easiest for my customers but this would be to much hassle for future updates.

I go with the addon! Thank you for all the free addons !
JohntheFish replied on at Permalink Reply
JohntheFish
I think @mesuva has a table editing plugin available for download from his site (not in the marketplace).
MrKDilkington replied on at Permalink Reply
MrKDilkington
@nesoor

This is the add-on JohntheFish was referring too. It does a very good job of making tables and they can be easily assigned classes with custom templates.
https://github.com/Mesuva/msv_table...
nesoor replied on at Permalink Reply
nesoor
Hello JohntheFish and MrKDilkington,

Thank your for your replies !
This addon works great , after you know how it works, it is really easy in use.
Thank you !