Skip to content

Commit

Permalink
Removed tooltips from save and close
Browse files Browse the repository at this point in the history
  • Loading branch information
gaagul committed Dec 10, 2023
1 parent 6e66fd2 commit 097c65c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
14 changes: 1 addition & 13 deletions src/components/Editor/Menu/Fixed/TextColorOption.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,11 @@ const TextColorOption = ({ editor, tooltipContent }) => {
onChange={withEventTargetValue(setColor)}
onClick={event => event.stopPropagation()}
/>
<Button
icon={Check}
size="small"
tooltipProps={{
content: t("neetoEditor.common.save"),
position: "top",
}}
onClick={handleSave}
/>
<Button icon={Check} size="small" onClick={handleSave} />
<Button
icon={Close}
size="small"
style="text"
tooltipProps={{
content: t("neetoEditor.common.close"),
position: "top",
}}
onClick={() => {
editor.commands.focus();
setIsOpen(false);
Expand Down
2 changes: 0 additions & 2 deletions src/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
"done": "Done",
"url": "Url:",
"editLink": "Edit link",
"save": "Save",
"close": "Close",
"resetToDefault": "Reset to default"
},
"attachments": {
Expand Down

0 comments on commit 097c65c

Please sign in to comment.