this is probably super simple.
what's the preferred way to configure tinyMCE in Clearspace.
our customers what the table stuff taken out of the RTE.
thanks!
This seems like the way to take out a table in the RTE.
1. copied guieditor.js to jiveHome/resources/script
2. took out table in that file:
before:
else if (_jive_tables_enabled) {
guieditorplugins = "jiveemoticons,jivespell,paste,table,jivelink,jiveimage";
guieditorvalidelements = "+code[class],+a[style|name|href|target|title|class],-strong/-b[class|style],-em/-i[class|style],-strike[class|style],-u[class|style],+p[style|dir|class|align],-ol[class|style],-ul[class|style],-li[class|style],br[clear],img[style|class|src|border|alt=|title|hspace|vspace|width|height|align|id],-sub[style|class],-sup[style|class],-blockquote[style],-div[class|align|style],-span[style|class|align],-pre[class|align|style],address[class|align|style],-h1[style|class|align],-h2[style|class|align],-h3[style|class|align],-h4[style|class|align],-h5[style|class|align],-h6[style|class|align],hr[class|style],-font[face|size|style|class|color],dd[class|title|style|lang],dl[class|title|style|lang],dt[class|title|style|lang],-table[border:1|class:jive-wiki-table],-tr,tbody,thead,tfoot,#td,#th";
guieditorbuttons = "tablecontrols,separator";
}
after:
else if (_jive_tables_enabled) {
guieditorplugins = "jiveemoticons,jivespell,pastejivelink,jiveimage";
guieditorvalidelements = "+code[class],+a[style|name|href|target|title|class],-strong/-b[class|style],-em/-i[class|style],-strike[class|style],-u[class|style],+p[style|dir|class|align],-ol[class|style],-ul[class|style],-li[class|style],br[clear],img[style|class|src|border|alt=|title|hspace|vspace|width|height|align|id],-sub[style|class],-sup[style|class],-blockquote[style],-div[class|align|style],-span[style|class|align],-pre[class|align|style],address[class|align|style],-h1[style|class|align],-h2[style|class|align],-h3[style|class|align],-h4[style|class|align],-h5[style|class|align],-h6[style|class|align],hr[class|style],-font[face|size|style|class|color],dd[class|title|style|lang],dl[class|title|style|lang],dt[class|title|style|lang],-table[border:1|class:jive-wiki-table],-tr,tbody,thead,tfoot,#td,#th";
guieditorbuttons = "tablecontrols";
}
And the table is gone.
I think a cooler way would be for us to figure out where _jive_tables_enabled is and set that in the config somewhere.
thanks!
ken
Jive combines collaboration software, community software & social networking software into the leading SBS solution.
© Copyright 2000–2009 Jive Software. All rights reserved.
915 SW Stark St., Suite 400, Portland, OR 97205