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

Having 2 dividers does not work with the Symfony YAML parser #180

Open
tobimori opened this issue Feb 9, 2024 · 4 comments
Open

Having 2 dividers does not work with the Symfony YAML parser #180

tobimori opened this issue Feb 9, 2024 · 4 comments
Assignees

Comments

@tobimori
Copy link
Contributor

tobimori commented Feb 9, 2024

CleanShot 2024-02-09 at 17 35 24@2x

@tobimori
Copy link
Contributor Author

tobimori commented Feb 9, 2024

This works, but is not documented anywhere:
CleanShot 2024-02-10 at 00 20 26@2x

@fabianmichael
Copy link
Owner

@tobimori I just tried Kirby 4.1.1 and it worked with this blueprint. Please check your indentation:

fields:
  ta:
    type: markdown
    buttons:
      headlines:
        - h1
      - divider
      bold: ** # or `__`
      - divider
      link: null # or `markdown` or `kirbytext`

Kirby 4 seems to use the Symfony YAML parser (https://github.com/getkirby/kirby/blob/main/composer.json#L49) by default, did I miss anything?

@tobimori
Copy link
Contributor Author

tobimori commented Mar 1, 2024

You'll have to enable it manually in the config still: https://getkirby.com/docs/reference/system/options/yaml

@fabianmichael fabianmichael self-assigned this Mar 1, 2024
@fabianmichael
Copy link
Owner

Okay, then it’s probably just a docs issue, will look into that.

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