@portabletext/editor 1.38.0 → 1.38.1
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/lib/index.cjs +2 -6
- package/lib/index.cjs.map +1 -1
- package/lib/index.js +2 -6
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/editor/Editable.tsx +0 -2
package/lib/index.js
CHANGED
|
@@ -1170,10 +1170,8 @@ const debug = debugWithName("component:Editable"), PLACEHOLDER_STYLE = {
|
|
|
1170
1170
|
slateEditor,
|
|
1171
1171
|
event: event_11.nativeEvent
|
|
1172
1172
|
});
|
|
1173
|
-
if (!position_5)
|
|
1174
|
-
console.warn("Could not find position for dragenter event");
|
|
1173
|
+
if (!position_5)
|
|
1175
1174
|
return;
|
|
1176
|
-
}
|
|
1177
1175
|
editorActor.send({
|
|
1178
1176
|
type: "behavior event",
|
|
1179
1177
|
behaviorEvent: {
|
|
@@ -1194,10 +1192,8 @@ const debug = debugWithName("component:Editable"), PLACEHOLDER_STYLE = {
|
|
|
1194
1192
|
slateEditor,
|
|
1195
1193
|
event: event_12.nativeEvent
|
|
1196
1194
|
});
|
|
1197
|
-
if (!position_6)
|
|
1198
|
-
console.warn("Could not find position for dragover event");
|
|
1195
|
+
if (!position_6)
|
|
1199
1196
|
return;
|
|
1200
|
-
}
|
|
1201
1197
|
editorActor.send({
|
|
1202
1198
|
type: "behavior event",
|
|
1203
1199
|
behaviorEvent: {
|