Skip to content

IndexSizeError: Failed to execute 'setStart' on 'Range': There is no child at offset 3. #6922

@Kajiekazz

Description

@Kajiekazz

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

  • Netlify CMS version: netlify-cms@2.10.192
  • Git provider: git-gateway
  • Browser version: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36

CMS configuration

backend:
  name: git-gateway
  branch: master
media_folder: source/images
public_folder: /images
collections:
  - name: all_posts
    fields:
      - label: Title
        name: title
        widget: string
      - label: Publish Date
        name: date
        widget: datetime
        dateFormat: YYYY-MM-DD
        timeFormat: HH:mm:ss
        format: YYYY-MM-DD HH:mm:ss
        required: false
        date_format: YYYY-MM-DD
        time_format: HH:mm:ss
      - label: Tags
        name: tags
        widget: list
        required: false
      - label: Categories
        name: categories
        widget: list
        required: false
      - label: Body
        name: body
        widget: markdown
        required: false
      - label: Permalink
        name: permalink
        widget: string
        required: false
      - label: Comments
        name: comments
        widget: boolean
        default: true
        required: false
    label: Post
    folder: source/_posts
    create: true
    editor:
      preview: true
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - date
      - commit_author
    view_filters: []
    view_groups: []
  - label: Page
    name: pages
    delete: false
    files:
      - name: about-index.md
        label: about
        file: source\about\index.md
        editor:
          preview: true
        fields:
          - label: Title
            name: title
            widget: string
          - label: Publish Date
            name: date
            widget: datetime
            dateFormat: YYYY-MM-DD
            timeFormat: HH:mm:ss
            format: YYYY-MM-DD HH:mm:ss
            required: false
            date_format: YYYY-MM-DD
            time_format: HH:mm:ss
          - label: Tags
            name: tags
            widget: list
            required: false
          - label: Categories
            name: categories
            widget: list
            required: false
          - label: Body
            name: body
            widget: markdown
            required: false
          - label: Permalink
            name: permalink
            widget: string
            required: false
          - label: Comments
            name: comments
            widget: boolean
            default: true
            required: false
    publish: true
    type: file_based_collection
    sortable_fields:
      - commit_date
      - commit_author
    view_filters: []
    view_groups: []
publish_mode: simple
slug:
  encoding: unicode
  clean_accents: false
  sanitize_replacement: "-"
isFetching: false
error: null

Additional context

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