This plugin has been deprecated in favor of NP_TinyMCE which is better maintained and has a fuller set of options. See here.
This plugin integrates TinyMCE (a WYSIWYG XHTML 1.0 editor) into Nucleus CMS. Supported browsers are Mozilla, MSIE and FireFox (Safari experimental).
| General Plugin info | |
|---|---|
| Author: | karma, roel, eph, kg |
| Current Version: | v1.3 |
| Download: | NP_TinyMCE_v13.zip 533KB (package with all needed files) |
| Code: | np_tinymec2_code |
| Demo: | - |
| Forum Thread: | here |
The zip file includes all necessary files:
In the image popup dialog is a little button with which you can call the Nucleus Media Manager.
The second button bar offers additional features (plugin version 1.2). It can be switched on and off in the member options:
Not necessary.
Every member of a blog can decide if he want to use the TinyMCE WYSIWYG editor. You can also use this option to edit your old articles without TinyMCE.
This option allows members to switch the second button bar on or off. It can be used to save space on the screen and to speed up the editor load if the the advanced features in the second button bar are not needed.
These elements are necessary to post a video. The code for the video can be inserted in the HTML window. TinyMCE doesn’t shows a preview of the video but leave the code in the posting so that the video will be shown when the item is published.
The compression of the editor code should speed up the editor load. But it don’t work in any case, it depends on the used browsers and the network configuration (e.g. firewall). You can use this option if your members work in a defined environment.
Because version 1.0 has a mistake in the javascript code it doesn’t work with the Internet Explorer. Version 1.1 fixes this bug. You can upgrade without downloading the full package:
Now the plugin should also work with IE.
Because version 1.2 has a new member option it must be installed with the Nucleus Plugin Manager:
Because version 1.3 has no new plugin options, you can update from version 1.2 to 1.3 easily:
Please use the Plugin Manager to uninstall this plugin. The plugin has a uninstall routine which recovers the Nucleus javascript toolbar.
The Plugin integrates TinyMCE into Nucleus CMS. TinyMCE is a large, sophisticated javascript application that makes WYSIWYG editing in a browser possible. If you need depper information about it you can read the TinyMCE documentation or visit the TinyMCE forum.
Normally you have not to care about this issue but for advanced users it is helpfull to know how the plugin handle the line breaks:
Every Nucleus blog have the setting “Convert line breaks”. By default it is switched on. Every line break is automatically converted to a <br /> tag.
TinyMCE is designed to work without this feature. Because its support for this feature is insufficient bad the plugin doesn’t use it. The NP_TinyMCE plugin bypass this option by removing and adding breaks if the blog setting “Convert line breaks” is switched on.
If you have old articles that are written with “Convert line breaks” they might get another formatting if you update them with TinyMCE. To avoid this you can also edit them without TinyMCE (simply switch off in your member settings).
If you start a new blog it can be a good idea two switch “Convert line breaks” off. TinyMCE and your blog working in the same mode. If you don’t work with TinyMCE you have to add <p> or <br /> tags to you articles.
Please be careful if you change the “Convert line breaks” setting in your blogsettings and make a database backup before.
Certain functions of the editor is not enabled by default. You can enable the function and add new buttons to increase the functionality of your editor.
TinyMCE Editor’s extra plugins can be download here
For a complete list of the plugin reference, look here
A. Enable Plugins
We are going to use an example here. Let’s add a Flash button
, which is commonly required for the embeding of flash video (EG: YouTube) into your blog.
tinyMCE.init({
if ($this->getMemberOption($this->memberid, 'use_advanced')=='yes'){
$editorCode .=',table,advhr';
}
if ($this->getMemberOption($this->memberid, 'use_advanced')=='yes'){
$editorCode .=',table,advhr,flash';
}
B. Add the Flash Button
tinyMCE.init({
theme_advanced_buttons1_add :
theme_advanced_buttons1_add : "emotions,charmap,separator,pastetext,pasteword,flash",';
Versions:
Refer the code for a detailed changelog.
NP_TinyMCE2 version 1.3 works with Nucleus CMS version 3.31 - 2008-01-03 kg