Skip to content

Issue loading when compress_js is on? #42

@Mark-H

Description

@Mark-H

Hiya @danyaPostfactum!

It seems that in some installs, the latest version (1.5.0) of Ace can fail to load the syntax definitions when javascript compression is on. It somehow gets the URL wrong which results in a 404 and no syntax highlighting.

Failed to load resource: the server responded with a status of 404 (Not Found)
/manager/mode-html.js
Failed to load resource: the server responded with a status of 404 (Not Found)
/manager/mode-html.js

This happened on a client site using ContentBlocks. It's possible the difference in instantiating Ace in contentblocks is the problem, as that doesn't use extjs, but simply calls ace.edit. It only happens when the Ace package is installed, and not when using the locally included ace assets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions