We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03e52bd commit 628225cCopy full SHA for 628225c
src/editorState.js
@@ -25,7 +25,7 @@ export default class EditorState {
25
if (typeof data === 'string' && data !== '')
26
data = JSON.parse(data);
27
28
- if (!data && data !== null) {
+ if (!data) {
29
// create empty data from schema
30
data = getBlankData(schema, (ref) => EditorState.getRef(ref, schema));
31
} else {
0 commit comments