TinyMCE:Plugins/nonbreaking

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Plugin: nonbreaking

This plugin a button insert nonbreaking space entities   at the current caret location.

Plugin options

[nonbreaking_force_tab]
This enables you to force TinyMCE to insert three   entities when the user presses the tab key.
NOTE
if this option is enabled, then avoid usage of tinymce configuration option tab_focus.

Installation Instructions

  1. Add plugin to TinyMCE plugin option list example: plugins : "nonbreaking".
  2. Add the nonbreaking button name to button list, example: theme_advanced_buttons3_add : "nonbreaking".

Initialization Example

tinyMCE.init({
	theme : "advanced",
	mode : "textareas",
	plugins : "nonbreaking",
	theme_advanced_buttons3_add : "nonbreaking",
	nonbreaking_force_tab : true
});
Personal tools