3.1.0 Issue with ACE Editor fullscreen

Hello,

since upgrade to 3.1.0 there is an issue with ACE Code Editor fullscreen:

Left side bar still showing…

I reinstalled ACE Extra, but with no effect.

Any idea?

Thank you in advance
bye
Chris

Yes, this is a bug in MODX 3.1.0.

It has been mentioned in this issue

and there is already a pull request to fix it:

oh, thank you for quick reply.

:pray:

1 Like

Try Monaco MODX. I just started using it recently. It is based on the Visual Studio Code editor.

2 Likes

Hello,
in file assets\components\ace\modx.texteditor.js, on line 308 .ace_maximized
in you change value in top: 60px; left: 70px; right: 3px; bottom: 3px;
you should see something like image below.
where the left bar, the element name and the action buttons are visible

2 Likes

Very nice.
I’m trying it.
In console it gives me 5 errors:
TypeError: WorkerGlobalScope.fetch: /assets/components/monaco/vs/language/css/cssWorker.js is not a valid URL.
Uncaught Error: WorkerGlobalScope.fetch: /assets/components/monaco/vs/language/css/cssWorker.js is not a valid URL.

with some warnin “source Map error”

Is it only my problem?
Is it problem in local dev (wamp)?

I got Javascript errors too [sorry I can’t remember what they were] which broke some Extra CMP pages - ConsentFriend, for example.

So I had to uninstall it.

It did look nice though!

Damn, too bad I had already customized it for myself


I will uninstall it, waiting for fixes.
Thanks.