Skip to content

Commit

Permalink
Update contentEditable attribute to 'plaintext-only' in NewBot component
Browse files Browse the repository at this point in the history
  • Loading branch information
chimpdev committed May 13, 2024
1 parent 6977784 commit 14797c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/(bots)/bots/manage/components/NewBot/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default function NewBot({ owned_servers }) {
</Markdown>
) : (
<span
contentEditable
contentEditable='plaintext-only'
suppressContentEditableWarning
className='block w-full h-[250px] p-2 mt-4 overflow-y-auto border-2 border-transparent rounded-lg outline-none bg-secondary text-placeholder focus-visible:text-primary focus-visible:border-purple-500'
onKeyUp={event => {
Expand Down

0 comments on commit 14797c2

Please sign in to comment.