Workaround for popup CSS path being wrong (tinymce).

STUD-178
This commit is contained in:
cahrens
2013-08-08 09:50:54 -04:00
parent ece4ec3f57
commit 1bb29e5414

View File

@@ -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: {},