Legacy mode can't load another design after the first

This issue has been tracked since 2021-09-24.

this.editor.loadDesign({ html: this.props.templateHtml, classic: true, });
i'm using this to load the design, but only works the first time, if i try to load another the editor doesn't change

PeterKarpinski wrote this answer on 2022-03-08

I had the same issue and fixed it by first loading blank design. (a bit hacky solution)

  useEffect(() => {
        html: template.body,
        classic: true,
  }, [template])

Hope it helps!
Using vanilla unlayer in functional component with React 17.

More Details About Repo
Owner Name unlayer
Repo Name react-email-editor
Full Name unlayer/react-email-editor
Language JavaScript
Created Date 2017-10-01
Updated Date 2022-12-05
Star Count 3598
Watcher Count 48
Fork Count 627
Issue Count 163


Issue Title Created Date Updated Date