Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find a descendant at path [7,0,0,0,2] in node: {"children":[{"type":"paragraph","ch... #6993

Closed
nanqic opened this issue Nov 25, 2023 · 1 comment

Comments

@nanqic
Copy link

nanqic commented Nov 25, 2023

Describe the bug
when edit,I press Shift+Enter , then
Error
There's been an error - please open an issue on GitHub.
To Reproduce

Expected behavior

Screenshots

Applicable Versions:

  • Decap CMS version: decap-cms@3.0.12
  • Git provider: git-gateway
  • Browser version: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 Edg/119.0.0.0

CMS configuration

backend:
  name: git-gateway
  branch: master
media_folder: static/f/up
public_folder: /f/up
collections:
  - name: posts
    label: Posts
    label_singular: Post
    description: |
      发布学习小组共修通知.
    folder: content/posts
    extension: md
    format: frontmatter
    slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
    summary: "{{title}} -- {{year}}/{{month}}/{{day}}"
    create: true
    sortable_fields:
      - date
      - commit_date
      - title
      - commit_author
    view_groups:
      - label: Year
        field: date
        pattern: \d{4}
        id: date__\d{4}
      - label: Tags
        field: tags
        id: tags__undefined
    fields:
      - label: Title
        name: title
        widget: string
        tagname: h1
      - label: Publish Date
        name: date
        widget: datetime
        dateFormat: YYYY-MM-DD
        timeFormat: HH:mm:ss
        format: YYYY-MM-DD HH:mm:ssZ
        date_format: YYYY-MM-DD
        time_format: HH:mm:ss
      - label: Categories
        name: categories
        widget: list
        default:
          - 慧灯禅修班
      - label: Tags
        name: tags
        widget: list
        default:
          - 201x届
      - label: Attachments (Once uploaded/selected, you can copy the link from preview
          panel to body windown below)
        name: attachments
        widget: file
        required: false
        media_library:
          config:
            multiple: true
      - label: Body
        name: body
        widget: markdown
        hint: Main content goes here.
    publish: true
    type: folder_based_collection
    view_filters: []
publish_mode: simple
slug:
  encoding: unicode
  clean_accents: false
  sanitize_replacement: "-"
isFetching: false
error: null

Additional context

@martinjagodic
Copy link
Member

Hi @nanqic, 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.

@martinjagodic martinjagodic closed this as not planned Won't fix, can't repro, duplicate, stale Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants