Skip to content

Commit 3d1d971

Browse files
committed
Try: Disable text selection for post content placeholder block.
1 parent 80b25d3 commit 3d1d971

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/block-library/src/editor.scss

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
@import "./query-pagination-numbers/editor.scss";
5555
@import "./post-featured-image/editor.scss";
5656
@import "./post-comments-form/editor.scss";
57+
@import "./post-content/editor.scss";
5758

5859
@import "./editor-elements.scss";
5960

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// Disable text selection in the post content placeholder.
2+
.wp-block-post-content.wp-block-post-content {
3+
user-select: none;
4+
}

0 commit comments

Comments
 (0)