TypeError: Cannot read properties of undefined (reading 'textContent')
Opened this issue · 2 comments
haxlock commented
Describe the bug
To Reproduce
Expected behavior
Screenshots
Applicable Versions:
- Netlify CMS version:
netlify-cms@2.10.192
- Git provider:
github
- Browser version:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
CMS configuration
backend:
name: github
repo: haxlock/myblog
branch: main
base_url: https://blog.haxlock.top
media_folder: source/images
public_folder: images
publish_mode: editorial_workflow
collections:
- name: posts
label: Post
folder: source/_posts
create: true
slug: "{{slug}}"
fields:
- label: Layout
name: layout
widget: hidden
default: blog
- label: Title
name: title
widget: string
- label: Publish Date
name: date
widget: datetime
- label: Updated Date
name: updated
widget: datetime
- label: Featured Image
name: thumbnail
widget: string
- label: abbrlink
name: abbrlink
widget: string
- label: Tags
name: tags
widget: list
- label: Categories
name: categories
widget: list
- label: TOC
name: toc
widget: boolean
default: true
- label: Body
name: body
widget: markdown
publish: true
type: folder_based_collection
sortable_fields:
- commit_date
- title
- date
- commit_author
view_filters: []
view_groups: []
slug:
encoding: unicode
clean_accents: false
sanitize_replacement: "-"
isFetching: false
error: null
Additional context
martinjagodic commented
Hi @haxlock, please fill out all the fields in the issue template. The information you provided is not enough to debug the problem.
I'm closing the issue for now. Once you add the missing information, I can open it again.
haxlock commented
I used the Netlify CMS service, associated with Vercel to achieve online writing markdown, when I press Ctrl+Z to undo the text, this error appeared, and there is a cursor can not move when I input Chinese, the content can not be entered into the problem, looking forward to your answer