mirror of
https://github.com/usememos/memos.git
synced 2024-12-26 23:22:47 +08:00
chore: restore icon
This commit is contained in:
parent
8cb3994022
commit
62f0122cd5
2 changed files with 2 additions and 1 deletions
1
web/public/icons/more-white.svg
Normal file
1
web/public/icons/more-white.svg
Normal file
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#FFFFFF"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>
|
After Width: | Height: | Size: 306 B |
|
@ -265,7 +265,7 @@ const MemoEditor: React.FC<Props> = () => {
|
|||
|
||||
const handleTagSeletorClick = useCallback((event: React.MouseEvent) => {
|
||||
if (tagSeletorRef.current !== event.target && tagSeletorRef.current?.contains(event.target as Node)) {
|
||||
editorRef.current?.insertText((event.target as HTMLElement).textContent + " " ?? "");
|
||||
editorRef.current?.insertText((event.target as HTMLElement).textContent ?? "");
|
||||
toggleTagSeletor(false);
|
||||
}
|
||||
}, []);
|
||||
|
|
Loading…
Reference in a new issue