Skip to content

Commit

Permalink
Fix minor quirks
Browse files Browse the repository at this point in the history
  • Loading branch information
ubbn committed Dec 30, 2023
1 parent 2a9d7cd commit 13439c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/src/common/editor/plugins/ToolbarPlugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ export default function ToolbarPlugin() {
const [showBlockOptionsDropDown, setShowBlockOptionsDropDown] =
useState(false);
const [codeLanguage, setCodeLanguage] = useState("");
const [isRTL, setIsRTL] = useState(false);
const [_, setIsRTL] = useState(false);
const [isLink, setIsLink] = useState(false);
const [isBold, setIsBold] = useState(false);
const [isItalic, setIsItalic] = useState(false);
Expand Down Expand Up @@ -502,7 +502,7 @@ export default function ToolbarPlugin() {
}),
editor.registerCommand(
SELECTION_CHANGE_COMMAND,
(_payload, newEditor) => {
(_payload, _) => {
updateToolbar();
return false;
},
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/common/editor/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ h1 {

.editor-container {
margin: 20px auto 20px auto;
width: 100%;
max-width: 800px;
width: 95%;
max-width: 900px;
color: #000;
position: relative;
line-height: 20px;
Expand Down

0 comments on commit 13439c8

Please sign in to comment.