File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -194,6 +194,7 @@ export const RemixNavigationBar = React.memo(() => {
194
194
includeBoxShadow = { false }
195
195
onSubmitValue = { changeRemixURLInEditor }
196
196
onEscape = { resetURL }
197
+ pasteHandler = { true }
197
198
/>
198
199
< StarUnstarIcon
199
200
url = { currentURL ?? '' }
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import { assertNever } from '../../../core/shared/utils'
14
14
import { insertableComponent } from '../../shared/project-components'
15
15
import type { StylePropOption , InsertableComponent } from '../../shared/project-components'
16
16
import type { Size } from '../../../core/shared/math-utils'
17
+ import { dataPasteHandler } from '../../../utils/paste-handler'
17
18
18
19
export interface ComponentPickerProps {
19
20
allComponents : Array < InsertMenuItemGroup >
@@ -177,6 +178,7 @@ const FilterBar = React.memo((props: FilterBarProps) => {
177
178
onChange = { handleFilterChange }
178
179
value = { filter }
179
180
data-testId = { componentPickerFilterInputTestId }
181
+ { ...dataPasteHandler ( true ) }
180
182
/>
181
183
)
182
184
} )
You can’t perform that action at this time.
0 commit comments