fix: reorder plugin wrapping (#1051)
This commit is contained in:
@@ -152,11 +152,11 @@ const RichText: React.FC<Props> = (props) => {
|
||||
),
|
||||
);
|
||||
|
||||
CreatedEditor = withHTML(CreatedEditor);
|
||||
|
||||
CreatedEditor = enablePlugins(CreatedEditor, elements);
|
||||
CreatedEditor = enablePlugins(CreatedEditor, leaves);
|
||||
|
||||
CreatedEditor = withHTML(CreatedEditor);
|
||||
|
||||
return CreatedEditor;
|
||||
}, [elements, leaves]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user