CKEditor 4 Documentation

CKEDITOR.plugins.codesnippet

Subclasses

Files

Global helpers and classes of the Code Snippet plugin.

For more information see the Code Snippet Guide.

Defined By

Methods

CKEDITOR.plugins.codesnippet
view source
( highlighter )
Sets the custom syntax highlighter. ...

Sets the custom syntax highlighter. See CKEDITOR.plugins.codesnippet.highlighter to learn how to register a custom highlighter.

Note:

  • This method can only be called while initialising plugins (in one of the three callbacks).
  • This method is accessible through the editor.plugins.codesnippet namespace only.

Available since: 4.4

Parameters