@bigbinary/neeto-editor 1.47.133 → 1.47.135

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2316,7 +2316,7 @@ var Placeholder = useEditorStore.Extension.create({
2316
2316
  if (_this.options.isSlashCommandsActive && !_this.options.placeholder) {
2317
2317
  placeholderText = _this.options.slashCommandsPlaceholder;
2318
2318
  }
2319
- } else if (hasAnchor && _this.options.isSlashCommandsActive && node.type.name === "paragraph") {
2319
+ } else if (hasAnchor && _this.editor.isFocused && _this.options.isSlashCommandsActive && node.type.name === "paragraph") {
2320
2320
  classes.push("is-current-slash-placeholder");
2321
2321
  placeholderText = _this.options.slashCommandsPlaceholder;
2322
2322
  }