add core extensions
This commit is contained in:
@@ -4,11 +4,6 @@ import { Editor } from './Editor'
|
||||
import { GlobalAttributes } from './types'
|
||||
|
||||
export interface ExtensionSpec<Options = {}, Commands = {}> {
|
||||
/**
|
||||
* The name of your extension
|
||||
*/
|
||||
name: string,
|
||||
|
||||
/**
|
||||
* Default options
|
||||
*/
|
||||
@@ -84,7 +79,6 @@ export type Extension = Required<Omit<ExtensionSpec, 'defaultOptions'> & {
|
||||
*/
|
||||
export const defaultExtension: Extension = {
|
||||
type: 'extension',
|
||||
name: 'extension',
|
||||
options: {},
|
||||
addGlobalAttributes: () => [],
|
||||
addCommands: () => ({}),
|
||||
|
||||
Reference in New Issue
Block a user