Page 1 of 1
Cannot seem to get Insert Table to work in tinyMCE
Posted: Wed Oct 14, 2009 11:46 pm
by tdgarner
After much effort to finally get the table editing tools to appear in the toolbar, the only one that is active is the Insert Table tool (makes sense until a table exists). I click that, and an editor window appears that asks for rows and columns, padding, borders, etc. I put in some data, and click the Insert button. Nothing happens in the main edit window, and the data in the Insert Table window changes back to the default settings when the window was opened. Does anyone have any idea what is happening?
Thanks in advance.
Re: Cannot seem to get Insert Table to work in tinyMCE
Posted: Sat Nov 07, 2009 11:48 pm
by Dr.CSS
Most likely you just can't see the table as most of the CSS/style sheets hide borders, collapse them, etc. for tables, I just made some tables in mine and can't see them, did you turn tiny off to see if they are there?...
Of course it helps to know what ver. of cmsms you have...
Re: Cannot seem to get Insert Table to work in tinyMCE
Posted: Sun Nov 29, 2009 1:17 pm
by robbedoes
Same problem here (1.6.5 "Poya").
When I add a table in html I can use the table plugin.
When I try the plugin to insert a new table, the popup returns to it’s defaults and that’s it.
Re: Cannot seem to get Insert Table to work in tinyMCE
Posted: Sun Nov 29, 2009 2:37 pm
by Rolf
Hi tdgarner and Robbedoes,
I agree with Dr.CSS.
After inserting a table and you open the html screen the table code will be there...
Go to the Advanced tab of TinyMCE in the admin.
Check the box: Include only screen CSS (Selecting this allows only attached stylesheets with the screen-mediatype selected to be included in the styles TinyMCE handles.)
When you create a table with some width, cellspacing and cellpadding you will see the table borders
Hope this helps, Rolf
Re: Cannot seem to get Insert Table to work in tinyMCE
Posted: Sun Nov 29, 2009 3:05 pm
by robbedoes
I found out that the table function doesn’t work in safari, Firefox is ok.
Re: Cannot seem to get Insert Table to work in tinyMCE
Posted: Sun Nov 29, 2009 5:18 pm
by Rolf
Robbedoes wrote:
I found out that the table function doesn’t work in safari, Firefox is ok.
Please make a bugreport:
http://dev.cmsmadesimple.org/bug/list/12
Grtz. ®olf
Re: Cannot seem to get Insert Table to work in tinyMCE
Posted: Mon Nov 30, 2009 11:14 am
by fredp
Hi,
I'm not sure if this will help anyone having problems with tables in TinyMCE, but in case it might...
Last year I was experimenting with optional TinyMCE-specific styling under the
Advanced tab of the
TinyMCE WYSIWYG admin page. This can override CMSMS styles inside a WYSIWYG area. While this isn't "exactly"

WYSIWYG, in certain situations it can help make tables easier to see and use in a TinyMCE WYSIWYG box.
Just as an example, I went to the
Advanced tab and appended the following experimental CSS to the end of the
Additions to stylesheet text box...
Additions to stylesheet:
CSS entered here will be added to the stylesheet read by TinyMCE after it recieves the CMSms styles
Code: Select all
.mceItemTable {
/* begin experiment */
border-collapse: separate;
empty-cells: show;
border-spacing: 1px;
padding: 1px;
}
.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {
border: 1px double #ff0;
min-width: 0.75em;
}
.mceItemTable, .mceItemTable caption, .mceItemVisualAid {
border: 1px dashed #888;
}
.mceItemTable th {
border: 1px double #eee;
/* end experiment */
}
I then inserted an empty 2x2 table into a WYSIWYG box, in Firefox 3.5.5, and attached a screen shot.
Hope this helps,
Fred
Re: Cannot seem to get Insert Table to work in tinyMCE
Posted: Wed Mar 10, 2010 5:50 pm
by Alpdog14
This did not work for me, my tables still are invisible
Re: Cannot seem to get Insert Table to work in tinyMCE
Posted: Thu Mar 11, 2010 8:06 pm
by Dr.CSS
A lot of times it's because here is a print style sheet attached to the page template...