@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.
package/dist/Editor.js CHANGED
@@ -2229,7 +2229,7 @@ var Placeholder = Extension.create({
2229
2229
  if (_this.options.isSlashCommandsActive && !_this.options.placeholder) {
2230
2230
  placeholderText = _this.options.slashCommandsPlaceholder;
2231
2231
  }
2232
- } else if (hasAnchor && _this.options.isSlashCommandsActive && node.type.name === "paragraph") {
2232
+ } else if (hasAnchor && _this.editor.isFocused && _this.options.isSlashCommandsActive && node.type.name === "paragraph") {
2233
2233
  classes.push("is-current-slash-placeholder");
2234
2234
  placeholderText = _this.options.slashCommandsPlaceholder;
2235
2235
  }