Skip to content

Error: Cannot resolve a DOM point from Slate point: {"path":[0,0],"offset":1} #7552

@jason-fathomSW

Description

@jason-fathomSW

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

  • Decap CMS version: decap-cms@3.8.0
  • Git provider: github
  • Browser version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:140.0) Gecko/20100101 Firefox/140.0

CMS configuration

backend:
  name: github
  repo: isa-fathomsw/petcentral-website
  auth_endpoint: auth
  branch: cms
media_folder: /public/blog
public_folder: /blog
display_url: https://petcentral.online
logo_url: https://petcentral.online/logo.webp
search: false
collections:
  - name: blog
    label: Blog
    folder: src/content/blog
    slug: "{{title}}"
    create: true
    fields:
      - label: Layout
        name: layout
        widget: hidden
        default: blog
      - label: Title
        name: title
        widget: string
      - label: Description
        name: description
        widget: string
      - label: Draft
        name: draft
        widget: boolean
        default: false
      - label: Publish Date
        name: pubDate
        widget: datetime
      - label: Update Date
        name: updatedDate
        widget: datetime
        required: false
      - label: Featured Image
        name: image
        widget: image
      - label: Author
        name: author
        widget: relation
        collection: authors
        searchFields:
          &a1
          - name
        valueField: name | lower
        displayFields:
          &a2
          - name
        value_field: name | lower
        search_fields: *a1
        display_fields: *a2
      - label: Tags
        name: tags
        widget: select
        options:
          - toolkit
          - pet-care
          - lifestyle
        multiple: true
      - label: Body
        name: body
        widget: markdown
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - commit_author
      - description
    view_filters: []
    view_groups: []
  - name: authors
    label: Authors
    folder: src/content/authors
    create: true
    slug: "{{fields.name | lower | slugify}}"
    fields:
      - label: Layout
        name: layout
        widget: hidden
        default: author
      - label: Name
        name: name
        widget: string
      - label: Role
        name: role
        widget: string
      - label: Profile Image
        name: image
        widget: image
      - label: Body
        name: body
        widget: markdown
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - name
      - name
    view_filters: []
    view_groups: []
  - name: news
    label: News
    folder: src/content/news
    create: true
    slug: "{{title}}"
    fields:
      - label: Layout
        name: layout
        widget: hidden
        default: news
      - label: Title
        name: title
        widget: string
      - label: Description
        name: description
        widget: string
      - label: Publish Date
        name: pubDate
        widget: datetime
      - label: Image
        name: image
        widget: image
      - label: Body
        name: body
        widget: markdown
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - commit_author
      - description
    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