X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;ds=inline;f=samples%2Fplugins%2Fenterkey%2Fenterkey.html;fp=samples%2Fplugins%2Fenterkey%2Fenterkey.html;h=0000000000000000000000000000000000000000;hb=34d2dd88753d873bd36d07d9917b326fa84ac464;hp=595a1ad29f5c9d65174cf8e58ef16cea8a0fb299;hpb=a0df3d0ab0c5252b5e2e0fd274705ede834c2276;p=ckeditor.git diff --git a/samples/plugins/enterkey/enterkey.html b/samples/plugins/enterkey/enterkey.html deleted file mode 100644 index 595a1ad..0000000 --- a/samples/plugins/enterkey/enterkey.html +++ /dev/null @@ -1,103 +0,0 @@ - - - -
- -
- This sample shows how to configure the Enter and Shift+Enter keys
- to perform actions specified in the
- enterMode
- and shiftEnterMode
- parameters, respectively.
- You can choose from the following options:
-
ENTER_P
– new <p>
paragraphs are created;ENTER_BR
– lines are broken with <br>
elements;ENTER_DIV
– new <div>
blocks are created.
- The sample code below shows how to configure CKEditor to create a <div>
block when Enter key is pressed.
-
-CKEDITOR.replace( 'textarea_id', { - enterMode: CKEDITOR.ENTER_DIV -});-
- Note that textarea_id
in the code above is the id
attribute of
- the <textarea>
element to be replaced.
-