TinyMCE:Plugins/advlink

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

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.

Installation Instructions

  1. Copy the advlink directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
  2. Add plugin to TinyMCE plugin option list example: plugins : "advlink".
  3. Add this "a[name|href|target|title|onclick|rel]" to extended_valid_elements option.

Advlink plugin options

advlink_styles
This option should contain a semicolon separated list of class titles and class names separated by =. The titles are the ones that get presented to the user in the styles drop down list and and the class names is the classes that gets inserted.

Initialization Example

tinyMCE.init({
	theme : "advanced",
	mode : "textareas",
	plugins : "advlink"
});
Personal tools