@lvce-editor/renderer-process 30.68.6 → 30.68.7
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.
|
@@ -2375,6 +2375,9 @@ const getEventListenerArg = (param, event) => {
|
|
|
2375
2375
|
if (param === 'event.clipboardData.files2') {
|
|
2376
2376
|
return handleClipboardDataFiles2(event);
|
|
2377
2377
|
}
|
|
2378
|
+
if (param === 'event.clipboardData.text') {
|
|
2379
|
+
return event.clipboardData?.getData('text/plain') || '';
|
|
2380
|
+
}
|
|
2378
2381
|
switch (param) {
|
|
2379
2382
|
case 'event.altKey':
|
|
2380
2383
|
return event.altKey;
|
|
@@ -3354,7 +3357,7 @@ const setStyle = ($Element, styleString) => {
|
|
|
3354
3357
|
|
|
3355
3358
|
const removedAttributeProps = new Map([['ariaActivedescendant', 'aria-activedescendant'], ['ariaControls', 'aria-controls'], ['ariaDescribedBy', 'aria-describedby'], ['ariaInvalid', 'aria-invalid'], ['ariaLabelledBy', 'aria-labelledby'], ['ariaOwns', 'aria-owns'], ['className', 'class'], ['htmlFor', 'for'], ['inputType', 'type']]);
|
|
3356
3359
|
const pixelStyleProps = new Set(['height', 'left', 'marginTop', 'paddingLeft', 'paddingRight', 'top', 'width']);
|
|
3357
|
-
const eventProps = new Set(['onBlur', 'onChange', 'onClick', 'onContextMenu', 'onBeforeInput', 'onDblClick', 'onDragEnd', 'onDragEnter', 'onDragLeave', 'onDragOver', 'onDragStart', 'onDrop', 'onError', 'onFocus', 'onFocusIn', 'onFocusOut', 'onInput', 'onKeydown', 'onKeyDown', 'onKeyUp', 'onLoad', 'onLoadedData', 'onMouseDown', 'onMouseMove', 'onMouseOut', 'onMouseOver', 'onMouseUp', 'onPointerDown', 'onPointerMove', 'onPointerOut', 'onPointerOver', 'onScroll', 'onSelectionChange', 'onSubmit', 'onTimeUpdate', 'onWheel']);
|
|
3360
|
+
const eventProps = new Set(['onBlur', 'onChange', 'onClick', 'onContextMenu', 'onBeforeInput', 'onDblClick', 'onDragEnd', 'onDragEnter', 'onDragLeave', 'onDragOver', 'onDragStart', 'onDrop', 'onError', 'onFocus', 'onFocusIn', 'onFocusOut', 'onInput', 'onKeydown', 'onKeyDown', 'onKeyUp', 'onLoad', 'onLoadedData', 'onMouseDown', 'onMouseMove', 'onMouseOut', 'onMouseOver', 'onMouseUp', 'onPaste', 'onPointerDown', 'onPointerMove', 'onPointerOut', 'onPointerOver', 'onScroll', 'onSelectionChange', 'onSubmit', 'onTimeUpdate', 'onWheel']);
|
|
3358
3361
|
const setOptionalAttribute = ($Element, attributeName, value) => {
|
|
3359
3362
|
if (value) {
|
|
3360
3363
|
$Element.setAttribute(attributeName, value);
|