Make New window
a duplicate of the parent window
This commit is contained in:
parent
0cbc4bb6f8
commit
f6199cfd97
@ -713,7 +713,10 @@ export default function ControlPanel({
|
||||
function: () => setVisible(MODAL.NEW),
|
||||
},
|
||||
"New window": {
|
||||
function: () => window.open("/editor", "_blank"),
|
||||
function: () => {
|
||||
const newWindow = window.open("/editor", "_blank");
|
||||
newWindow.name = window.name;
|
||||
},
|
||||
},
|
||||
Open: {
|
||||
function: open,
|
||||
|
Loading…
Reference in New Issue
Block a user