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:
parent
38d24f164a
commit
f6ee109f9e
7 changed files with 34 additions and 27 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue