Commit 963e97e2 authored by Jérome Perrin's avatar Jérome Perrin Committed by Arnaud Fontaine

monaco_editor: support Zope4 ZMI by hiding ace editor

parent 3000db61
......@@ -38,7 +38,16 @@
}
</style>
</tal:block>
<style tal:condition="not: options/field_id | nothing">
/* Adjust ZMI style for Zope 4's ace editor */
#editor_container:after {
/* This says "press F10 for full screen but our monaco patch does not support this" */
content: "" !important;
}
.ace_editor {
display: none;
}
</style>
<div id="monaco-container" style="width:100%;height:800px;border:1px solid grey;"></div>
<script tal:content='python: "var portal_url=" + modules["json"].dumps(options.get("portal_url"))'></script>
......
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