Forums | Mahara Community
Table Borders Not Displaying
30 September 2017, 1:47 AM
When users add tables with borders using the editor throughout Mahara the borders are not appearing within the tables.
This happens with 17.04.1 and 17.04.3 Mahara versions.
Just carried out a test and it's happening in here too:
04 October 2017, 8:38 AM
When I initially tested your find I too thought it was a bug. But it turns out it is a UI issue with TinyMCE itself (a third party plugin we use to allow WYSIWYG editing)
Because we set up the editor with "table_style_by_css: true" it means the table properties form expects valid css input.
But the same form is used for when 'table_style_by_css' is either on or off so the form is not obvious that for table border you need to do:
Here is an example of a table with a border that I made via the table properties form:
It turns out the fields just fill in/update the Advanced -> Style field with CSS so one can just put the styles in there directly to save time
09 October 2017, 9:47 PM
Thanks, this works for us.
01 December 2017, 3:20 AM
When I put in the table border as you say, I only get the outer line, but not the borders around the cells. And when we enter it as table cell borders, it's removed directly in 17.10.
How did you manage?
09 March 2018, 12:39 AM
I have had the same issue. In 17.04 the only way to get the table borders is to edit the HTML. The border colour is always stripped in the HTML when entered in the table properties.
I tried on 17.10 on demo.mahara.net and find the same issue! I've tried to add images but as a new user it won't let me submit with them in the post.
Is this issue likely to be fixed?
09 March 2018, 7:35 AM
We haven't found a good solution of resolving this yet as it's an issue in the user interface of TinyMCE. According to the last note on https://github.com/tinymce/tinymce/pull/3350 the plugin is being re-written. I put it on my ToDo list to write some instructions in the user manual on how to get around things in the interim.