5fa81145dba07dd37e221affc43ad4ccf5ab11e5
[Epoz.git] / epoz / epoz_plone / wysiwyg_support.pt
1 <html i18n:domain="plone">
2
3 <!-- wysiwyg multiplexing widget, this allows for both Epoz and Kupu to coexist -->
4
5 <div metal:define-macro="wysiwygEditorBox">
6 <tal:block define="editor python: member.getProperty('wysiwyg_editor').lower();
7 support python: path('nocall:here/%s_wysiwyg_support|here/%s/wysiwyg_support|here/plone_wysiwyg/wysiwyg_support' % (editor, editor));">
8 <metal:block metal:use-macro="support/macros/wysiwygEditorBox">
9 </metal:block>
10 </tal:block>
11 </div>
12
13 <div metal:define-macro="textFormatSelector">
14 <tal:block define="editor python: member.getProperty('wysiwyg_editor').lower();
15 support python: path('nocall:here/%s_wysiwyg_support|here/%s/wysiwyg_support|here/plone_wysiwyg/wysiwyg_support' % (editor, editor));">
16 <metal:block metal:use-macro="support/macros/textFormatSelector">
17 </metal:block>
18 </tal:block>
19 </div>
20
21 </html>