Skip to content

Commit

Permalink
Fix editor title style for iframed editor
Browse files Browse the repository at this point in the history
  • Loading branch information
stian-overasen committed Jul 30, 2024
1 parent b769d0e commit 697ee0c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/plugins/blueprint/src/block.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"apiVersion": 3,
"editorScript": "file:editor.js",
"viewScript": "file:view.js"
}
2 changes: 1 addition & 1 deletion packages/plugins/blueprint/src/example-block/block.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"apiVersion": 3,
"name": "dekode/example-block",
"title": "Example Block",
"category": "widgets",
Expand Down
2 changes: 1 addition & 1 deletion packages/themes/block-theme/src/block.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"apiVersion": 3,
"editorScript": "file:editor.js",
"viewScript": "file:view.js"
}
4 changes: 3 additions & 1 deletion packages/themes/block-theme/src/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ Less prominent editor post title for clean singular template.
Remove this if you're using a singular.html template with hard coded title block.
*/
.post-type-page .editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper,
.post-type-post .editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper {
.post-type-post .editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper,
.post-type-page.editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper,
.post-type-post.editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper {
background-color: transparent;
border-bottom: 1px solid #e0e0e0;
color: inherit;
Expand Down
2 changes: 1 addition & 1 deletion packages/themes/dekode-theme/src/block.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 2,
"apiVersion": 3,
"viewScript": "file:view.js"
}

0 comments on commit 697ee0c

Please sign in to comment.