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:
parent
f049e2fff4
commit
5a1473694d
1 changed files with 4 additions and 3 deletions
|
@ -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>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue