Skip to content
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

Idea: Make the interactive example code editor vertically resizable #403

Open
a2sheppy opened this issue Jan 10, 2018 · 3 comments
Open
Labels
idea-suggestion idle Issues and pull requests with no activity for three months.

Comments

@a2sheppy
Copy link
Contributor

To facilitate tinkering with examples in more and bigger and better ways, we should consider making the editor box for interactive examples resizable so the user can choose to have room for a larger number of lines of code than the initial sample code.

Just adding the ability to grab the bottom edge of the code box and drag it up and down to resize it would be a nice touch; have the rest of the interactive sample box and the surrounding page content move up and down as needed to make room.

@wbamberg
Copy link
Contributor

wbamberg commented Feb 8, 2018

I don't think we should implement this, not at the moment anyway. As Schalk says: #542 (comment): it's complicated, because the editor is embedded in an iframe, so we have to do this postMessage dance when the two sides need to cooperate. It's not clear to me at he moment that the complexity is worth the benefit it gives users. We could revisit this later on, especially if we eventually move to a non-iframe-based architecture.

@a2sheppy
Copy link
Contributor Author

a2sheppy commented Feb 9, 2018 via email

@JavascriptLearner815
Copy link

This is still in To Do.

@github-actions github-actions bot added the idle Issues and pull requests with no activity for three months. label Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
idea-suggestion idle Issues and pull requests with no activity for three months.
4 participants