enabling for text plugins
This commit is contained in:
parent
bb5cab4b86
commit
d61c2136cc
|
@ -7,6 +7,7 @@ from cms.plugin_pool import plugin_pool
|
|||
class AjaxTextPlugin(TextPlugin):
|
||||
name = _(u'Text (asynchronous loading)')
|
||||
ajax_render_template = 'cms_ajax_text_plugin/plugin.html'
|
||||
text_enabled = True
|
||||
|
||||
def get_ajax_body(self, instance, context):
|
||||
t = loader.get_template(self.ajax_render_template)
|
||||
|
|
Reference in New Issue