Skip to content

Commit

Permalink
chore(demo): add sanitization examples
Browse files Browse the repository at this point in the history
  • Loading branch information
davidenke committed Dec 17, 2024
1 parent 57c87a6 commit b7f237f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions public/examples/blog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ collections:
- { label: "Layout", name: "layout", widget: "hidden", default: "blog" }
- { label: "Title", name: "title", widget: "string" }
- { label: "Published", name: "published", widget: "boolean" }
- { label: "Color", name: "color", widget: "color", enableAlpha: true }
- { label: "Place", name: "place", widget: "map", hint: "Set a location" }
- { label: "Color", name: "co\"lor", widget: "color", enableAlpha: true }
- { label: "Place", name: "place(s)", widget: "map", hint: "Set a location" }
- { label: "Publish Date", name: "date", widget: "datetime" }
- { label: "Featured Image(s)", name: "thumbnail", widget: "image" }
- { label: "Featured Image(s)", name: "thumbnail's", widget: "image" }
- { label: "Rating", name: "rating", widget: "number", min: 1, max: 5 }
- { label: "Code", name: "code", widget: "code", output_code_only: true }
- { label: "Body", name: "body", widget: "markdown" }
Expand All @@ -39,9 +39,9 @@ collections:
fields:
- {
label: Quote,
name: quote,
name: qu"ote,
widget: string,
default: "Everything is awesome!",
default: "\"Everything\" is awesome!",
}
- { label: Author, name: author, widget: string }
- name: "typo"
Expand Down

0 comments on commit b7f237f

Please sign in to comment.