Enable templates in pad

This commit is contained in:
yflory
2017-09-05 11:57:44 +02:00
parent 4108520d20
commit 204e45dfae
5 changed files with 18 additions and 4 deletions

View File

@@ -24,7 +24,15 @@
padding:0;
overflow:hidden;
}
#sbox-filePicker-iframe {
position: fixed;
top:0; left:0;
bottom:0; right:0;
width:100%;
height: 100%;
border: 0;
}
</style>
</head>
<body>
<iframe id="sbox-iframe">
<iframe id="sbox-iframe">

View File

@@ -668,7 +668,12 @@ define([
initializing = false;
if (readOnly) { return; }
//TODO UserList.getLastName(toolbar.$userNameButton, newPad);
if (newPad) {
common.openTemplatePicker(common);
}
onLocal();
editor.focus();
if (newPad) {