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 preset setting + default setting completion/hover #625

Open
4 tasks done
Tracked by #545
charlespwd opened this issue Nov 28, 2024 · 0 comments · May be fixed by #717
Open
4 tasks done
Tracked by #545

Theme block JSON preset setting + default setting completion/hover #625

charlespwd opened this issue Nov 28, 2024 · 0 comments · May be fixed by #717
Assignees
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'"
      },
    }
  ],
  "default": {
    "settings": {
      "█t": "<-- should complete 'my-number', 'my-text'"
    }
  }
}
{% endschema %}

Tasks

Preview Give feedback
@graygilmore graygilmore added the enhancement New feature or request label Dec 2, 2024
@aswamy aswamy self-assigned this Jan 9, 2025
@aswamy aswamy changed the title Theme block JSON setting completion/hover Theme block JSON preset setting completion/hover Jan 15, 2025
@aswamy aswamy changed the title Theme block JSON preset setting completion/hover Theme block JSON preset setting + default setting completion/hover Jan 15, 2025
@aswamy aswamy linked a pull request Jan 16, 2025 that will close this issue
2 tasks
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

Successfully merging a pull request may close this issue.

3 participants