Typedef

PluginConstructor (core)

@ckeditor/ckeditor5-core/src/plugin

typedefobject

Creates a new plugin instance. This is the first step of the plugin initialization. See also init and afterInit.

The plugin static properties should conform to PluginStaticMembers interface.

A plugin is always instantiated after its dependencies and the init and afterInit methods are called in the same order.

Usually, you will want to put your plugin's initialization code in the init method. The constructor can be understood as "before init" and used in special cases, just like afterInit serves the special "after init" scenarios (e.g.the code which depends on other plugins, but which does not explicitly require them).

Filtering

Type parameters