@uiw/react-md-editor 3.23.0 → 3.23.2

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.
@@ -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/esm/index.css CHANGED
@@ -64,7 +64,7 @@
64
64
  .w-md-editor-preview .anchor {
65
65
  display: none;
66
66
  }
67
- .w-md-editor-preview .contains-task-list {
67
+ .w-md-editor-preview .contains-task-list li.task-list-item {
68
68
  list-style: none;
69
69
  }
70
70
  .w-md-editor-show-preview .w-md-editor-input {
package/esm/index.less CHANGED
@@ -66,7 +66,7 @@
66
66
  .anchor {
67
67
  display: none;
68
68
  }
69
- .contains-task-list {
69
+ .contains-task-list li.task-list-item {
70
70
  list-style: none;
71
71
  }
72
72
  }
@@ -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/lib/index.less CHANGED
@@ -66,7 +66,7 @@
66
66
  .anchor {
67
67
  display: none;
68
68
  }
69
- .contains-task-list {
69
+ .contains-task-list li.task-list-item {
70
70
  list-style: none;
71
71
  }
72
72
  }
@@ -310,7 +310,7 @@
310
310
  .w-md-editor-preview .anchor {
311
311
  display: none;
312
312
  }
313
- .w-md-editor-preview .contains-task-list {
313
+ .w-md-editor-preview .contains-task-list li.task-list-item {
314
314
  list-style: none;
315
315
  }
316
316
  .w-md-editor-show-preview .w-md-editor-input {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uiw/react-md-editor",
3
- "version": "3.23.0",
3
+ "version": "3.23.2",
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>",
@@ -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
  }
package/src/index.less CHANGED
@@ -66,7 +66,7 @@
66
66
  .anchor {
67
67
  display: none;
68
68
  }
69
- .contains-task-list {
69
+ .contains-task-list li.task-list-item {
70
70
  list-style: none;
71
71
  }
72
72
  }