Commit a306c7c6 authored by Sebastien Robin's avatar Sebastien Robin

erp5_core: allow to select code mirror for text and code editors

parent 66c11a7a
......@@ -55,6 +55,9 @@
if getattr(context.portal_skins, "erp5_ace_editor", None) is not None:\n
editor_list.append(("Ace Editor", "ace"))\n
\n
if getattr(context.portal_skins, "erp5_code_mirror", None) is not None:\n
editor_list.append(("Code Mirror", "codemirror"))\n
\n
return editor_list\n
</string> </value>
</item>
......
......@@ -59,6 +59,9 @@ if getattr(context.portal_skins, "erp5_xinha_editor", None) is not None:\n
if getattr(context.portal_skins, "erp5_ace_editor", None) is not None:\n
text_editor_list.append(("Ace Editor", "ace"))\n
\n
if getattr(context.portal_skins, "erp5_code_mirror", None) is not None:\n
text_editor_list.append(("Code Mirror", "codemirror"))\n
\n
return text_editor_list\n
</string> </value>
</item>
......
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