MCPcopy Create free account
hub / github.com/Easy-Editor/EasyEditor / onAfterExtend

Method onAfterExtend

packages/core/src/engine/editor.ts:288–294  ·  view source on GitHub ↗
(listener: (editor: Editor) => void)

Source from the content-addressed store, hash-verified

286 }
287
288 onAfterExtend(listener: (editor: Editor) => void) {
289 this.eventBus.on(EDITOR_EVENT.AFTER_EXTEND, listener)
290
291 return () => {
292 this.eventBus.off(EDITOR_EVENT.AFTER_EXTEND, listener)
293 }
294 }
295}
296
297export const createEasyEditor = (config?: EditorConfig) => {

Callers

nothing calls this directly

Calls 2

onMethod · 0.45
offMethod · 0.45

Tested by

no test coverage detected