Fix Email composer rich text to HTML conversion (#19872)
This commit is contained in:
+1
-1
@@ -120,7 +120,7 @@ export const FormAdvancedTextFieldInput = ({
|
||||
defaultValue,
|
||||
contentType,
|
||||
onUpdate: (editor) => {
|
||||
if (contentType === 'markdown') {
|
||||
if (contentType === 'markdown' || contentType === 'html') {
|
||||
onChange(editor.getHTML());
|
||||
} else {
|
||||
const jsonContent = editor.getJSON();
|
||||
|
||||
Reference in New Issue
Block a user