Skip to content

Commit

Permalink
prevent outline
Browse files Browse the repository at this point in the history
  • Loading branch information
LiveDuo committed Nov 8, 2023
1 parent 0b0b27f commit 720517a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/client/vanilla/editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,7 @@ function Editor({ standaloneServer = false }) {
margin: isPreview ? '0px' : '20px',
maxWidth: isPreview ? '100%' : '868px',
minHeight: '1024px', // no tailwind class
outline: 'none', // prevent focus
}}
contentEditable={!isPreview}
/>
Expand Down

0 comments on commit 720517a

Please sign in to comment.