Contentdokter

houdt uw content gezond...

Skip navigation.

CMS Blog

Archive for March 2009

Teamsite's TinyMCE considered harmful

Since the 6.7.1 Service pack 1 Teamsite is blessed with a second rich text editor for use in content entry screens. At first glance this editor, named TinyMCE, offers a big gain over the previous option for this, the Visual Formatter Active-X component, since TinyMCE is a html&javascript only implementation. And this removes the need for a client installation (not very feasible today when most workstations are locked down from admin-privileges) and better performance. Furthermore, TinyMCE is a well known, open source/standards and highly customizable editor. Sounds really good, doesn't it?

Well, actually no. Interwoven has chosen to wrap the original TinyMCE object into a custom implementation that really hides all but the basic configuration options. So yes, you can (re)organize the standard toolbar-b***ons and you can define a list of text- and table-styles. Well and that's all.

Some examples of what I really miss for configuration (and that is offered in the standard TinyMCE) is:
- turn html cleaning on/off
- configure which elements/attributes are cleaned
- extra cleaning when pasting from ms-word
- which style-sheet is used in the editor (note: because of this you are forced to share 1 stylesheet across all branches that share the same server, very disappointing)

Apart from the above remarks the TinyMCE version that comes with Teamsite is old (1.4.5) while 3.2.2 is current today.
Let's hope that Interwoven will soon upgrade to a more recent version AND open all of the standard available options to us.

BTW, below is a little but nasty workaround that will NOT be overwritten when you upgrade you Teamsite install:
1. move your <iw-home>httpd/iw/tinymce to <iw-home>httpd/iw/tinymce2
2. locate the 'alias'-section in <iw-home>/iw-webd/conf/iwwebd.conf.template and add these lines BEFORE the alias for /iw/:
Alias /iw/tinymce/ "__IW_TS_HOME__/httpd/iw/tinymce2/"
Alias /iw/tinymce "__IW_TS_HOME__/httpd/iw/tinymce2"

3. run 'iwreset -ui'
4. now you are free to modify the <iw-home>/httpd/iw/tinymce2/config/custom_config.js to change the default settings

Posted le 21 Mar, 2009 Ajouter un commentaire

About

Cms blog is a personal view on current web-cms technologies, written by Ronald Verheul, founder of Contentdokter, an independent consultancy specialised in designing and building web content management systems.
Your language: Nederlands In english Auf deutsch En français