IPlugin
types.IPlugin
Type parameters
Name | Type |
---|---|
T |
extends IViewBased = IViewBased |
Implements
Implemented by
constructor
new IPlugin<T
>(jodit?
): IPlugin
<T
>
Type parameters
Name | Type |
---|---|
T |
extends IViewBased <IViewOptions > = IViewBased <IViewOptions > |
Parameters
Name | Type |
---|---|
jodit? |
T |
Returns
IPlugin
<T
>
Defined in
requires
Static
Optional
requires: string
[]
Defined in
hasStyle
Optional
hasStyle: boolean
Defined in
styles
Optional
styles: string
Additional plugin styles can be written simply as inline styles
class A extends Jodit.modules.Plugin {
styles = 'h1{color: red}';
}
Will only be applied if the plugin is activated
Defined in
buttons
Optional
buttons: IPluginButton
[]
Plugin buttons
Defined in
init
init(jodit
): void
Parameters
Name | Type |
---|---|
jodit |
T |
Returns
void
Implementation of
Defined in
destruct
destruct(jodit?
): void
Parameters
Name | Type |
---|---|
jodit? |
T |
Returns
void
Implementation of
Defined in
jodit/src/types/plugin.d.ts:46