Page 1 of 1

Source Code window resize

Posted: Wed May 27, 2020 7:37 pm
by Tata
Is there a way to make the SourceCode window in TInyMCE4 resizible?
I just downloaded the v1.3.3 and the "codemirror" ist just EXCELLENT!!!. But on some pages, the width of e.g. 600px is too small.
Absolutely excellent would be the same feature for stylesheet and template editting.

Re: Source Code window resize

Posted: Wed May 27, 2020 9:11 pm
by cmb
Tata wrote:
Wed May 27, 2020 7:37 pm
Is there a way to make the SourceCode window in TInyMCE4 resizible?
I just downloaded the v1.3.3 and the "codemirror" ist just EXCELLENT!!!. But on some pages, the width of e.g. 600px is too small.
Absolutely excellent would be the same feature for stylesheet and template editting.
I don't know if Codeeditor_XH works with recent browser versions, but you can give it a try. It replaces the stylesheet and template editor textboxes with CodeMirror instances.

Re: Source Code window resize

Posted: Thu May 28, 2020 9:33 pm
by Tata
THX. It works just wundeful. However the onlz way I have found is the admin template with wider content area. The full screen mode of tinyeditor4 has no impact if switching to "Code". The Code window opens always with its own width.

Re: Source Code window resize

Posted: Thu May 28, 2020 10:04 pm
by cmb
Tata wrote:
Thu May 28, 2020 9:33 pm
THX. It works just wundeful. However the onlz way I have found is the admin template with wider content area. The full screen mode of tinyeditor4 has no impact if switching to "Code". The Code window opens always with its own width.
For Codeeditor_XH, pressing <ESC> (when the editor is focused) is supposed to toggle between fullscreen and normal size; might not work everywhere, though.

Re: Source Code window resize

Posted: Thu May 28, 2020 10:06 pm
by Holger
Tata wrote:
Wed May 27, 2020 7:37 pm
Absolutely excellent would be the same feature for stylesheet and template editting.
hi_admin has built in support to edit the template and stylesheet width Codeditor_XH.

Re: Source Code window resize

Posted: Thu May 28, 2020 10:14 pm
by Tata
Ja, das habe ich auch gefunden. Es geht mir aber um die Fenstergröße. Wenn ich local arbeite nutze ich UltraEdit, oder SublimeText, oder Coda usw. Separat von der Webseite und am vollen Bildschirm. Auf der Webseite selbst, ist aber der Editor von der VOrlage abhängig, oder man brauch eine Adminvorlage, wo das Contentarea breiter gestylet ist. Der Editor hat zwar die "FullScreen" FUnktion, die ist aber fon dem Codeeditor unabhängig.

Re: Source Code window resize

Posted: Thu May 28, 2020 10:25 pm
by Tata
cmb wrote:
Thu May 28, 2020 10:04 pm
For Codeeditor_XH, pressing <ESC> (when the editor is focused) is supposed to toggle between fullscreen and normal size; might not work everywhere, though.
Oj, etwas geht wieder schief. Wenn ich jetzt den Editor umschalte (mit EditorTab), öffnet sich die gesammte Webseite oben dem Editor. Ich lasse es für Weilchen liegen. Es kommt hoffentlich selbst in die Reihe.