-
Notifications
You must be signed in to change notification settings - Fork 0
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
[#148] Dialog block #162
base: main
Are you sure you want to change the base?
[#148] Dialog block #162
Conversation
"viewStyle": "file:./view.css", | ||
"editorStyle": "file:./editor.css", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really nice to have style for both!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the alpine.js is from blueprint.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cursor did all the heavy lifting of moving its from PHP to Twig. 🎉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if we could add a ACF field or if there is another way to do it.
Summary
This adds the Dialog block to the site starter. It has a very basic style, one the WP page editor it opens inline and on the frontend it opens as a dialog window.
The block is a wrapper so any block (custom or core) will render inside of the dialog.
@bd-viget added a ACF field for the open button text, not sure if there is a better way to build it.
Issues
Testing Instructions
Screenshots