feat: Link feature add search function

This commit is contained in:
xiaodong zuo
2022-09-03 09:24:03 +08:00
parent e18a35989f
commit a89d5847df
5 changed files with 10 additions and 12 deletions
@@ -204,7 +204,7 @@ export const LinkMenu = ({ editor, hooks }: LinkMenuProps) => {
</LinkModalContainerIcon>
<LinkModalContainerInput
onKeyDown={handleKeyDown}
placeholder="Paste link url, like https://affine.pro"
placeholder="Paste link url"
autoComplete="off"
value={searchText}
onChange={handleFilterChange}
@@ -240,7 +240,6 @@ const LinkModalContainer = styled('div')(({ theme }) => ({
backgroundColor: '#fff',
alignItems: 'center',
zIndex: '1',
width: '354px',
}));
const LinkModalContainerIcon = styled('div')(({ theme }) => ({