@lvce-editor/preview-sandbox-worker 4.14.0 → 4.14.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.
|
@@ -2132,12 +2132,6 @@ const handleKeydownLocal = (uid, hdId, key, code) => {
|
|
|
2132
2132
|
return;
|
|
2133
2133
|
}
|
|
2134
2134
|
dispatchKeydownEvent(element, window, key, code);
|
|
2135
|
-
const newElementMap = Object.create(null);
|
|
2136
|
-
set$1(uid, {
|
|
2137
|
-
document,
|
|
2138
|
-
elementMap: newElementMap,
|
|
2139
|
-
window
|
|
2140
|
-
});
|
|
2141
2135
|
};
|
|
2142
2136
|
const handleKeydown = (uid, hdId, key, code) => {
|
|
2143
2137
|
return handleKeydownLocal(uid, hdId, key, code);
|
|
@@ -2174,12 +2168,6 @@ const handleKeyupLocal = (uid, hdId, key, code) => {
|
|
|
2174
2168
|
return;
|
|
2175
2169
|
}
|
|
2176
2170
|
dispatchKeyupEvent(element, happyDomInstance.window, key, code);
|
|
2177
|
-
const elementMap = Object.create(null);
|
|
2178
|
-
set$1(uid, {
|
|
2179
|
-
document: happyDomInstance.document,
|
|
2180
|
-
elementMap,
|
|
2181
|
-
window: happyDomInstance.window
|
|
2182
|
-
});
|
|
2183
2171
|
};
|
|
2184
2172
|
const handleKeyup = (uid, hdId, key, code) => {
|
|
2185
2173
|
return handleKeyupLocal(uid, hdId, key, code);
|