Parse XModuleDescriptors on import using from_xml
Also: Render all XModuleDescriptors in the cms the same way Default them to editing raw xml, if there is no specific module for them
This commit is contained in:
@@ -16,8 +16,8 @@ class HtmlModuleDescriptor(MakoModuleDescriptor):
|
||||
"""
|
||||
mako_template = "widgets/html-edit.html"
|
||||
|
||||
# TODO (cpennington): Make this into a proper module
|
||||
js = {'coffee': [resource_string(__name__, 'js/module/html.coffee')]}
|
||||
js_module = 'HTML'
|
||||
|
||||
|
||||
class Module(XModule):
|
||||
|
||||
Reference in New Issue
Block a user