@bhsd/codemirror-mediawiki 2.2.0 → 2.2.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/README.md +4 -4
- package/dist/escape.d.ts +2 -0
- package/dist/main.min.js +11 -11
- package/dist/main.min.js.map +4 -4
- package/dist/mw.min.js +1 -1
- package/dist/mw.min.js.map +4 -4
- package/mw/base.ts +8 -13
- package/mw/msg.ts +1 -1
- package/package.json +3 -3
- package/src/codemirror.ts +6 -0
- package/{mw → src}/escape.ts +5 -13
package/README.md
CHANGED
|
@@ -87,7 +87,7 @@ The textarea element replaced by CodeMirror, read-only.
|
|
|
87
87
|
<details>
|
|
88
88
|
<summary>Expand</summary>
|
|
89
89
|
|
|
90
|
-
*version added: 2.0.
|
|
90
|
+
*version added: 2.0.14*
|
|
91
91
|
|
|
92
92
|
**type**: `string`
|
|
93
93
|
The current language mode, read-only.
|
|
@@ -123,7 +123,7 @@ Whether the editor is visible, read-only.
|
|
|
123
123
|
<details>
|
|
124
124
|
<summary>Expand</summary>
|
|
125
125
|
|
|
126
|
-
*version added: 2.2.
|
|
126
|
+
*version added: 2.2.1*
|
|
127
127
|
|
|
128
128
|
**param**: [`KeyBinding[]`](https://codemirror.net/docs/ref/#view.KeyBinding) the extra key bindings
|
|
129
129
|
Add extra key bindings.
|
|
@@ -235,7 +235,7 @@ cm.setContent('');
|
|
|
235
235
|
<details>
|
|
236
236
|
<summary>Expand</summary>
|
|
237
237
|
|
|
238
|
-
*version added: 2.0.
|
|
238
|
+
*version added: 2.0.9*
|
|
239
239
|
|
|
240
240
|
**param**: `string` the indentation string, default as tab
|
|
241
241
|
Set the indentation string.
|
|
@@ -301,7 +301,7 @@ Refresh linting immediately.
|
|
|
301
301
|
<details>
|
|
302
302
|
<summary>Expand</summary>
|
|
303
303
|
|
|
304
|
-
*version added: 2.2.
|
|
304
|
+
*version added: 2.2.1*
|
|
305
305
|
|
|
306
306
|
**param**: [`EditorView`](https://codemirror.net/6/docs/ref/#view.EditorView) the CodeMirror EditorView instance
|
|
307
307
|
**param**: `(str: string) => string` the replacement function
|
package/dist/escape.d.ts
ADDED