@bhsd/codemirror-mediawiki 2.18.0 → 2.18.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/fold.d.ts +3 -3
- package/dist/main.min.js +12 -12
- package/dist/mw.min.js +15 -15
- package/dist/wiki.min.js +15 -15
- package/i18n/en.json +1 -1
- package/i18n/zh-hans.json +1 -1
- package/i18n/zh-hant.json +1 -1
- package/package.json +2 -2
package/dist/fold.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { EditorView } from '@codemirror/view';
|
|
2
2
|
import type { Extension } from '@codemirror/state';
|
|
3
|
+
import type { Addon } from './codemirror';
|
|
3
4
|
export interface DocRange {
|
|
4
5
|
from: number;
|
|
5
6
|
to: number;
|
|
6
7
|
}
|
|
7
|
-
|
|
8
|
+
declare const _default: Addon<Extension>;
|
|
9
|
+
export default _default;
|
|
8
10
|
/**
|
|
9
11
|
* 点击提示折叠模板参数
|
|
10
12
|
* @param view
|
|
11
13
|
*/
|
|
12
14
|
export declare const foldHandler: (view: EditorView) => (e: MouseEvent) => void;
|
|
13
|
-
export declare const foldOnIndent: Extension;
|
|
14
|
-
export declare const defaultFoldExtension: Extension[];
|