cancel
Showing results for 
Search instead for 
Did you mean: 

tablecontrols,html source as default?

kiran1
Champ in-the-making
Champ in-the-making
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
3 REPLIES 3

kvc
Champ in-the-making
Champ in-the-making
Kiran:

Unfortunately, table support is not available in either Community RC1 or Community Final.   If you are using the latest 2.1 Enterprise, to enable plug-ins, you will also need to download those plug-ins you want for TinyMCE and include them in the TinyMCE source tree.  By default, starting with 2.1 Enterprise, we include the table plug-in by default with our distribution, along with a sample TinyMCE config definition to enable table controls within the WYSIWYG editor.

Rather than retrofit Community, your best option is to either (a) request an eval of 2.1 Enterprise BETA or (b) wait for an updated Community release post release  of 2.1 Enterprise (end August / beginning September).

Kevin

kiran1
Champ in-the-making
Champ in-the-making
i planned to go with the same changes(retrofit Community)

i got all the tablecontrol,html source as default,but because of these, WYSIWYG editor body height gets reduced
i just want to increase the height of the editor so that i can able to see maximum content. How to do that?

Also another question 2.1 Enterprise BETA version is for 30 trial version only? Is there any subscription amount involved in that if i intend to use the enterprise version for a longer period?

Thanks in advance
kiran

kvc
Champ in-the-making
Champ in-the-making
Kiran:


You can adjust the height of different appearances of the rich text editor.  This too is an enhancement made post-branching of 2.1.0 Enterprise.  We will update Community in a couple of weeks with this change (really, Enterprise is meant only to have additional stabilizing bug fixes, not functional enhancements). 

If you do decide to use Enterprise beyond the 30 day trial, there is a support fee.  I think it's definately worthwhile (I'm admittedly biased), since you can then fire off support cases and quickly drive feature enhancements and bug fixes.  Basically, you get better support than you get here with forums (though we do our best here too) 🙂


Kevin