@bhsd/codemirror-mediawiki 2.0.9 → 2.0.10
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 -15
- package/dist/codemirror.d.ts +0 -2
- package/dist/main.min.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
- [view](#view)
|
|
12
12
|
- [lint](#lint)
|
|
13
13
|
- [prefer](#prefer)
|
|
14
|
-
- [save](#save)
|
|
15
14
|
- [setIndent](#setindent)
|
|
16
15
|
- [setLanguage](#setlanguage)
|
|
17
16
|
- [update](#update)
|
|
@@ -22,7 +21,7 @@
|
|
|
22
21
|
|
|
23
22
|
This repository contains a modified version of the frontend scripts and styles from [MediaWiki extension CodeMirror](https://www.mediawiki.org/wiki/Extension:CodeMirror). The goal is to support a standalone integration between [CodeMirror](https://codemimrror.net) and [Wikitext](https://www.mediawiki.org/wiki/Wikitext), without the need for a [MediaWiki environment](https://doc.wikimedia.org/mediawiki-core/master/js/).
|
|
24
23
|
|
|
25
|
-
Here is a [demo](https://bhsd-harry.github.io/
|
|
24
|
+
Here is a [demo](https://bhsd-harry.github.io/codemirror-mediawiki).
|
|
26
25
|
|
|
27
26
|
# Usage
|
|
28
27
|
|
|
@@ -120,19 +119,6 @@ cm.prefer( [
|
|
|
120
119
|
|
|
121
120
|
</details>
|
|
122
121
|
|
|
123
|
-
## save
|
|
124
|
-
|
|
125
|
-
<details>
|
|
126
|
-
<summary>Expand</summary>
|
|
127
|
-
|
|
128
|
-
Save the content of CodeMirror to the textarea.
|
|
129
|
-
|
|
130
|
-
```js
|
|
131
|
-
cm.update();
|
|
132
|
-
```
|
|
133
|
-
|
|
134
|
-
</details>
|
|
135
|
-
|
|
136
122
|
## setIndent
|
|
137
123
|
|
|
138
124
|
<details>
|
package/dist/codemirror.d.ts
CHANGED