@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.
@@ -2308,7 +2308,7 @@ var Placeholder = useEditorStore.Extension.create({
2308
2308
  if (_this.options.isSlashCommandsActive && !_this.options.placeholder) {
2309
2309
  placeholderText = _this.options.slashCommandsPlaceholder;
2310
2310
  }
2311
- } else if (hasAnchor && _this.options.isSlashCommandsActive && node.type.name === "paragraph") {
2311
+ } else if (hasAnchor && _this.editor.isFocused && _this.options.isSlashCommandsActive && node.type.name === "paragraph") {
2312
2312
  classes.push("is-current-slash-placeholder");
2313
2313
  placeholderText = _this.options.slashCommandsPlaceholder;
2314
2314
  }