-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add/controls template esnext #12
base: master
Are you sure you want to change the base?
Conversation
Size Change: 0 B Total Size: 1.13 MB ℹ️ View Unchanged
|
* | ||
* @see https://www.npmjs.com/package/@wordpress/scripts#using-css | ||
*/ | ||
import './style.scss'; |
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.
@fabiankaegy can we discuss this import during our meet up, I noticed some odd behavior when I left it included, causing my block to NOT show up in the editor, even when plugin is activated.
Thank you for pointing out that error @brezocordero, I will try to recreate and perform additional testing. Also, thank you for the recommendation of suggesting completion of the initial documentation, i.e., description, how has this been tested, screenshots. |
…moved unneeded import js; add back in the scss to the template block folder; prevent missing css error; all of this will likely change with gutenberg and create block update; adjusted background colors for editor view and client view to easily distinguish block is active
@brezocordero found the cause, i tried to get too fancy pulling in those new updates again from that second commit, I should have KISS method, Keep It Simple S̶t̶u̶p̶i̶d̶ Silly. I didn't notice the console log error before my PR, my apologies. I uncovered my mistakes by trying the other templates from the start again. |
Merge in master from wordpress repo, via jsa pull
Description
Add in new template for Create Block package, using Gutenberg Examples - 04 Controls ESNext
Example block written with ESNext standard and JSX support for GUI Controls– build step required.
How has this been tested?
cd gutenberg
npx wp-create-block -t controls-esnext
Screenshots
Step 8
Step 9
Step 10
Types of changes
Add - new example template
Checklist:
Commit Log: