Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 151
Editor API
hackape edited this page Jul 19, 2017
·
1 revision
Editor is the data model to be passed to <AnyEditorComponents editor={editor} />
interfaceEditorProps{tabId: stringfilePath: stringgitBlame: objectcm: CodeMirror}interfaceEditor{id: stringtabId: stringfilePath: stringgetfile(): File// return file base on this.filePathgetcontent(): string// short cut to this.file.contentgitBlame: {show: booleandata: Any[]}update(editorProps: EditorProps): void}