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

Revision 3142, 1.2 KB checked in by jukka, 9 years ago (diff)

Several small fixes

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<style type="text/css">
5.defaultSkin .mceButtonDisabled {border:1px solid; color:#ccc; opacity:0.2; }
6</style>
7<input type="hidden" id="portal_url" name="portal_url" tal:attributes="value portal_url" />
8<textarea id="content1" name="content1" tal:attributes="id area_id; name area_id" tal:content="inputvalue" class="mceTextarea" cols="85" rows="30">This will be the editor, since it has a selector class.</textarea>
9    <a href="javascript:void(0);" class="visual_toggle" onclick="$(this).hide();$('textarea.mceTextarea').tinymce().show();$('.html_toggle').show();" style="display:none">[Visual]</a>
10    <a href="javascript:void(0);" class="html_toggle" onclick="$(this).hide();$('textarea.mceTextarea').tinymce().hide();$('.visual_toggle').show();">[HTML]</a>   
11</div>
12
13
14</html>
Note: See TracBrowser for help on using the repository browser.