-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Description
Describe the bug
Hitting Shift + Enter will randomly cause a crash
To Reproduce
Press Shift + Enter a lot in the WYSIWYG editor and backspace, and Enter + Shift again and it will crash.
Expected behavior
It shouldn't crash.
Screenshots
Applicable Versions:
- Decap CMS version:
decap-cms@3.7.1
- Git provider:
git-gateway
- Browser version:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.0
CMS configuration
backend:
name: git-gateway
branch: main
site_url: https://knit-and-known.netlify.app
media_folder: client/public/images/blog
public_folder: /images/blog
collections:
- name: blog
label: Blog Posts
folder: content/blog
create: true
slug: "{{slug}}"
fields:
- label: Title
name: title
widget: string
- label: Publish Date
name: date
widget: datetime
date_format: YYYY-MM-DD
time_format: HH:mm
format: YYYY-MM-DDTHH:mm:ss.SSSZ
- label: Featured Image
name: image
widget: image
required: false
- label: Excerpt
name: excerpt
widget: text
required: false
- label: Author
name: author
widget: string
default: Esther Kimball
- label: Author Photo
name: authorPhoto
widget: image
default: client/public/images/blog/essie.jpg
required: false
- label: Author Role
name: authorRole
widget: string
default: Certified Birth Doula
- label: Published
name: published
widget: boolean
default: true
- label: Body
name: body
widget: markdown
publish: true
type: folder_based_collection
sortable_fields:
- commit_date
- title
- date
- author
view_filters: []
view_groups: []
publish_mode: simple
slug:
encoding: unicode
clean_accents: false
sanitize_replacement: "-"
display_url: https://knit-and-known.netlify.app
isFetching: false
error: null
Additional context
Another variation of the error I got was:
Error: Cannot find a descendant at path [2,0,0,1,2] in node: {"children":[{"type":"heading-two","...