source: trunk/skins/lemill/wysiwyg_support.pt @ 3016

Revision 3016, 944 bytes checked in by jukka, 10 years ago (diff)

Fixed saving with new editor and put back try-expect around sendmail.

Line 
1<html xmlns:metal="http://xml.zope.org/namespaces/metal" xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns="http://www.w3.org/1999/xhtml" xmlns:i18n="http://xml.zope.org/namespaces/i18n" i18n:domain="lemill">
2
3   <div xmlns:metal="http://xml.zope.org/namespaces/metal" xmlns:tal="http://xml.zope.org/namespaces/tal" metal:define-macro="wysiwygEditorBox" tal:define="area_id fieldName | inputname">
4
5<textarea id="content1" name="content1" tal:attributes="id area_id; name area_id" tal:content="inputvalue" class="mceEditor" cols="85" rows="20">This will be a editor, since it has a selector class.</textarea>
6    <a href="javascript:;" class="visual_toggle" onclick="$(this).hide();$('.mceEditor').tinymce().show();$('.html_toggle').show();" style="display:none">[Visual]</a>
7    <a href="javascript:;" class="html_toggle" onclick="$(this).hide();$('.mceEditor').tinymce().hide();$('.visual_toggle').show();">[HTML]</a>   
8</div>
9
10
11</html>
Note: See TracBrowser for help on using the repository browser.