Report an issue
Class

CKEDITOR.plugins.codesnippet

class singleton

Global helpers and classes of the Code Snippet plugin.

For more information see the Code Snippet Guide.

Filtering

Methods

  • since 4.4.0

    setHighlighter( 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.

    Parameters

    highlighter : highlighter