X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Fpybind%2Fmgr%2Fdashboard%2Fstatic%2FAdminLTE-2.3.7%2Fplugins%2Fckeditor%2Fsamples%2Fold%2Fenterkey%2Fenterkey.html;fp=src%2Fceph%2Fsrc%2Fpybind%2Fmgr%2Fdashboard%2Fstatic%2FAdminLTE-2.3.7%2Fplugins%2Fckeditor%2Fsamples%2Fold%2Fenterkey%2Fenterkey.html;h=6b78e06c533fbc0f9c225fefe672c5bc982207c9;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/pybind/mgr/dashboard/static/AdminLTE-2.3.7/plugins/ckeditor/samples/old/enterkey/enterkey.html b/src/ceph/src/pybind/mgr/dashboard/static/AdminLTE-2.3.7/plugins/ckeditor/samples/old/enterkey/enterkey.html new file mode 100644 index 0000000..6b78e06 --- /dev/null +++ b/src/ceph/src/pybind/mgr/dashboard/static/AdminLTE-2.3.7/plugins/ckeditor/samples/old/enterkey/enterkey.html @@ -0,0 +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.
+