-
Notifications
You must be signed in to change notification settings - Fork 117
Table Type #26
Comments
Thanks for reporting this. I've updated the table shortcode and documentation to function better and more consistently with the rest of our shortcodes. Please give it a try. Note: the version in this repo is updated, but the archive on our website is not yet. Please download from this repo to test. |
That's what I get trying to fix this quickly while at work. f808d50 should fix it correctly. |
Hi, Any suggestions? Thanks. |
Hi, yes. I plan to make some changes to the way we're handling tables to better match the goals of this plugin. I hope to have these completed soon (maybe even today) and I'll update the documentation and this issue. Sorry for the delay and the for the issues you're experiencing. |
Hey, @rtbfreitas, thanks for your patience. I've changed the way tables are handled by this plugin to be more in line with our goals. See this commit: 1d9970d The practical upshot is that the new [table-wrap] shortcode doesn't try to write your table HTML for you, it simply modifies a contained set of table HTML (see the documentation here: https://github.com/filipstefansson/bootstrap-3-shortcodes#tables). Let me know if you have any other questions or concerns. |
Thanks @Foolsrun , i prefer the old way, i think its more simple for end-user, but now its working as should. Thanks a lot. |
@filipstefansson and @simonyeldon Despite being the author of the current method, I tend to agree with the feedback. So we have a few options that I see: we could... Remove table support entirely Support tables fully Leave things how they are Any thoughts? |
@filipstefansson and @simonyeldon, any thoughts here? |
Just thought I'd chime in, as I'm about to start using this plugin ahead of some custom shortcodes I wrote. With tables, all the shortcodes needs is to add a wrapper div around the table with "table-responsive". And then your existing code works as is with all the existing functionality. I then use the mce-table-buttons plugin to give me all the table controls I need. If I need to colour rows, I can add that in the future using the styleselect feature of tinymce. Since bootstrap requires a wrapper div to make the table responsive, I honestly believe this shortcode should be left in the plugin, as long as we get that extra div. |
I just committed support for responsive tables in [table-wrap] here: 50033ef This will make its way into the next release of the plugin, which should be soon! Thanks for your thoughts! We're glad you like this plugin! Don't forget to leave a review over at WordPress.org! |
Hi,
How can i remove the tablet type? If i write the shortcode like this (without type parameter):
It will return:
But i just need:
How can i do it?
Thanks a lot.
The text was updated successfully, but these errors were encountered: