@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/dist/token.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @author pastakhov, MusikAnimal and others
2
+ * @author pastakhov, MusikAnimal, Bhsd and others
3
3
  * @license GPL-2.0-or-later
4
4
  * @see https://gerrit.wikimedia.org/g/mediawiki/extensions/CodeMirror
5
5
  */
@@ -28,7 +28,6 @@ declare const tokens: {
28
28
  freeExtLink: string;
29
29
  freeExtLinkProtocol: string;
30
30
  hr: string;
31
- /** 当前起始位置 */
32
31
  htmlEntity: string;
33
32
  htmlTagAttribute: string;
34
33
  htmlTagAttributeValue: string;
@@ -54,11 +53,6 @@ declare const tokens: {
54
53
  skipFormatting: string;
55
54
  strong: string;
56
55
  tableBracket: string;
57
- /**
58
- * 浅复制嵌套状态
59
- * @param a
60
- * @param b
61
- */
62
56
  tableCaption: string;
63
57
  tableDefinition: string;
64
58
  tableDefinitionValue: string;
package/i18n/en.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.14.4",
2
+ "version": "2.14.5",
3
3
  "lang": "en",
4
4
  "i18n-failed": "Failed to fetch the translation file in $1.",
5
5
  "title": "CodeMirror Addons",
package/i18n/zh-hans.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.14.4",
2
+ "version": "2.14.5",
3
3
  "lang": "zh-hans",
4
4
  "i18n-failed": "获取 $1 的语言文件失败。",
5
5
  "title": "CodeMirror插件",
package/i18n/zh-hant.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.14.4",
2
+ "version": "2.14.5",
3
3
  "lang": "zh-hant",
4
4
  "i18n-failed": "取得 $1 的語言檔案失敗。",
5
5
  "title": "CodeMirror外掛程式",
package/mediawiki.css CHANGED
@@ -37,6 +37,11 @@
37
37
  .wikiEditor-ui-toolbar {
38
38
  z-index: 7;
39
39
  }
40
+ .cm-bidi-isolate {
41
+ direction: ltr;
42
+ unicode-bidi: isolate;
43
+ display: inline-block;
44
+ }
40
45
 
41
46
  /**
42
47
  * @author pastakhov and others
@@ -113,6 +118,9 @@
113
118
  color: #80c;
114
119
  font-weight: bold;
115
120
  }
121
+ .cm-editor[dir="rtl"] .cm-mw-template-name {
122
+ unicode-bidi: isolate;
123
+ }
116
124
  .cm-mw-template-argument-name {
117
125
  color: #b0c;
118
126
  font-weight: normal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bhsd/codemirror-mediawiki",
3
- "version": "2.14.4",
3
+ "version": "2.14.5",
4
4
  "description": "Modified CodeMirror mode based on wikimedia/mediawiki-extensions-CodeMirror",
5
5
  "keywords": [
6
6
  "mediawiki",
@@ -50,7 +50,7 @@
50
50
  "@codemirror/language": "^6.10.1",
51
51
  "@codemirror/lint": "^6.8.0",
52
52
  "@codemirror/state": "^6.4.1",
53
- "@codemirror/view": "^6.24.1",
53
+ "@codemirror/view": "^6.26.4",
54
54
  "@lezer/common": "^1.2.1",
55
55
  "wikiparser-node": "^1.9.0"
56
56
  },