This may be related to removing the inline styles that were added when creating tables. It’s much better if tables are styled by your theme, not by the editor with inline styles, but seems several people are experiencing issues with their themes not adding styles for tables, or the styles being… not particularly good.
Seems I’ll have to add another option to the plugin to specifically address this… For now a workaround is to edit the table properties after adding it and add borders, width, etc.
Hmm, this can actually be reset by using the https://ww.wp.xz.cn/plugins/advanced-tinymce-configuration/ plugin. After installing it, go to the settings page and click “Show the default TinyMCE settings” button. Find the table_default_styles and table_default_attributes option names and add false for the values (and save the settings).
Thank you Andrew. Simple things are getting very complicated due to WP 5 and Gutenberg. Don’t like where it’s going to.
Thank you so much for your reply. I have tried –
Find the table_default_styles and table_default_attributes option names and add false for the values (and save the settings).
This option enabled the column border, however the row borders are now missing. However that’s fine. Thanks again for your help and this awesome plugin.
-
This reply was modified 7 years, 5 months ago by
arindam4u.
I’m glad it works better now 🙂
If you still want to try to improve it, have a look in the TinyMCE documentation for these options: https://www.tiny.cloud/docs/plugins/table/#table_default_attributes. The point is to find the right balance between what is inserted in the editor and how your theme styles tables. Perhaps some “trial and error” would get you better result 🙂