[% USE P %]

CKeditor

standard empty

[% P.textarea_tag('name1', "", class="texteditor") %]

prefilled

[% P.textarea_tag('name2', "

this is a text

", class="texteditor") %]

inside form (check if enter triggers form.submit)

[% P.textarea_tag('name3', "

Try to hit enter here

", class="texteditor") %] [% P.input_tag('name4', 'and here...') %]

inside div with enter listener

[% P.textarea_tag('name3', "

Try to hit enter here

", class="texteditor") %]

inside div with jquery enter listener

[% P.textarea_tag('name4', "

Try to hit enter here

", class="texteditor") %]

initial focus

[% P.textarea_tag('name5', "

this is a text

", class="texteditor texteditor-autofocus") %]

with custom width/height

[% P.textarea_tag('name6', "

this is a text

", style="width: 350px; height: 150px", class="texteditor") %]