Skip to content

Commit 543357b

Browse files
committed
* #RIVS-261 - [Regression] Error when trying to fetch create-redis.json is displayed after removing vs code folder
* #RIVS-262 - [Regression] Stage build from CI not connected to amplitude account * #RIVS-263 - [Regression] AppVersion in telemetry is 2.54.0 * #RIVS-265 - [Regression] Wrong links for welcome page and release notes * #RIVS-275 - [Regression] Tooltip is displayed for add key button * #RIVS-277 - [Regression] Inputs are not visible in white theme
1 parent 7baebf7 commit 543357b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/webviews/src/components/ContentEditable.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const parseContentEditableHtml = (text: string = '') =>
3333
const onPaste = (e: React.ClipboardEvent) => {
3434
e.preventDefault()
3535

36-
const clipboardData = e.clipboardData || window.clipboardData || e.originalEvent?.clipboardData
36+
const clipboardData = e.clipboardData || (window as any).clipboardData || (e as any).originalEvent.clipboardData
3737
const text = clipboardData.getData('text/plain') as string
3838

3939
setTimeout(() => {
@@ -61,6 +61,7 @@ export function ContentEditable({
6161
return (
6262
<ReactContentEditable
6363
{...props}
64+
autoFocus
6465
onPaste={onPaste}
6566
onChange={onChangeRef}
6667
onInput={onInputRef}

0 commit comments

Comments
 (0)