fix: Disabling editor embeds should work with collaborative editing (#2968)

* fix: Disabling editor embeds should work with collaborative editing

* Design tweaks, fixed dragging
This commit is contained in:
Tom Moor
2022-01-28 18:27:27 -08:00
committed by GitHub
parent e7867e52e0
commit 1cd770e38d
11 changed files with 116 additions and 27 deletions

View File

@@ -99,8 +99,8 @@ export default class ComponentView {
}
}
stopEvent() {
return true;
stopEvent(event: Event) {
return event.type !== "mousedown" && !event.type.startsWith("drag");
}
destroy() {