@bhsd/codemirror-mediawiki 2.14.4 → 2.14.5
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/README.md +1 -1
- package/dist/bidi.d.ts +14 -0
- package/dist/main.min.js +24 -14
- package/dist/matchTag.d.ts +6 -0
- package/dist/mediawiki.d.ts +1 -1
- package/dist/mw.min.js +28 -18
- package/dist/token.d.ts +1 -7
- package/i18n/en.json +1 -1
- package/i18n/zh-hans.json +1 -1
- package/i18n/zh-hant.json +1 -1
- package/mediawiki.css +8 -0
- package/package.json +2 -2
package/dist/matchTag.d.ts
CHANGED
|
@@ -19,6 +19,12 @@ declare class Tag {
|
|
|
19
19
|
get to(): number;
|
|
20
20
|
constructor(type: TagType, name: string, first: SyntaxNode, last: SyntaxNode);
|
|
21
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* 获取标签信息
|
|
24
|
+
* @param state
|
|
25
|
+
* @param node 语法树节点
|
|
26
|
+
*/
|
|
27
|
+
export declare const getTag: (state: EditorState, node: SyntaxNode) => Tag;
|
|
22
28
|
/**
|
|
23
29
|
* 匹配标签
|
|
24
30
|
* @param state
|
package/dist/mediawiki.d.ts
CHANGED