You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Molecule only supports the standalone currently, when you use the create() function, it just returns a global molecule instance. But some developers need to create multiple instances of Molecule in one page, like:
constmoInstance1=create({extensions: [],});constmoInstance2=create({extensions: [],});constApp1=()=>moInstance.render(<Workbench/>);
constApp2=()=>moInstance2.render(<Workbench/>);
// Do somethingmoInstance1.editor.open()moInstance2.editor.open()
The text was updated successfully, but these errors were encountered:
Description
The Molecule only supports the standalone currently, when you use the
create()
function, it just returns a globalmolecule
instance. But some developers need to create multiple instances of Molecule in one page, like:The text was updated successfully, but these errors were encountered: