// you’re reading...

CMS

Adding TinyMCE as an Editor for CMS 7.5


TinyMCE is a JavaScript based rich HTML editor now available for use in CMS 7.5. Why add another editor? For several reasons:

  • The FCKEditor has significant deficiencies, such as the inability to cleanup code or pasted content.
  • You haven’t upgraded to Web Solutions Management Server so the Telerik RadEditor isn’t an option.
  • You want to be able to have custom code restrictions such as preventing developers from using an H1 tag or the line-height style.
  • Word pasted content is killing you.

So what’s involved in getting TinyMCE working in your RedDot CMS project?

Well actually not much.

  1. Download the latest version. The TinyMCE project page is https://webpress.missouristate.edu/tinymce.htm. Updates are posted rather regularly, so check back for a new version occasionally. Inside the .zip file are 2 folders. Place the TinyMCE folder in your /CMS root; by default it would be C:Program FilesRedDotCMSASP. You can ignore the other folder for now.
  2. In SmartTree, under Administer Project Settings » Project » General Settings, the Action Menu has an option to Edit Settings. Check the Use external editor box, uncheck the Prefer RedDot Text Editor box and set the URL of external editor field to “tinymce/editor.asp”. The Name of the element that contains the text that should be stored field is not used.
    External Editor Settings for TinyMCESince this setting is project specific, it’s easy to test on a small project before you enable the editor for your production projects.

Congratulations, you now have basic editing support with TinyMCE in all browsers.

That was the basic part – So what’s missing?

Well unfortunately the hooks to enable TinyMCE when editing via form are just not present in CMS without actually modifying their code. If you want edit via form support, the instructions are on my site.

Where to from here?

TinyMCE has a huge number of configuration options. I’ve documented the options I find most useful. Spellchecking in particular is a must have.

Yeah, whatever, so what about the inline editing?

Where’s the inline editing support that I’ve heard so much about? This feature is brand new. It requires changing your templates to enable, but is well worth the effort.

Note: Changing the given code provided by RedDot/OpenText will cause losing the warranty for your installation so do that at your own risk and be aware of that fact.

Share and Enjoy:
  • Print
  • email
  • Twitter
  • Digg
  • Reddit
  • StumbleUpon
  • Google Bookmarks
  • del.icio.us
  • MisterWong
  • Facebook
  • LinkedIn

No related posts.

About the author:

Chad Killingsworth is the Assistant Director for Web & New Media at Missouri State University. Chad is an avid RedDot CMS RQL developer. Chad's work on upgrading the FCKEditor was officially distributed as part of CMS 7.5.

Discussion

4 comments for “Adding TinyMCE as an Editor for CMS 7.5”

  1. Hey Chad,
    great post. I can’t wait to check out how you got the inline editing up and running.

    Cheers,
    – Morgan

    Posted by Morgan Ritchings | April 21, 2009, 2:54 am
  2. Nice one! I just added the note about warranty and some h3 headlines.
    Can you provide a static link to the “current” version like https : //…/tinymce_current.zip?

    Posted by Markus Giesen | April 21, 2009, 3:44 am
  3. Is the warranty warning for if you change the ASP code to work with Edit Via Form? It’s legal just to use the external editor, I trust…

    Posted by Rob Palmer | April 21, 2009, 8:30 pm
  4. I would not expect Open Text support to assist you with editors that are not officially distributed with the system, but installing TinyMCE without edit-via-form modifications isn’t really any different than installing a community plugin.

    Posted by Chad Killingsworth | April 22, 2009, 4:20 pm

Post a comment



Stay up to date! - Get notified about followup comments

If you don't feel the urge to comment but wish to stay in the loop:
Just enter your email and subscribe to new comments.

Subscribe without commenting

Recent Tweets

  • RT @AirKraft: Transport Canada breakout: they manage 80K pages and 300K assets with WSM(RedDot). Wow! #OTCW 2010-11-11
  • The RedDot usergroup session 'Future of WCM' is in National Harbor 7, now. See you there! #otcw 2010-11-11
  • RT @yttergren: @AirKraft: Calling all WSM(RedDot) devs: share your solutions on http://bit.ly/bgPIof EVERY solution can win an iPad #OTCW 2010-11-10
  • Come to the Solution Exchange session. Enhance your (#reddot) CMS project! Chesapeake 12, 3:20pm #otcw Looking forward to see you there! 2010-11-10
  • More updates...