-
Notifications
You must be signed in to change notification settings - Fork 410
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
edit buttons not appearing for popup windows #158
Comments
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>
<script src="http://sofish.github.io/pen/src/pen.js"></script>
<script type="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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is the JavaScript I use to launch a Pen window on double click :
The text was updated successfully, but these errors were encountered: