TinyMCE:Configuration/theme

From Moxiecode Documentation Wiki

Jump to: navigation, search

Option: theme

This option enables you to specify what theme to use when rendering the TinyMCE WYSIWYG editor instances. This name matches the directories located in tinymce/jscripts/tiny_mce/themes. The default value of this option is "advanced". TinyMCE has two built-in themes described below.

advanced
This theme enables users to add/remove buttons and panels and is a lot more flexible than the simple theme. For more information about this theme's specific options check the advanced theme configuration section. This is the default theme.
simple
This is the most simple theme for TinyMCE. It contains only the basic functions.

Example of usage of the theme option:

tinyMCE.init({
	...
	theme : "advanced",
	theme_advanced_buttons3_add_before : "tablecontrols,separator"
});
Personal tools