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

Theme block JSON setting completion/hover #625

Open
Tracked by #545
charlespwd opened this issue Nov 28, 2024 · 0 comments
Open
Tracked by #545

Theme block JSON setting completion/hover #625

charlespwd opened this issue Nov 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@charlespwd
Copy link
Contributor

charlespwd commented Nov 28, 2024

Requirements:

  • Key completion of presets.[].settings (same file)
{% schema %}
{
  "name": "Header Announcement",
  "blocks": [{ "type": "slide" }],
  "settings": [
    {
      "type": "text",
      "id": "my-text",
      "label": "Text"
    },
    {
      "type": "text",
      "id": "my-number",
      "label": "Text"
    }
  ],
  "presets": [
    {
      "name": "Header Announcement",
      "settings": {
        "█": "<-- should complete 'my-number', 'my-text'"
      },
    }
  ]
}
{% endschema %}
@graygilmore graygilmore added the enhancement New feature or request label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants