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 problem: for a popup window created by program, most facilities of Pen do not work; the tool bar, the commands followed by space. Only the return key has an effect.
Here is a complete HTML to reproduce the problem.
<html><scriptsrc="http://sofish.github.io/pen/src/pen.js"></script><scripttype="text/javascript">
var popupWindow = window.open( '', 'windowName', 'height=300,width=300');
var editorDiv = popupWindow.document.createElement("div");
var body = popupWindow.document.body;
body.appendChild(editorDiv);
editorDiv.textContent = '?';
var options = {editor: editorDiv};
var editor = new Pen(options);
pen.focus();
</script></html>
Here is the JavaScript I use to launch a Pen window on double click :
The text was updated successfully, but these errors were encountered: