Code text input disappear (Ace editor issue)

Created on 16 September 2022, over 2 years ago
Updated 3 June 2024, 7 months ago

Problem/Motivation

Asset Injector was working fine until I did some upgrades from Drupal 9.1 to 9.4.5 and Asset Injector from 2.10.0 to 2.12.0.

No whenever I open any CSS or JS injector, the code text editor disappear as shown in screenshot.

As you can see, there is an error in browser console:

Unable to infer path to ace from script src, use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes or with webpack use ace/webpack-resolver

Any advice how to resolve this issue?

🐛 Bug report
Status

Postponed: needs info

Version

2.0

Component

Code

Created by

🇪🇬Egypt rami.sedhom

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany Anybody Porta Westfalica

    Can anyone confirm this is still an issue in the latest dev version and provide clear steps to reproduce this? Or even better a test?

    I'm using the module on several pages without issues.

Production build 0.71.5 2024