From 21c8b64cda664488a2af0b4aedb5dd1e837c657a Mon Sep 17 00:00:00 2001 From: Jay Sitter Date: Tue, 4 Jul 2023 00:53:31 -0400 Subject: [PATCH 1/2] fix: Add focus border to markdown toolbar buttons --- src/shared/components/common/emoji-picker.tsx | 2 +- .../components/common/markdown-textarea.tsx | 61 ++++++++++--------- 2 files changed, 34 insertions(+), 29 deletions(-) diff --git a/src/shared/components/common/emoji-picker.tsx b/src/shared/components/common/emoji-picker.tsx index 4523e167..7eac4cf4 100644 --- a/src/shared/components/common/emoji-picker.tsx +++ b/src/shared/components/common/emoji-picker.tsx @@ -32,7 +32,7 @@ export class EmojiPicker extends Component { return ( + )} + + {this.getFormatButton("header", this.handleInsertHeader)} {this.getFormatButton( "strikethrough", @@ -348,7 +353,7 @@ export class MarkdownTextArea extends Component< return (