Integration work for rich text editor 2.3.1 (#11172)

* accompanying changes

* switch to set innerHTML

* bump rte to 2.3.1

* update types for dynamic import

* add comment

* Add comments to dynamic imports

* update comments
This commit is contained in:
alunturner 2023-07-13 08:26:33 +01:00 committed by GitHub
parent 38d24f164a
commit f6ee109f9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 34 additions and 27 deletions

View file

@ -372,7 +372,7 @@ export class MessageComposer extends React.Component<IProps, IState> {
const { isRichTextEnabled, composerContent } = this.state;
const convertedContent = isRichTextEnabled
? await richToPlain(composerContent)
: await plainToRich(composerContent);
: await plainToRich(composerContent, false);
this.setState({
isRichTextEnabled: !isRichTextEnabled,