forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Template-04-controls-esnext - updated template to match https://githu…
- Loading branch information
Michael Bui
committed
Jun 6, 2020
1 parent
52d40da
commit 94e469d
Showing
6 changed files
with
110 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 0 additions & 29 deletions
29
packages/create-block/lib/templates/controls-esnext/src/edit.js.mustache
This file was deleted.
Oops, something went wrong.
13 changes: 9 additions & 4 deletions
13
packages/create-block/lib/templates/controls-esnext/src/editor.scss.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
/** | ||
* The following styles get applied inside the editor only. | ||
* | ||
* Replace them with your own styles or remove the file completely. | ||
* Note that these styles are loaded *after* common styles, so that | ||
* editor-specific styles using the same selectors will take precedence. | ||
*/ | ||
|
||
.wp-block-gutenberg-examples-example-04-controls-esnext { | ||
color: #fff; | ||
background: #00a8db; | ||
border: 2px solid #0D72B2; | ||
padding: 20px; | ||
font-family: sans-serif; | ||
} | ||
.wp-block-{{namespace}}-{{slug}} { | ||
border: 1px dotted red; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 0 additions & 26 deletions
26
packages/create-block/lib/templates/controls-esnext/src/save.js.mustache
This file was deleted.
Oops, something went wrong.
25 changes: 21 additions & 4 deletions
25
packages/create-block/lib/templates/controls-esnext/src/style.scss.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I should probably add these back in since we actually added styles 😕
I should also add better comments ... 😴