Making an override in i.e. the template presents the codemirror as editor. Here the F10 is mentioned to switch to full screen.
Advise the F11 as this works in a.o. Chrome and Firefox
F10 is advised and does not work.
Joomla 4 current version
I changed my local version:
Solution:
plugins/editors/codemirror/layouts/editors/codemirror/element.php
line 32 $fskeys[] = $params->get('fullScreen', 'F10');
changed to
line 32 $fskeys[] = $params->get('fullScreen', 'F11');
Labels |
Added:
No Code Attached Yet
|
Closing as not an issue for reason stated.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-03-30 19:56:05 |
Closed_By | ⇒ | Quy |
Thank you Brian for explaining. I tried to find any document about CODEMIRROR and FULL SCREEN annd this came up:
https://codemirror.net/5/demo/fullscreen.html
Apparently they agree with me that F11 is the way to go.
I have retried the toggle F11 and as you explained with the focus on the codemirror sub-window it will work, and with the focus on the rest of the browser-page it also works!
With my suggested change they both work as expected.
Please reconsider.
@Quy I would appreciate to be able to close MY issue after I am satisfied with the response.
Thank you again. There is still so much to discover in Joomla!
This is the perfect solution. I would not mind if this became the default...
Sorry you are mistaken about what this does.
The f11 you are referring to is a browser hotkey which makes the browser go full screen
Here the reference to f10 is a codemirror hotkey (codemirror needs to have keyboard focus) which makes codemirror take up the entire screen.