@uiw/react-md-editor 4.0.9 → 4.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
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<div markdown="1">
|
|
2
2
|
<sup>Using <a href="https://wangchujiang.com/#/app" target="_blank">my app</a> is also a way to <a href="https://wangchujiang.com/#/sponsor" target="_blank">support</a> me:</sup>
|
|
3
3
|
<br>
|
|
4
|
+
<a target="_blank" href="https://apps.apple.com/app/Deskmark/6755948110" title="Deskmark for macOS"><img alt="Deskmark" height="52" width="52" src="https://wangchujiang.com/appicon/deskmark.png"></a>
|
|
4
5
|
<a target="_blank" href="https://apps.apple.com/app/Keyzer/6500434773" title="Keyzer for macOS"><img alt="Keyzer" height="52" width="52" src="https://wangchujiang.com/appicon/keyzer.png"></a>
|
|
5
6
|
<a target="_blank" href="https://github.com/jaywcjlove/vidwall-hub" title="Vidwall Hub for macOS"><img alt="Vidwall Hub" height="52" width="52" src="https://wangchujiang.com/appicon/vidwall-hub.png"></a>
|
|
6
7
|
<a target="_blank" href="https://apps.apple.com/app/VidCrop/6752624705" title="VidCrop for macOS"><img alt="VidCrop" height="52" width="52" src="https://wangchujiang.com/appicon/vidcrop.png"></a>
|
|
@@ -2,6 +2,7 @@ import MDEditor from './Editor.nohighlight';
|
|
|
2
2
|
import * as commands from './commands/';
|
|
3
3
|
import * as MarkdownUtil from './utils/markdownUtils';
|
|
4
4
|
import './index.less';
|
|
5
|
+
export { headingExecute } from './commands/title';
|
|
5
6
|
export * from './commands/';
|
|
6
7
|
export * from './commands/group';
|
|
7
8
|
export * from './utils/markdownUtils';
|
|
@@ -9,5 +10,7 @@ export * from './utils/InsertTextAtPosition';
|
|
|
9
10
|
export * from './Editor.nohighlight';
|
|
10
11
|
export * from './Context';
|
|
11
12
|
export * from './Types';
|
|
13
|
+
export { default as handleKeyDown } from './components/TextArea/handleKeyDown';
|
|
14
|
+
export { default as shortcuts } from './components/TextArea/shortcuts';
|
|
12
15
|
export { MarkdownUtil, commands };
|
|
13
16
|
export default MDEditor;
|
package/esm/index.nohighlight.js
CHANGED
|
@@ -2,6 +2,7 @@ import MDEditor from './Editor.nohighlight';
|
|
|
2
2
|
import * as commands from "./commands/index.js";
|
|
3
3
|
import * as MarkdownUtil from "./utils/markdownUtils.js";
|
|
4
4
|
import "./index.css";
|
|
5
|
+
export { headingExecute } from "./commands/title.js";
|
|
5
6
|
export * from "./commands/index.js";
|
|
6
7
|
export * from "./commands/group.js";
|
|
7
8
|
export * from "./utils/markdownUtils.js";
|
|
@@ -9,5 +10,7 @@ export * from "./utils/InsertTextAtPosition.js";
|
|
|
9
10
|
export * from './Editor.nohighlight';
|
|
10
11
|
export * from "./Context.js";
|
|
11
12
|
export * from "./Types.js";
|
|
13
|
+
export { default as handleKeyDown } from "./components/TextArea/handleKeyDown.js";
|
|
14
|
+
export { default as shortcuts } from "./components/TextArea/shortcuts.js";
|
|
12
15
|
export { MarkdownUtil, commands };
|
|
13
16
|
export default MDEditor;
|
|
@@ -2,6 +2,7 @@ import MDEditor from './Editor.nohighlight';
|
|
|
2
2
|
import * as commands from './commands/';
|
|
3
3
|
import * as MarkdownUtil from './utils/markdownUtils';
|
|
4
4
|
import './index.less';
|
|
5
|
+
export { headingExecute } from './commands/title';
|
|
5
6
|
export * from './commands/';
|
|
6
7
|
export * from './commands/group';
|
|
7
8
|
export * from './utils/markdownUtils';
|
|
@@ -9,5 +10,7 @@ export * from './utils/InsertTextAtPosition';
|
|
|
9
10
|
export * from './Editor.nohighlight';
|
|
10
11
|
export * from './Context';
|
|
11
12
|
export * from './Types';
|
|
13
|
+
export { default as handleKeyDown } from './components/TextArea/handleKeyDown';
|
|
14
|
+
export { default as shortcuts } from './components/TextArea/shortcuts';
|
|
12
15
|
export { MarkdownUtil, commands };
|
|
13
16
|
export default MDEditor;
|
package/lib/index.nohighlight.js
CHANGED
|
@@ -1,14 +1,36 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
|
|
3
4
|
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard")["default"];
|
|
4
5
|
Object.defineProperty(exports, "__esModule", {
|
|
5
6
|
value: true
|
|
6
7
|
});
|
|
7
8
|
var _exportNames = {
|
|
8
9
|
commands: true,
|
|
9
|
-
MarkdownUtil: true
|
|
10
|
+
MarkdownUtil: true,
|
|
11
|
+
headingExecute: true,
|
|
12
|
+
handleKeyDown: true,
|
|
13
|
+
shortcuts: true
|
|
10
14
|
};
|
|
11
15
|
exports["default"] = exports.commands = exports.MarkdownUtil = void 0;
|
|
16
|
+
Object.defineProperty(exports, "handleKeyDown", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function get() {
|
|
19
|
+
return _handleKeyDown["default"];
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
Object.defineProperty(exports, "headingExecute", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function get() {
|
|
25
|
+
return _title.headingExecute;
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "shortcuts", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function get() {
|
|
31
|
+
return _shortcuts["default"];
|
|
32
|
+
}
|
|
33
|
+
});
|
|
12
34
|
var _Editor = _interopRequireWildcard(require("./Editor.nohighlight"));
|
|
13
35
|
Object.keys(_Editor).forEach(function (key) {
|
|
14
36
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -47,6 +69,7 @@ Object.keys(MarkdownUtil).forEach(function (key) {
|
|
|
47
69
|
}
|
|
48
70
|
});
|
|
49
71
|
});
|
|
72
|
+
var _title = require("./commands/title");
|
|
50
73
|
var _group = require("./commands/group");
|
|
51
74
|
Object.keys(_group).forEach(function (key) {
|
|
52
75
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -95,4 +118,6 @@ Object.keys(_Types).forEach(function (key) {
|
|
|
95
118
|
}
|
|
96
119
|
});
|
|
97
120
|
});
|
|
121
|
+
var _handleKeyDown = _interopRequireDefault(require("./components/TextArea/handleKeyDown"));
|
|
122
|
+
var _shortcuts = _interopRequireDefault(require("./components/TextArea/shortcuts"));
|
|
98
123
|
var _default = exports["default"] = _Editor["default"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uiw/react-md-editor",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.10",
|
|
4
4
|
"description": "A markdown editor with preview, implemented with React.js and TypeScript.",
|
|
5
5
|
"homepage": "https://uiwjs.github.io/react-md-editor/",
|
|
6
6
|
"funding": "https://jaywcjlove.github.io/#/sponsor",
|
|
@@ -3,6 +3,7 @@ import * as commands from './commands/';
|
|
|
3
3
|
import * as MarkdownUtil from './utils/markdownUtils';
|
|
4
4
|
import './index.less';
|
|
5
5
|
|
|
6
|
+
export { headingExecute } from './commands/title';
|
|
6
7
|
export * from './commands/';
|
|
7
8
|
export * from './commands/group';
|
|
8
9
|
export * from './utils/markdownUtils';
|
|
@@ -10,6 +11,8 @@ export * from './utils/InsertTextAtPosition';
|
|
|
10
11
|
export * from './Editor.nohighlight';
|
|
11
12
|
export * from './Context';
|
|
12
13
|
export * from './Types';
|
|
14
|
+
export { default as handleKeyDown } from './components/TextArea/handleKeyDown';
|
|
15
|
+
export { default as shortcuts } from './components/TextArea/shortcuts';
|
|
13
16
|
|
|
14
17
|
export { MarkdownUtil, commands };
|
|
15
18
|
|