Hello,
I had installed a new Drupal 10 site a few days ago and started using Ace Editor Module to highlight Javascript.
It all worked fine, used it until yesterday and now tody it no longer loads.
I just get a regular text editor.
I have attached a screenshot of the errors I see in the console because I have no clue where to start looking into this problem,
Any help is appreciated,
greetings,
Rob

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

RobBNL created an issue. See original summary.

marioki’s picture

Status: Active » Needs review
FileSize
311 bytes

This is an issue on some sites due to a missing dependency in libraries.yml.

dillix’s picture

Status: Needs review » Reviewed & tested by the community

I tested this patch and it's works on beta2.

RobBNL’s picture

Hi,
Thanks for looking into this.
I was not sure how to apply the patch. I searched for procedures to apply it to the ace_editor files through a git command but with the examples I found on line I was getting different errors.
But when I looked at the syntax of the patch file I found that it just adds this line to the js dependencies:
- editor/drupal.editor
So I have manually added that line to the ace_editor.libraries.yml file and that works.
For anyone also applying this don't forget to clear your cache under Configuration - Performance.

Thanks for your support.
Rob