@bhsd/codemirror-mediawiki 2.19.9 → 2.20.0
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/linter.mjs +1 -1
- package/dist/main.min.js +15 -15
- package/dist/mw.min.js +20 -20
- package/dist/mwConfig.mjs +22 -20
- package/dist/static.d.ts +1 -1
- package/dist/token.d.ts +2 -1
- package/dist/wiki.min.js +20 -20
- package/i18n/en.json +1 -1
- package/i18n/zh-hans.json +1 -1
- package/i18n/zh-hant.json +1 -1
- package/mediawiki.css +3 -0
- package/mw/config.ts +19 -16
- package/package.json +3 -3
- package/src/linter.ts +1 -1
- package/src/static.ts +5 -3
package/README.md
CHANGED
|
@@ -460,7 +460,7 @@ CodeMirror6.replaceSelections(cm.view, str => str.toUpperCase());
|
|
|
460
460
|
|
|
461
461
|
*version added: 2.1.11*
|
|
462
462
|
|
|
463
|
-
Allow multiple selections.
|
|
463
|
+
Allow multiple selections. This extension also enables rectangular selections by holding down the `Alt` key.
|
|
464
464
|
|
|
465
465
|
## autocompletion
|
|
466
466
|
|
package/dist/linter.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CDN, loadScript } from "@bhsd/common";
|
|
2
2
|
const getWikiLinter = async (opt) => {
|
|
3
|
-
const REPO = "npm/wikiparser-node
|
|
3
|
+
const REPO = "npm/wikiparser-node", DIR = `${REPO}/extensions/dist`, lang = opt == null ? void 0 : opt["i18n"];
|
|
4
4
|
await loadScript(`${DIR}/base.min.js`, "wikiparse");
|
|
5
5
|
await loadScript(`${DIR}/lint.min.js`, "wikiparse.Linter");
|
|
6
6
|
if (typeof lang === "string") {
|