Commit 7e14785c authored by Ayush Tiwari's avatar Ayush Tiwari

[erp5_core]: Enable CodeMirror for SQL Method view

parent 255b47db
......@@ -265,7 +265,7 @@
</item>
<item>
<key> <string>text_editor</string> </key>
<value> <string>text_area</string> </value>
<value> <string>codemirror</string> </value>
</item>
<item>
<key> <string>title</string> </key>
......
  • I wonder what happens when erp5_code_mirror business template is not installed, probably we cannot edit.

    For the records, on Python Script, it uses another fields 47a8c892 ( but it still has the problem described in 47a8c892 (comment 52157) )

    Since we can still use the ZMI to have the codemirror editor, it's after all probably better to leave it as a text_area until code mirror supports really supports editing SQL Methods.

  • I wonder what happens when erp5_code_mirror business template is not installed, probably we cannot edit.

    I think we can edit even if the erp5_code_mirror is not installed . (atleast for editor_field it does work on my instance without installing erp5_code_mirror)

  • good, then let's keep it like this for now, thanks

    Edited by Jérome Perrin
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