Item11493: Trouble with table function in TinyMCE
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: patch
The table feature in
TinyMCE works very badly. Formatting of cells, merge, or split, etc. Colors, Borders be implemented only rarely and often destroyed. (
TablePlugin installed.)
--
KlausMann - 01 Feb 2012
Hello Klaus, thanks for your bug report!
- Which version of TinyMCEPlugin are you using? Check at the bottom of your System.TinyMCEPlugin.
- Which version of WysiwygPlugin are you using? Check at the bottom of your System.WysiwygPlugin.
- Which web browser, and what version of it are you using?
- Split/merge cells are working just fine for me. Can you please give more detail? Such as a copy of the topic you're having trouble with, and a list of instructions we can follow to reproduce the problem.
- Are these the same problems you mentioned in Item11469? Did you try my suggestion there?
As I already stated in
Item11469, Foswiki's TML syntax only supports very basic tables without any formatting/styles. As I already stated in
Item11469, if you want full-featured HTML tables, please follow the advice in
Support.Faq43.
I need more detail from you before I can do anything with this task.
--
PaulHarvey - 02 Feb 2012
- TinyMCEPlugin-Version: 13315 (2011-12-06)
- WYSIWYGPlugin-Version: 13315 (2011-12-06)
- Firefox: 9.0.1
- No, item11469 was only the problem with the colorpicker
- copy of topic makes no sense because in wikitext there is after all only this:
after my testing. insert a table with tinymce-table-button > marking one row >merge/split button not atic! > then trying backroundcolor with table-button(existing table is still marked) > Advanced > Backroundcolor > Palette > chousing color > klick "insert" > no effect on the existing table but all textouitside is gon away!!! more information needed?
--
KlausMann - 02 Feb 2012
You say "No, item11469 was only the problem with the colorpicker" - and then you say "then trying backroundcolor with table-button..."
Please, for the 3rd time... this will not work! As I already said in
Item11469,
Foswiki TML currently cannot express background-colours in table cells.
I will briefly explain that TinyMCE does not understand Foswiki TML/WikiSyntax. It only understands XHTML. So you when you make a table in TinyMCE,
WysiwygPlugin is converting that XHTML which TinyMCE returns, i.e.
<table><tr><td>a</td><td>b</td></tr></table>
into plain old vanilla Foswiki TML WikiSyntax tables, i.e.
| a | b |
.
It is in that conversion process, that these formatting styles are being lost, because WikiText tables have no way of specifying custom border/colour/etc. attributes.
So, if you want:
- Adjustable table borders
- Adjustable cell borders
- Table/cell background-colours
... it cannot be done with "vanilla" WikiText syntax.
But, you CAN tell
WysiwygPlugin to leave XHTML tables as XHTML. Follow the instructions in
Support.Faq43 to do that.
I really do want to help, and I'm sorry our TinyMCE editor gives you formatting/style options which are discarded by Foswiki, but this is a limitation of WikiSyntax which can be overcome if you follow the advice of
Support.Faq43 and allow your tables to be saved as XHTML.
Finally, for the merge/split cell problem, I just cannot reproduce it. I believe I have followed your instructions, with Firefox 9, but it's working fine for me.
I am now recording a screencast to show you what I am doing, and you can tell me if you're doing something different.
--
PaulHarvey - 02 Feb 2012
Okay, when I went to record the video using the version of
TinyMCEPlugin in 1.1.4 (same as yours), I did observe:
- Cannot select table background colour at all (always sets to black).
- If you create a table, then highlight a row, you can merge/split cells just fine. But if you try the same on a table that already existed after a save & continue, the buttons do not become active. This seems to only happen on empty tables.
None of these problems are present in the newer TinyMCEPlugin.
If you are feeling adventurous, you may wish to install
Extensions/Testing.TinyMCEPlugin. You will also need the accompanying
Extensions/Testing.WysiwygPlugin.
I will try to release a new official version of
TinyMCEPlugin &
WysiwygPlugin in the next week or two.
Setting to confirmed.
--
PaulHarvey - 03 Feb 2012
Thank you and please excuse my misunderstanding of "Foswiki TML currently cannot express background-colours in table cells". i will have a closer look to Faq43
and yes, it happens with empty cells, if not empty, merge/split working fine here! Thank you!
--
KlausMann - 03 Feb 2012
Changing this to No Action. Foswiki 1.2 will release with updated TMCE, and the new release of TMCE has been separately uploaded to foswiki.org
--
GeorgeClark - 11 Feb 2015