cancel
Showing results for 
Search instead for 
Did you mean: 

Tinymce Upgrade?

mtaal
Champ in-the-making
Champ in-the-making
Hi,
The current version of tinymce used by Alfresco seems a bit old (2.0.6). Is it possible to use a newer version?
Or if not what can/should I change to make a newer version work with Alfresco?

gr. Martin
2 REPLIES 2

rholder
Champ in-the-making
Champ in-the-making
My understanding is that the TinyMCE integration with Alfresco is pretty tight considering it is being used by the XForms engine.  If you are brave, you might have a go at some of the core Javascript libraries, particularly (from Alfresco 2.2E):

alfresco/scripts/ajax/xforms.js
alfresco/scripts/tiny_mce/*

You might also refer to these for more details on how custom widgets, such as TinyMCE are used inside Alfresco's XForms engine.

http://wiki.alfresco.com/wiki/Forms_Authoring_Guide#XForm_User_interface_customization
http://wiki.alfresco.com/wiki/Creating_XForms_Widgets

himanshu
Champ in-the-making
Champ in-the-making
Hi,

I want to extend the TinyMCE editor to include custom buttons with some predefined action. The new version of TinyMCE editor provides this functionality.

If you are brave, you might have a go at some of the core Javascript libraries, particularly (from Alfresco 2.2E):

alfresco/scripts/ajax/xforms.js
alfresco/scripts/tiny_mce/*

So if i upgrade the version of TinyMCE editor then i'll also need to make changes in the above mentioned files.
What are the changes that are to be made?

I know that its not advisable to make changes in the existing alfresco code. Is there any other way of doing these changes without actually changing the existing files?

My motive is not to upgrade the editor but it actually is to customize the editor to include a custom button with custom behaviour.

Thanks for the help.

Regards
~~Himanshu Seth~~

http://www.IntelliGrape.com