diff options
author | Sam Wilkins <35748010+samwilkins333@users.noreply.github.com> | 2020-02-12 19:02:15 -0500 |
---|---|---|
committer | Sam Wilkins <35748010+samwilkins333@users.noreply.github.com> | 2020-02-12 19:02:15 -0500 |
commit | 5dfd071b082d9c2000508ec680009746d35a72bd (patch) | |
tree | 31ced9548bb9074ad6808e4363b291a4ce638682 /src/client/util/RichTextSchema.tsx | |
parent | 28079636e5b58f587ec42cbb49f629165181296c (diff) | |
parent | 6489427020825657e29e9663b888a3a1cd1d81e0 (diff) |
Merge branch 'fixhero' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/util/RichTextSchema.tsx')
-rw-r--r-- | src/client/util/RichTextSchema.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx index 3cf0561dc..80bd75771 100644 --- a/src/client/util/RichTextSchema.tsx +++ b/src/client/util/RichTextSchema.tsx @@ -1136,7 +1136,7 @@ const fromJson = schema.nodeFromJSON; schema.nodeFromJSON = (json: any) => { const node = fromJson(json); - if (json.type === schema.marks.summarize.name) { + if (json.type === schema.nodes.summary.name) { node.attrs.text = Slice.fromJSON(schema, node.attrs.textslice); } return node; |