Skip to content

Commit 4b35b9e

Browse files
authored
Merge pull request #332 from softnetics/benz/fix/clear-color-button
fix: type button
2 parents 728acdf + 23a9e14 commit 4b35b9e

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.changeset/rich-maps-stare.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@genseki/react": patch
3+
---
4+
5+
fix: type button in clear color in richtext

legacies/react/v2/components/compound/editor/components/auto-text-color-button.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const AutoTextColorButton = () => {
2020
}}
2121
disabled={!editor.can().unsetColor()}
2222
title="Reset text color"
23+
type="button"
2324
>
2425
<DropSlashIcon className="size-8" />
2526
</Button>

0 commit comments

Comments
 (0)