Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
62f0122c
Commit
62f0122c
authored
Jun 25, 2022
by
boojack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: restore icon
parent
8cb39940
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
more-white.svg
web/public/icons/more-white.svg
+1
-0
MemoEditor.tsx
web/src/components/MemoEditor.tsx
+1
-1
No files found.
web/public/icons/more-white.svg
0 → 100644
View file @
62f0122c
<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>
\ No newline at end of file
web/src/components/MemoEditor.tsx
View file @
62f0122c
...
@@ -265,7 +265,7 @@ const MemoEditor: React.FC<Props> = () => {
...
@@ -265,7 +265,7 @@ const MemoEditor: React.FC<Props> = () => {
const
handleTagSeletorClick
=
useCallback
((
event
:
React
.
MouseEvent
)
=>
{
const
handleTagSeletorClick
=
useCallback
((
event
:
React
.
MouseEvent
)
=>
{
if
(
tagSeletorRef
.
current
!==
event
.
target
&&
tagSeletorRef
.
current
?.
contains
(
event
.
target
as
Node
))
{
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
);
toggleTagSeletor
(
false
);
}
}
},
[]);
},
[]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment