Tiny MCE popups blank in Django admin

前端 未结 10 854
再見小時候
再見小時候 2020-12-06 00:45

I have got tinyMCE working in the django admin, but all the popups are blank (eg. edit HTML, add image)

The paths to the popup html pages all exist in the right plac

10条回答
  •  有刺的猬
    2020-12-06 01:27

    Check your MEDIA_URL in your settings file. If this is set to a non-relative path, i.e. http://site.com/media_url as Django recommends, tiny_mce will popup blank pages. Set this to a relative path and it should work.

    See http://pageworthy.com/blog/2009/mar/09/tiny_mce-blank-popups/ for more details.

提交回复
热议问题