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

core: enable monaco as a text editor

So that we can edit web pages & web scripts with monaco

(incomplete backport as we don't have ERP5JS editor gadget yet)
parent 5277d15a
......@@ -10,4 +10,7 @@ if getattr(context.portal_skins, "erp5_ace_editor", None) is not None:
if getattr(context.portal_skins, "erp5_code_mirror", None) is not None:
text_editor_list.append(("Code Mirror", "codemirror"))
if getattr(context.portal_skins, "erp5_monaco_editor", None) is not None:
text_editor_list.append(("Monaco Editor", "monaco"))
return text_editor_list
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