@bhsd/codemirror-mediawiki 2.12.0 → 2.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/codemirror.d.ts +2 -2
- package/dist/main.min.js +12 -12
- package/dist/mediawiki.d.ts +4 -2
- package/dist/mw.min.js +5 -5
- package/dist/mw.min.js.map +3 -3
- package/i18n/en.json +1 -1
- package/i18n/zh-hans.json +1 -1
- package/i18n/zh-hant.json +1 -1
- package/package.json +1 -1
package/dist/codemirror.d.ts
CHANGED
|
@@ -59,9 +59,9 @@ export declare class CodeMirror6 {
|
|
|
59
59
|
getLinter(opt?: Record<string, unknown>): Promise<LintSource | undefined>;
|
|
60
60
|
/**
|
|
61
61
|
* 重设编辑器内容
|
|
62
|
-
* @param
|
|
62
|
+
* @param insert 新内容
|
|
63
63
|
*/
|
|
64
|
-
setContent(
|
|
64
|
+
setContent(insert: string): void;
|
|
65
65
|
/**
|
|
66
66
|
* 在编辑器和文本框之间切换
|
|
67
67
|
* @param show 是否显示编辑器
|