Typedef

PluginFunctionConstructor (core)

@ckeditor/ckeditor5-core/src/plugin

typedeffunction

In its minimal form a plugin can be a simple function that accepts the editor as a parameter:

// A simple plugin that enables a data processor.
function MyPlugin( editor ) {
	editor.data.processor = new MyDataProcessor();
}

Filtering

Parameters

editor : TContext

Returns

void