fix dijit.Editor for Dojo 1.4 compliance: use div instead of textarea

git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3692 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
helmutm 2010-01-26 12:30:55 +00:00
parent f049e2fff4
commit 5a1473694d

View file

@ -268,7 +268,8 @@
<!-- overridden field renderers -->
<metal:html define-macro="input_html">
<textarea name="field" rows="3" style="width: 550px"
<p>HTML</p>
<div name="field" rows="3" style="width: 550px"
dojoType="dijit.Editor"
extraPlugins="['insertHorizontalRule','createLink']"
tal:define="width field/width|nothing;
@ -277,8 +278,8 @@
rows python: height or 3;
style python:
'width: %s' % (width and str(width)+'px' or '550px');"
tal:content="data/?name|string:">
</textarea>
tal:content="structure data/?name|string:">
</div>
</metal:html>