Skip to content

Commit

Permalink
refined data-contenttype for code editor
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr. Frank Hoffmann authored and Dr. Frank Hoffmann committed Jul 11, 2018
1 parent 12a0259 commit 1a8c5e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Products/PythonScripts/www/pyScriptEdit.dtml
Expand Up @@ -44,7 +44,8 @@
</dtml-if>

<dtml-with keyword_args mapping>
<textarea id="content" data-content_type="python" class="form-control zmi-zpt zmi-code col-sm-12"
<textarea id="content" data-contenttype="python"
class="form-control zmi-zpt zmi-code col-sm-12"
name="body:text" wrap="off" rows="20">&dtml-body;</textarea>
</dtml-with>

Expand Down

0 comments on commit 1a8c5e6

Please sign in to comment.