decap-cms-widget-markdown 3.0.0 → 3.0.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.
@@ -9,9 +9,6 @@ var _isCursorInEmptyParagraph = _interopRequireDefault(require("./locations/isCu
9
9
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
10
  function insertShortcode(editor, pluginConfig) {
11
11
  const defaultValues = pluginConfig.fields.toMap().mapKeys((_, field) => field.get('name')).filter(field => field.has('default')).map(field => field.get('default'));
12
-
13
- // console.log(defaultValues);
14
-
15
12
  const nodeData = {
16
13
  type: 'shortcode',
17
14
  id: pluginConfig.id,
@@ -29,7 +26,6 @@ function insertShortcode(editor, pluginConfig) {
29
26
  return;
30
27
  }
31
28
  _slate.Transforms.insertNodes(editor, nodeData);
32
- console.log('handleInsertShortcode', pluginConfig);
33
29
  }
34
30
  var _default = insertShortcode;
35
31
  exports.default = _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "decap-cms-widget-markdown",
3
3
  "description": "Widget for editing markdown in Decap CMS.",
4
- "version": "3.0.0",
4
+ "version": "3.0.2",
5
5
  "homepage": "https://www.decapcms.org/docs/widgets/#markdown",
6
6
  "repository": "https://github.com/decaporg/decap-cms/tree/master/packages/decap-cms-widget-markdown",
7
7
  "bugs": "https://github.com/decaporg/decap-cms/issues",
@@ -47,7 +47,7 @@
47
47
  "peerDependencies": {
48
48
  "@emotion/core": "^10.0.35",
49
49
  "@emotion/styled": "^10.0.27",
50
- "decap-cms-ui-default": "^2.12.1",
50
+ "decap-cms-ui-default": "^3.0.0",
51
51
  "immutable": "^3.7.6",
52
52
  "lodash": "^4.17.11",
53
53
  "prop-types": "^15.7.2",
@@ -60,5 +60,5 @@
60
60
  "commonmark-spec": "^0.30.0",
61
61
  "slate-hyperscript": "^0.77.0"
62
62
  },
63
- "gitHead": "053d640b29df7432d8bd45565a41b1194dbf5b96"
63
+ "gitHead": "34f0b63b4602efa261ef11aafae85460ca8f77cd"
64
64
  }
@@ -9,8 +9,6 @@ function insertShortcode(editor, pluginConfig) {
9
9
  .filter(field => field.has('default'))
10
10
  .map(field => field.get('default'));
11
11
 
12
- // console.log(defaultValues);
13
-
14
12
  const nodeData = {
15
13
  type: 'shortcode',
16
14
  id: pluginConfig.id,
@@ -28,7 +26,6 @@ function insertShortcode(editor, pluginConfig) {
28
26
  }
29
27
 
30
28
  Transforms.insertNodes(editor, nodeData);
31
- console.log('handleInsertShortcode', pluginConfig);
32
29
  }
33
30
 
34
31
  export default insertShortcode;