Skip to content

Error: Cannot find a descendant at path [2,1,1,4] in node: {"children":[{"type":"heading-two","ch... #7535

@karenpis

Description

@karenpis

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

  • Decap CMS version: decap-cms@3.7.1
  • Git provider: github
  • Browser version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36

CMS configuration

local_backend:
  url: http://localhost:8081/api/v1
  allowed_hosts:
    - ac00-2001-171b-c9a8-9700-7c57-f704-dcfb-c59c.ngrok-free.app
    - ngrok.free.app
    - t-cghuwauc.tunn.dev
    - localhost
load_config_file: false
i18n:
  &a1
  locales:
    &a22
    - fr
    - en
  default_locale: fr
  structure: multiple_files
backend:
  name: github
  repo: TiborUdvari/pisoni-lab
  branch: main
  site_domain: pisoni-lab.pages.dev
  base_url: https://pisoni-lab.pages.dev
  auth_endpoint: /api/auth
  squash_merges: true
media_library:
  name: cloudinary
  config:
    cloud_name: dzcyhjdau
    api_key: "962182959823849"
slug:
  encoding: ascii
  clean_accents: true
  sanitize_replacement: "-"
media_folder: /public/assets
public_folder: /public/assets
collections:
  - name: pages
    label: Pages
    folder: src/content/pages
    create: true
    i18n: *a1
    slug: "{{fields.title}}"
    fields:
      - label: Title
        name: title
        i18n: translate
        widget: string
        required: true
      - label: Slug
        name: shortSlug
        i18n: translate
        widget: string
        required: false
        hint: Change this for custom url not based on the title
      - label: Full Slug
        name: slug
        i18n: none
        widget: hidden
        hint: Calculated slug with hook
      - label: Locale
        name: locale
        i18n: none
        widget: hidden
        required: true
        hint: Either en or fr in this project
      - label: PageUuid
        name: pageUuid
        i18n: none
        widget: hidden
        required: true
        hint: Unique id for page
      - label: Localized Page Uuid
        name: "localizedPageUuid:"
        i18n: none
        widget: hidden
        required: true
        hint: Localized Page Uuid
      - label: Page Settings
        name: settings
        widget: object
        required: true
        i18n: translate
        collapsed: true
        fields:
          - label: Subtitle
            name: subtitle
            i18n: translate
            widget: string
            required: false
          - label: Template
            name: template
            i18n: duplicate
            widget: select
            default: default
            options:
              - default
              - expanded
            required: true
          - label: Slug
            name: shortSlug
            i18n: translate
            widget: string
            required: false
            hint: Change this for custom url not based on the title
          - label: Display Title
            name: display_title
            widget: string
            required: false
            i18n: translate
          - label: Cover
            name: cover
            required: false
            i18n: translate
            widget: object
            summary: "{{fields.alt}}"
            fields:
              - label: Image
                name: image
                widget: image
                required: false
                i18n: none
              - label: Alt
                name: alt
                widget: string
                required: false
                i18n: none
      - label: SEO Settings
        name: seo
        widget: object
        required: true
        i18n: translate
        collapsed: true
        fields:
          - label: Meta Description
            name: description
            widget: text
            i18n: translate
          - label: Image
            name: image
            widget: image
            required: false
            i18n: duplicate
            hint: PNG or JPEG social image – 1200x600px – 8MB max
      - label: Blocks
        name: b
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions