Issue #6 resolved

Preview pane does not work when application is deployed to a non-root context

joshuajohnson
created an issue

I have an application that is deployed to a non-root context. (i.e., the main page is http://www.example.com/foo/)

The preview in this case is still being requested from http://www.example.com/markitup/preview/ instead of http://www.example.com/foo/markitup/preview/

Comments (4)

  1. Carl Meyer repo owner
    • changed status to open

    Yes, this is currently hardcoded in the markitup set. You can simply use a custom markitup set and fix the preview path in the settings file, or submit a pull request to make it dynamic (by changing the preview path in JS at the editor invocation to a value set from a Django url reverse).

  2. Log in to comment