Giter VIP home page Giter VIP logo

Comments (2)

dismine avatar dismine commented on May 26, 2024

I have resolved this issue. Combination Django Compressor and django-sekizai creates conflicts somehow. Disabling compression restores everything.

from django-markdown-editor.

sodrew avatar sodrew commented on May 26, 2024

Strangely, enough, I'm having a very similar issue when trying to render a martor edit widget when I use the following in my settings.py:

STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'

DEBUG = true

The URL for markdown.js is ignoring the static files location and is trying to nest within the page structure that it is getting served, while at the same time ace.js is giving me this error:

Unable to infer path to ace from script src, use ace.config.set...

It's definitely related to the fact that ManifestStaticFilesStorage is creating separate versioned static files. I believe the Django Compressor also does something similar with the static files (adding a hash of the version to the filename, and therefore tied to the issue @dismine was having. I have no conflict with django-sekizai.

All other js and css files are unaffected.

from django-markdown-editor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.