fix a bug

This commit is contained in:
Philipp Kühn
2020-09-09 11:23:24 +02:00
parent a812dd47be
commit 22109170b3
3 changed files with 17 additions and 4 deletions

View File

@@ -28,7 +28,7 @@ export interface MarkExtends<Callback = MarkCallback> extends ExtensionExtends<C
}
export default class Mark<Options = {}> extends Extension<Options, MarkExtends> {
type = 'node'
type = 'mark'
public schema(value: MarkExtends['schema']) {
this.storeConfig('schema', value, 'overwrite')