@uiw/react-md-editor 3.23.0 → 3.23.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/dist/mdeditor.js +174 -174
- package/dist/mdeditor.min.js +1 -1
- package/esm/commands/index.js +0 -1
- package/lib/commands/index.js +0 -1
- package/package.json +1 -1
- package/src/commands/index.ts +0 -1
package/esm/commands/index.js
CHANGED
|
@@ -80,7 +80,6 @@ class TextAreaCommandOrchestrator {
|
|
|
80
80
|
return getStateFromTextArea(this.textArea);
|
|
81
81
|
}
|
|
82
82
|
executeCommand(command, dispatch, state, shortcuts) {
|
|
83
|
-
console.log('state:', state);
|
|
84
83
|
command.execute && command.execute(_extends({
|
|
85
84
|
command
|
|
86
85
|
}, getStateFromTextArea(this.textArea)), this.textApi, dispatch, state, shortcuts);
|
package/lib/commands/index.js
CHANGED
|
@@ -267,7 +267,6 @@ var TextAreaCommandOrchestrator = /*#__PURE__*/function () {
|
|
|
267
267
|
}, {
|
|
268
268
|
key: "executeCommand",
|
|
269
269
|
value: function executeCommand(command, dispatch, state, shortcuts) {
|
|
270
|
-
console.log('state:', state);
|
|
271
270
|
command.execute && command.execute((0, _objectSpread2["default"])({
|
|
272
271
|
command: command
|
|
273
272
|
}, getStateFromTextArea(this.textArea)), this.textApi, dispatch, state, shortcuts);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uiw/react-md-editor",
|
|
3
|
-
"version": "3.23.
|
|
3
|
+
"version": "3.23.1",
|
|
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
|
"author": "kenny wang <wowohoo@qq.com>",
|
package/src/commands/index.ts
CHANGED
|
@@ -167,7 +167,6 @@ class TextAreaCommandOrchestrator implements CommandOrchestrator {
|
|
|
167
167
|
state?: ExecuteCommandState,
|
|
168
168
|
shortcuts?: string[],
|
|
169
169
|
): void {
|
|
170
|
-
console.log('state:', state);
|
|
171
170
|
command.execute &&
|
|
172
171
|
command.execute({ command, ...getStateFromTextArea(this.textArea) }, this.textApi, dispatch, state, shortcuts);
|
|
173
172
|
}
|