@bhsd/codemirror-mediawiki 2.0.15 → 2.1.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/config.d.ts +2 -66
- package/dist/main.min.js +10 -10
- package/dist/mediawiki.d.ts +1 -0
- package/mediawiki.css +0 -7
- package/mw/dist/base.js +58 -16
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -18,74 +18,11 @@ export declare const modeConfig: {
|
|
|
18
18
|
*
|
|
19
19
|
* @see https://www.mediawiki.org/wiki/Extension:CodeMirror#Extension_integration
|
|
20
20
|
*/
|
|
21
|
-
permittedHtmlTags:
|
|
22
|
-
b: boolean;
|
|
23
|
-
bdi: boolean;
|
|
24
|
-
del: boolean;
|
|
25
|
-
i: boolean;
|
|
26
|
-
ins: boolean;
|
|
27
|
-
u: boolean;
|
|
28
|
-
font: boolean;
|
|
29
|
-
big: boolean;
|
|
30
|
-
small: boolean;
|
|
31
|
-
sub: boolean;
|
|
32
|
-
sup: boolean;
|
|
33
|
-
h1: boolean;
|
|
34
|
-
h2: boolean;
|
|
35
|
-
h3: boolean;
|
|
36
|
-
h4: boolean;
|
|
37
|
-
h5: boolean;
|
|
38
|
-
h6: boolean;
|
|
39
|
-
cite: boolean;
|
|
40
|
-
code: boolean;
|
|
41
|
-
em: boolean;
|
|
42
|
-
s: boolean;
|
|
43
|
-
strike: boolean;
|
|
44
|
-
strong: boolean;
|
|
45
|
-
tt: boolean;
|
|
46
|
-
var: boolean;
|
|
47
|
-
div: boolean;
|
|
48
|
-
center: boolean;
|
|
49
|
-
blockquote: boolean;
|
|
50
|
-
q: boolean;
|
|
51
|
-
ol: boolean;
|
|
52
|
-
ul: boolean;
|
|
53
|
-
dl: boolean;
|
|
54
|
-
table: boolean;
|
|
55
|
-
caption: boolean;
|
|
56
|
-
pre: boolean;
|
|
57
|
-
ruby: boolean;
|
|
58
|
-
rb: boolean;
|
|
59
|
-
rp: boolean;
|
|
60
|
-
rt: boolean;
|
|
61
|
-
rtc: boolean;
|
|
62
|
-
p: boolean;
|
|
63
|
-
span: boolean;
|
|
64
|
-
abbr: boolean;
|
|
65
|
-
dfn: boolean;
|
|
66
|
-
kbd: boolean;
|
|
67
|
-
samp: boolean;
|
|
68
|
-
data: boolean;
|
|
69
|
-
time: boolean;
|
|
70
|
-
mark: boolean;
|
|
71
|
-
br: boolean;
|
|
72
|
-
wbr: boolean;
|
|
73
|
-
hr: boolean;
|
|
74
|
-
li: boolean;
|
|
75
|
-
dt: boolean;
|
|
76
|
-
dd: boolean;
|
|
77
|
-
td: boolean;
|
|
78
|
-
th: boolean;
|
|
79
|
-
tr: boolean;
|
|
80
|
-
noinclude: boolean;
|
|
81
|
-
includeonly: boolean;
|
|
82
|
-
onlyinclude: boolean;
|
|
83
|
-
img: boolean;
|
|
84
|
-
};
|
|
21
|
+
permittedHtmlTags: Set<string>;
|
|
85
22
|
/**
|
|
86
23
|
* HTML tags that are only self-closing.
|
|
87
24
|
*/
|
|
88
|
-
implicitlyClosedHtmlTags:
|
|
25
|
+
implicitlyClosedHtmlTags: Set<string>;
|
|
89
26
|
/**
|
|
90
27
|
* Mapping of MediaWiki-esque token identifiers to a standardized lezer highlighting tag.
|
|
91
28
|
* Values are one of the default highlighting tags. The idea is to use as many default tags as
|
|
@@ -114,7 +51,6 @@ export declare const modeConfig: {
|
|
|
114
51
|
htmlTagAttribute: string;
|
|
115
52
|
htmlTagBracket: string;
|
|
116
53
|
htmlTagName: string;
|
|
117
|
-
indenting: string;
|
|
118
54
|
linkBracket: string;
|
|
119
55
|
linkDelimiter: string;
|
|
120
56
|
linkText: string;
|