X-Git-Url: https://git.0d.be/?p=panikdb.git;a=blobdiff_plain;f=panikdb%2Fstatic%2Fckeditor%2Fckeditor%2Fsamples%2Fplugins%2Fenterkey%2Fenterkey.html;fp=panikdb%2Fstatic%2Fckeditor%2Fckeditor%2Fsamples%2Fplugins%2Fenterkey%2Fenterkey.html;h=0000000000000000000000000000000000000000;hp=b1d1a51f5bfc1693f6226d363dfabf1a8abd98d1;hb=783c5ef5f527e7ef660042061d1e800036654443;hpb=b6c88586ad4f2aed1fa77a3d227835a825234b50 diff --git a/panikdb/static/ckeditor/ckeditor/samples/plugins/enterkey/enterkey.html b/panikdb/static/ckeditor/ckeditor/samples/plugins/enterkey/enterkey.html deleted file mode 100644 index b1d1a51..0000000 --- a/panikdb/static/ckeditor/ckeditor/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.
-