Skip to content

Commit e095e91

Browse files
authored
Update ace.md
1 parent 7ef1c1c commit e095e91

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/global-apis/ace.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ This page exists for plugin migration from Ace-era APIs.
1010
- Use `acode.require("commands")` for command registration/removal.
1111
- Use `acode.require("editorLanguages")` to register or remove language modes.
1212
- Use `acode.require("editorThemes")` to register or apply editor themes.
13+
- Use `editorManager.isCodeMirror` to check whether current acode uses codemirror or ace, if its true then its codemirror and if it is null or undefined then its ace.
1314

1415
## Legacy Compatibility
1516

0 commit comments

Comments
 (0)