braft-utils
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -17,3 +17,3 @@ 'use strict'; | ||
isEditorState: function isEditorState(editorState) { | ||
return editorState && editorState.getSelection && getSelection.getCurrentContent; | ||
return editorState instanceof _draftJs.EditorState; | ||
}, | ||
@@ -20,0 +20,0 @@ createEmptyEditorState: function createEmptyEditorState(editorDecorators) { |
{ | ||
"name": "braft-utils", | ||
"version": "0.0.15", | ||
"version": "0.0.16", | ||
"description": "Utils for Braft Editor", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111394