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 resolve a DOM node from Slate node: {"text":""} #7283

Closed
aathanor opened this issue Sep 19, 2024 · 1 comment
Closed

Error: Cannot resolve a DOM node from Slate node: {"text":""} #7283

aathanor opened this issue Sep 19, 2024 · 1 comment

Comments

@aathanor
Copy link

Describe the bug

To Reproduce

Expected behavior

Screenshots

Applicable Versions:

  • Decap CMS version: decap-cms@3.1.0-beta.4
  • Git provider: github
  • Browser version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4.1 Safari/605.1.15

CMS configuration

backend:
  name: github
  repo: aathanor/antimaterie-z
  branch: main
  base_url: https://antimaterie.ro
  auth_endpoint: /api/auth
  auth_scope: repo
  open_authoring: true
  use_graphql: true
site_url: https://antimaterie.ro
publish_mode: editorial_workflow
media_folder: static/images/uploads
public_folder: /images/uploads
collections:
  - name: authors
    label: Authors
    label_singular: Author
    description: |
      Secțiune pentru administrare. Nu se poate modifica!"
    folder: content/authors
    create: false
    fields:
      - label: Name
        name: name
        widget: string
        hint: First and Last
      - label: Description
        name: description
        widget: markdown
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - name
      - name
      - description
    view_filters: []
    view_groups: []
  - name: flux
    label: Flux
    label_singular: Post
    description: >
      Postări scurte care apar în flux cronologic (cam ca pe Facebook).
      Recomandarea e ca tot ce trece de 200 de cuvinte să fie articol în
      secțiunea "Distilat"
    folder: content/flux
    slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
    summary: "{{title}} -- {{year}}/{{month}}/{{day}}"
    create: true
    view_filters:
      - label: Posts With Index
        field: title
        pattern: "This is post #"
        id: "title__This is post #"
      - label: Posts Without Index
        field: title
        pattern: front matter post
        id: title__front matter post
      - label: Drafts
        field: draft
        pattern: true
        id: draft__true
    view_groups:
      - label: Year
        field: date
        pattern: \d{4}
        id: date__\d{4}
      - label: Drafts
        field: draft
        id: draft__undefined
    fields:
      - label: Titlu
        name: title
        widget: string
        tagname: h1
      - label: Data publicării
        name: date
        widget: datetime
        format: YYYY-MM-DD
        default: "{{now}}"
      - label: Autor
        name: author
        widget: relation
        collection: authors
        search_fields:
          - name
        value_field: name
      - label: Body
        name: body
        widget: markdown
        hint: Aici intră textul
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - date
      - commit_author
  - name: distilat
    label: Distilat
    label_singular: Distilat
    description: >
      Articole de fond mai lungi (recomandarea e între 300 și 1000 de cuvinte).
      Tot ce e sub 200 de cuvinte ar trebui să fie postare în secțiunea "Flux"
    folder: content/distilat
    slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
    summary: "{{title}} -- {{year}}/{{month}}/{{day}}"
    create: true
    view_filters:
      - label: Posts With Index
        field: title
        pattern: "This is post #"
        id: "title__This is post #"
      - label: Posts Without Index
        field: title
        pattern: front matter post
        id: title__front matter post
      - label: Drafts
        field: draft
        pattern: true
        id: draft__true
    view_groups:
      - label: Year
        field: date
        pattern: \d{4}
        id: date__\d{4}
      - label: Drafts
        field: draft
        id: draft__undefined
    fields:
      - label: Titlu
        name: title
        widget: string
        tagname: h1
      - label: Data publicării
        name: date
        widget: datetime
        format: YYYY-MM-DD
        default: "{{now}}"
      - label: Body
        name: body
        widget: 
...
@martinjagodic
Copy link
Member

Hi @aathanor, 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 Oct 1, 2024
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