-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
If I go to Admin->New Page
then click on Rich-Text,
then select piece of text and
turn it into a list (ordered or unordered)
the app crushes with:
Unhandled Rejection (Error): No serializer defined for node of type "list-item".
▶ 21 stack frames were collapsed.
getSerialized
src/components/pageTemplates/ParagraphTemplate.js:223
220 | }
221 | } else {
222 | // Handle the extra wrapping required for list buttons.
> 223 | const isList = hasBlock('list-item')
224 | const isType = editorValue.blocks.some(block => {
225 | return !!document.getClosest(block.key, parent => parent.type === type)
226 | })
View compiled
onChange
src/components/pageTemplates/ParagraphTemplate.js:1
> 1 | import React, { useState, useRef } from 'react'
2 | import { css } from '@emotion/core'
3 | import { BlogContext } from '../../context/mainContext'
4 | import { Editor, getEventTransfer } from 'slate-react'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels