@atlaskit/editor-plugin-guideline 0.3.3 → 0.3.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-plugin-guideline
2
2
 
3
+ ## 0.3.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) - [ED-13910] Fix prosemirror types
8
+
3
9
  ## 0.3.3
4
10
 
5
11
  ### Patch Changes
@@ -79,7 +79,7 @@ var guidelinePlugin = function guidelinePlugin(options, api) {
79
79
  if (!editorState) {
80
80
  return null;
81
81
  }
82
- return key.getState(editorState);
82
+ return key.getState(editorState) || null;
83
83
  },
84
84
  actions: {
85
85
  displayGuideline: displayGuideline
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-guideline",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "sideEffects": false
5
5
  }
@@ -72,7 +72,7 @@ export const guidelinePlugin = (options, api) => ({
72
72
  if (!editorState) {
73
73
  return null;
74
74
  }
75
- return key.getState(editorState);
75
+ return key.getState(editorState) || null;
76
76
  },
77
77
  actions: {
78
78
  displayGuideline: displayGuideline
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-guideline",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "sideEffects": false
5
5
  }
@@ -71,7 +71,7 @@ export var guidelinePlugin = function guidelinePlugin(options, api) {
71
71
  if (!editorState) {
72
72
  return null;
73
73
  }
74
- return key.getState(editorState);
74
+ return key.getState(editorState) || null;
75
75
  },
76
76
  actions: {
77
77
  displayGuideline: displayGuideline
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-guideline",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-guideline",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "guideline plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",