TinyMCE in the Nucleus CMS backendI have used my weblog for some test entries. Some visitors have mentioned some unmotivated postings here (now deleted). But I have needed my weblog for some last tests of my new Plugin NP_TinyMCE2 which integrates the javascript WYSWYG editor TinyMCE into Nucleus CMS.

This plugin has a long history. A lot of programmers have worked on the integration of the swedish editor. There are several challenges on integrating a WYSIWYG into a CMS because it must hook into the backend and it must work together with the javascript that handles the inbuild editor. The last version 0.9c has managed to hook into the backend without modification of the core files. This was the reason for me to make a lot of bug fixing.

One of the biggest challenges was to handle the line break conventions. Nucleus CMS offers an option to switch wether the blog convert line breaks to <br /> tags or not. TinyMCE has a very bad support for line breaks with <br />. It only work proper with paragraphs that are build with <p> tags. So I decided to bypass this setting by adding and removing the <br /> tags before an item is written in the database.

That was the reason why I have used kgblog.de for some test entries because it uses the line breaks with <br /> it was a good testing environment before I release the plugin. But unfortunately there was a little lazziness in the javascript programming which stopped the plugin when it was used with Internet Explorer. But this bug is removed and every thing should work proper now. icon_smile.gif

I hope that NP_TinyMCE2 is a usefull plugin for a lot of users and help to the boost the number of Nucleus CMS users. icon_smile.gif

(You can downlad the plugin over the Nucleus plugin wiki: NP_TinyMCE2 where you also can find additional information.)