registerSeparator

Availability: >= 3.0

Type: Object Method

Description: Registers a new separator with a new unique id.

Syntax:

$editor->registerSeparatorstring $idname );

Parameters:

$idname
Unique ID for this separator.

Note that there is no real need to register a new separator, you can add a separator to the toolbar layout like this: $editor->addRegisteredButton('separator','after:bold');

Registering a new separator is useful if you think you might need to use the unique ID to position other buttons around the separator on the toolbar.  

Once a new button has been registered you can add it to the toolbar layout using addRegisteredButton

See also:

registerButton, registerMenuButton, registerSelect, registerSpacer, registerTextButton