Posted on Leave a comment

Today’s Technical Challenge

As a web application developer, I am often asked to put a WYSIWYG editor into the application so that the end-user can use the application without having to learn HTML and CSS. There are plenty of free and commercial wysiwyg editors available. (Note to developers: bookmark that link!)

These editors are designed to be customized for your application. You can typically control what buttons appear, what the interface looks like, and so forth. My challenge is to not only change the appearance of the editor, but when the end-user begins typing I need to have that type appear in a default font family (Arial), font size (12pt), and justified to the left. That means if they cut and paste content the defaults need to be applied.

The editor I chose for this project was TinyMCE. I find it far easier to implement than the ever popular FCKeditor (and no..those are the developer’s initials). My editor of choice is typically Xinha.

I have found numerous references to setting content_css : "defaultcontent.css" in the tinyMCE.init and this does change the text as the end-user is typing but the font family select and the font size select menus remain at their default values. When you save, the font family and font size are not saved. Very frustrating.


May 3, 2007 – Adobe, to embed FCKeditor in ColdFusion 8

Adobe has chosen FCKeditor as one of the great new features of its next major release of ColdFusion, code-named Scorpio. Some reviews of it can be found on the web.

For ColdFusion programmers, it will be as easy as defining a tag to see FCKeditor displaying all its power on their pages, right out of the box.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.