AnsweredAssumed Answered

tablecontrols,html source as default?

Question asked by kiran on Aug 20, 2007
Latest reply on Aug 23, 2007 by kvc
I am using alfresco-community-tomcat-2.1.0

i made changes in web-client-config-wcm.xml and xforms as below, and i got tablecontrols,html source as default when i tried to add content to webforms
is it right? or will it have any other effects?please tell me

web-client-config-wcm.xml
————————
<widget xforms-type="xf:textarea"
javascript-class-name="alfresco.xforms.RichTextEditor">
<param name="theme_advanced_buttons1">bold,italic,underline,strikethrough,separator,forecolor,backcolor,separator,link,unlink,image,code,fontsizeselect,separator</param>
<param name="theme_advanced_buttons2">tablecontrols,separator</param>

<param name="theme_advanced_buttons3">justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,separator,undo,redo,fontselect,separator</param>

</widget>
xforms.js
————
tinyMCE.init({
theme : "advanced",
mode : "exact",
elements : "editor",
save_callback : "saveContent",
plugins : "table",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_buttons1: "",
theme_advanced_buttons2: "",
theme_advanced_buttons3: "",
theme_advanced_disable: "styleselect",
extended_valid_elements : "a[href|target|name],font[face|size|color|style],span[class|align|style]"
});   

Thanks in advance
kiran

Outcomes