@bigbinary/neeto-editor-frontend 2.0.1 → 2.0.2
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/.ready +1 -1
- package/dist/Editor.js +2 -0
- package/dist/Editor.js.map +1 -1
- package/dist/cjs/Editor.cjs.js +2 -0
- package/dist/cjs/Editor.cjs.js.map +1 -1
- package/dist/cjs/v2/Editor.cjs.js +2 -0
- package/dist/cjs/v2/Editor.cjs.js.map +1 -1
- package/dist/editor-stats.html +1 -19
- package/dist/v2/Editor.js +2 -0
- package/dist/v2/Editor.js.map +1 -1
- package/package.json +5 -5
package/dist/.ready
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Built at 2026-10-
|
|
1
|
+
Built at 2026-10-09T11:12:09.309Z
|
package/dist/Editor.js
CHANGED
|
@@ -2306,6 +2306,7 @@ var Placeholder = Extension.create({
|
|
|
2306
2306
|
var SelectionDecoration = src_default$4.extend({
|
|
2307
2307
|
name: "selectionDecorator",
|
|
2308
2308
|
addProseMirrorPlugins: function addProseMirrorPlugins() {
|
|
2309
|
+
var editor = this.editor;
|
|
2309
2310
|
return [new Plugin({
|
|
2310
2311
|
key: new PluginKey("selectionDecorator"),
|
|
2311
2312
|
state: {
|
|
@@ -2339,6 +2340,7 @@ var SelectionDecoration = src_default$4.extend({
|
|
|
2339
2340
|
},
|
|
2340
2341
|
props: {
|
|
2341
2342
|
decorations: function decorations(state) {
|
|
2343
|
+
if (editor.isFocused) return DecorationSet.empty;
|
|
2342
2344
|
return this.getState(state).decorations;
|
|
2343
2345
|
}
|
|
2344
2346
|
}
|