remove console.log from block js

This commit is contained in:
2025-12-18 11:01:52 +00:00
parent beb4ca8e6c
commit a4d764b510
8 changed files with 4 additions and 12 deletions

View File

@@ -142,11 +142,7 @@ hr {
}
.align {
&-centre {
text-align: center;
}
&-right {
text-align: right;
}
&-left { text-align: left; }
&-centre, &-center { text-align: center; }
&-right { text-align: right; }
}

View File

@@ -1,4 +1,5 @@
{
"apiVersion": 3,
"name": "badegg/acfdemo",
"title": "ACF Demo",
"category": "badegg",

View File

@@ -1,2 +1 @@
// block.json's editorScript, loaded only in the block editor
console.log('loaded: resources/views/blocks/acfdemo/index.js')

View File

@@ -1,2 +1 @@
// block.json's script, loaded in block editor and front end
console.log('loaded: resources/views/blocks/acf-demo/script.js')

View File

@@ -1,2 +1 @@
// block.json's viewScript, applied on front end only
console.log('loaded: resources/views/blocks/acf-demo/view.js')

View File

@@ -1,2 +1 @@
// block.json's script, loaded in block editor and front end
console.log('loaded: resources/views/blocks/example/script.js')

View File

@@ -1,2 +1 @@
// block.json's viewScript, applied on front end only
console.log('loaded: resources/views/blocks/example/view.js')