summaryrefslogtreecommitdiffstats
path: root/wp-includes/js/dist/editor.js
diff options
context:
space:
mode:
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",