TinyMCE:Plugins/advlink
From Moxiecode Documentation Wiki
Contents |
[edit]
Plugin: advlink
This is a more advanced link dialog mostly based on code contributed by Michael Keck. This link plugin supports popup windows and targets.
[edit]
Installation Instructions
- Copy the advlink directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
- Add plugin to TinyMCE plugin option list example: plugins : "advlink".
- Add this "a[name|href|target|title|onclick|rel]" to extended_valid_elements option.
- Why? This reduces the number of valid attributes, so half the attributes in the plugin will have no effect! (According to TinyMCE:Configuration/extended_valid_elements and TinyMCE:Configuration/valid_elements).
[edit]
Advlink plugin options
- advlink_styles
- This option should contain a semicolon separated list of class titles and class names linked by equal signs. The titles are the ones that get presented to the user in the styles drop down list and the class names are the classes that get inserted.
[edit]
Initialization Example
tinyMCE.init({
theme : "advanced",
mode : "textareas",
plugins : "advlink"
});
