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

New block: Modal block using the Interactivity API #675

Merged
merged 11 commits into from
Dec 18, 2024
Prev Previous commit
Next Next commit
Remove editor CSS
The frontend style is loaded in the editor iframe, so this is not used
ryelle committed Dec 17, 2024
commit f8613e0986826c335a66d17858d07d7847cf3aa3
1 change: 0 additions & 1 deletion mu-plugins/blocks/modal/src/block.json
Original file line number Diff line number Diff line change
@@ -50,7 +50,6 @@
"interactivity": true
},
"editorScript": "file:./index.js",
"editorStyle": "file:./index.css",
"style": "file:./style-index.css",
"viewScriptModule": "file:./view.js",
"render": "file:../render.php"
29 changes: 0 additions & 29 deletions mu-plugins/blocks/modal/src/editor.scss

This file was deleted.

1 change: 1 addition & 0 deletions mu-plugins/blocks/modal/src/style.scss
Original file line number Diff line number Diff line change
@@ -40,6 +40,7 @@
z-index: 1;
width: 24px;
height: 24px;
cursor: pointer;
border: none;
background: transparent;
color: var(--wp--custom--wporg-modal--color--close-button);