From 1bb29e54142c74caa3f57ddf509eaacd669f90bf Mon Sep 17 00:00:00 2001 From: cahrens Date: Thu, 8 Aug 2013 09:50:54 -0400 Subject: [PATCH] Workaround for popup CSS path being wrong (tinymce). STUD-178 --- common/lib/xmodule/xmodule/js/src/html/edit.coffee | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/lib/xmodule/xmodule/js/src/html/edit.coffee b/common/lib/xmodule/xmodule/js/src/html/edit.coffee index f4510ff89c..4f29ffa0f2 100644 --- a/common/lib/xmodule/xmodule/js/src/html/edit.coffee +++ b/common/lib/xmodule/xmodule/js/src/html/edit.coffee @@ -28,6 +28,9 @@ class @HTMLEditingDescriptor convert_urls : false, # TODO: we should share this CSS with studio (and LMS) content_css : "/static/css/tiny-mce.css", + # The default popup_css path uses an absolute path referencing page in which tinyMCE is being hosted. + # Supply the correct relative path instead. + popup_css: '/static/js/vendor/tiny_mce/themes/advanced/skins/default/dialog.css', formats : { # Disable h4, h5, and h6 styles as we don't have CSS for them. h4: {},