-
Notifications
You must be signed in to change notification settings - Fork 518
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
Comments
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. |
Makes sense. It's kind of a bummer, since it would be so convenient to be
able to do so, but it's logical not to do something that's technically
complex with it at this stage. I think it should be re-evaluated later for
sure though.
…On Thu, Feb 8, 2018 at 4:11 PM, wbamberg ***@***.***> wrote:
I don't think we should implement this, not at the moment anyway. As
Schalk says: #542 (comment)
<#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.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#403 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABkL3xg_9K21bIiRe0XbBrhNkhBlUZdMks5tS2L-gaJpZM4RZkH3>
.
--
Eric Shepherd
Senior Technical Writer
Mozilla
Blog: http://www.bitstampede.com/
Twitter: http://twitter.com/sheppy
Check my Availability <https://freebusy.io/[email protected]>
|
This is still in To Do. |
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.
The text was updated successfully, but these errors were encountered: