Commit 1bb29e54 by cahrens

Workaround for popup CSS path being wrong (tinymce).

STUD-178
parent ece4ec3f
...@@ -28,6 +28,9 @@ class @HTMLEditingDescriptor ...@@ -28,6 +28,9 @@ class @HTMLEditingDescriptor
convert_urls : false, convert_urls : false,
# TODO: we should share this CSS with studio (and LMS) # TODO: we should share this CSS with studio (and LMS)
content_css : "/static/css/tiny-mce.css", 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 : { formats : {
# Disable h4, h5, and h6 styles as we don't have CSS for them. # Disable h4, h5, and h6 styles as we don't have CSS for them.
h4: {}, h4: {},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment