mirror of
https://github.com/codex-team/editor.js
synced 2024-06-29 02:40:23 +02:00
21 lines
385 B
TypeScript
21 lines
385 B
TypeScript
|
import {API, ToolConfig} from '../index';
|
||
|
|
||
|
/**
|
||
|
* Describes BLockTune blueprint
|
||
|
*/
|
||
|
export interface BlockTune {
|
||
|
/**
|
||
|
* Returns block tune HTMLElement
|
||
|
*
|
||
|
* @return {HTMLElement}
|
||
|
*/
|
||
|
render(): HTMLElement;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Describes BlockTune class constructor function
|
||
|
*/
|
||
|
export interface BlockTuneConstructable {
|
||
|
new (config: {api: API, settings?: ToolConfig}): BlockTune;
|
||
|
}
|