Keep content when switching between rich text and plain text mode

This commit is contained in:
Florian Duros 2022-10-25 18:33:25 +02:00
parent 50279c8870
commit c7dbb5947f
No known key found for this signature in database
GPG key ID: 9700AA5870258A0B
7 changed files with 43 additions and 10 deletions

View file

@ -34,6 +34,7 @@ const Content = forwardRef<HTMLElement, ContentProps>(
);
interface SendWysiwygComposerProps {
initialContent: string;
isRichTextEnabled: boolean;
disabled?: boolean;
onChange: (content: string) => void;