summaryrefslogtreecommitdiffstats
path: root/wp-includes/js/dist/editor.js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:58:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 07:58:13 +0000
commit1c9f89c96d7f1373ecec034fd078f3ab60a77e71 (patch)
treeecb9ca7fa7ef5bfd4d38721c7310d457cedfae5d /wp-includes/js/dist/editor.js
parentReleasing progress-linux version 6.5+dfsg1-1~progress7.99u1. (diff)
downloadwordpress-1c9f89c96d7f1373ecec034fd078f3ab60a77e71.tar.xz
wordpress-1c9f89c96d7f1373ecec034fd078f3ab60a77e71.zip
Merging upstream version 6.5.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/js/dist/editor.js')
-rw-r--r--wp-includes/js/dist/editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/js/dist/editor.js b/wp-includes/js/dist/editor.js
index f04b571..609c9c0 100644
--- a/wp-includes/js/dist/editor.js
+++ b/wp-includes/js/dist/editor.js
@@ -15925,7 +15925,7 @@ function DocumentTools({
variant: "unstyled"
}, (0,external_React_.createElement)("div", {
className: "editor-document-tools__left"
- }, (0,external_React_.createElement)(external_wp_components_namespaceObject.ToolbarItem, {
+ }, !isDistractionFree && (0,external_React_.createElement)(external_wp_components_namespaceObject.ToolbarItem, {
ref: inserterButton,
as: external_wp_components_namespaceObject.Button,
className: "editor-document-tools__inserter-toggle",