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

[2.x] Live preview #30

Merged
merged 25 commits into from
Apr 15, 2024
Merged

[2.x] Live preview #30

merged 25 commits into from
Apr 15, 2024

Conversation

danilopolani
Copy link
Contributor

@danilopolani danilopolani commented Mar 23, 2024

  • Make it work with Monaco editor
  • Find a better solution to refresh iframe? Both to remove the $this->js() call, both to render a new iFrame in front of it and then remove the old one to avoid the "scatter" effect
  • Ignore variables when rendering preview
  • Add and extract variables from template into editor
  • Generate QRCode for live mobile preview
  • Remove buttons at top to manually refresh the preview etc.
  • Understand why HTML/Twig is not highlighted in CodeMirror
  • Lazy load JS for CodeMirror
  • CodeMirror dark/light theme
  • Automatically add new variables from template into variables // ABORTED: Not so easy, since it would add even unincomplete variables names as the user types

@danilopolani danilopolani added the enhancement New feature or request label Mar 23, 2024
@danilopolani danilopolani self-assigned this Mar 23, 2024
@danilopolani danilopolani merged commit 7312ae5 into master Apr 15, 2024
11 checks passed
@danilopolani danilopolani deleted the feat/live-preview branch April 15, 2024 14:00
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 this pull request may close these issues.

1 participant