I'm trying to make my ace editor go full screen mode, just like youtube has the possibility to make it's videos full screen.
Does anyone have an idea of how to do this?
You need to resize editor.container to cover the whole page and call editor.resize().
something like this
To enter real fullscreen mode like youtube use editor.container.webkitRequestFullscreen() see https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Using_full_screen_mode
Unfortunately in fullscreen mode browser captures esc key, so this won't be usable with multiple selections.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With