X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=public%2Fassets%2Fplugins%2Fckeditor%2Fsamples%2Fold%2Fenterkey%2Fenterkey.html;h=dc7295f148f6fe95ab956163a70f06925c50e8f5;hb=ddf1c42620ea01cd3979f5202fa1e1170a835ca3;hp=6b78e06c533fbc0f9c225fefe672c5bc982207c9;hpb=c46c5ad87e08d3c4fbcf19be3ad1e32132286750;p=motion.git diff --git a/public/assets/plugins/ckeditor/samples/old/enterkey/enterkey.html b/public/assets/plugins/ckeditor/samples/old/enterkey/enterkey.html index 6b78e06..dc7295f 100644 --- a/public/assets/plugins/ckeditor/samples/old/enterkey/enterkey.html +++ b/public/assets/plugins/ckeditor/samples/old/enterkey/enterkey.html @@ -1,106 +1,106 @@ - - - -
- -
- 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.
-
+ 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.
+