@bhsd/codemirror-mediawiki 2.18.7 → 2.18.8
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 +1 -32
- package/dist/main.min.js +15 -15
- package/dist/mw.min.js +19 -19
- package/dist/wiki.min.js +19 -19
- package/i18n/en.json +1 -1
- package/i18n/zh-hans.json +1 -1
- package/i18n/zh-hant.json +1 -1
- package/package.json +3 -3
package/dist/config.d.ts
CHANGED
|
@@ -96,35 +96,4 @@ tokens: {
|
|
|
96
96
|
* @see https://codemirror.net/docs/ref/#language.StreamParser.tokenTable
|
|
97
97
|
* @see https://lezer.codemirror.net/docs/ref/#highlight.Tag%5Edefine
|
|
98
98
|
*/
|
|
99
|
-
tokenTable: Record<string, Tag
|
|
100
|
-
/** Common HTML attributes permitted in MediaWiki Core. */
|
|
101
|
-
htmlAttrs: string[],
|
|
102
|
-
/** HTML attributes that are only permitted on certain HTML tags. */
|
|
103
|
-
elementAttrs: {
|
|
104
|
-
table: string[];
|
|
105
|
-
td: string[];
|
|
106
|
-
th: string[];
|
|
107
|
-
blockquote: string[];
|
|
108
|
-
q: string[];
|
|
109
|
-
ins: string[];
|
|
110
|
-
del: string[];
|
|
111
|
-
time: string[];
|
|
112
|
-
ol: string[];
|
|
113
|
-
li: string[];
|
|
114
|
-
img: string[];
|
|
115
|
-
rt: string[];
|
|
116
|
-
data: string[];
|
|
117
|
-
meta: string[];
|
|
118
|
-
link: string[];
|
|
119
|
-
gallery: string[];
|
|
120
|
-
poem: string[];
|
|
121
|
-
},
|
|
122
|
-
/** HTML attributes that are only permitted on certain extension tags. */
|
|
123
|
-
extAttrs: {
|
|
124
|
-
indicator: string[];
|
|
125
|
-
langconvert: string[];
|
|
126
|
-
ref: string[];
|
|
127
|
-
references: string[];
|
|
128
|
-
charinsert: string[];
|
|
129
|
-
templatestyles: string[];
|
|
130
|
-
};
|
|
99
|
+
tokenTable: Record<string, Tag>;
|