Commit f01974f2 authored by Jérome Perrin's avatar Jérome Perrin

core: enable simplemde as a text editor

parent b68f3e72
...@@ -6,4 +6,7 @@ if getattr(context.portal_skins, "erp5_code_mirror", None) is not None: ...@@ -6,4 +6,7 @@ if getattr(context.portal_skins, "erp5_code_mirror", None) is not None:
if getattr(context.portal_skins, "erp5_monaco_editor", None) is not None: if getattr(context.portal_skins, "erp5_monaco_editor", None) is not None:
text_editor_list.append(("Monaco Editor", "monaco")) text_editor_list.append(("Monaco Editor", "monaco"))
if getattr(context.portal_skins, "erp5_simplemde", None) is not None:
text_editor_list.append(("Simple Markdown Editor", "simplemde"))
return text_editor_list return text_editor_list
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
"onlyoffice": {"url": "onlyoffice.gadget.html"}, "onlyoffice": {"url": "onlyoffice.gadget.html"},
"fck_editor": {"url": "ckeditor.gadget.html"}, "fck_editor": {"url": "ckeditor.gadget.html"},
"html_viewer": {"url": "gadget_html_viewer.html"}, "html_viewer": {"url": "gadget_html_viewer.html"},
"simplemde": {"url": "simplemde.gadget.html"},
"svg_editor" : {"url": "method-draw/method-draw.gadget.html"}, "svg_editor" : {"url": "method-draw/method-draw.gadget.html"},
"minipaint": {"url": "minipaint.gadget.html"}, "minipaint": {"url": "minipaint.gadget.html"},
"jquery-sheets": {"url": "jquery-sheets.gadget.html"}, "jquery-sheets": {"url": "jquery-sheets.gadget.html"},
......
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