+ <div class="description">\r
+ <p>\r
+ This sample shows how to configure the <em>Enter</em> and <em>Shift+Enter</em> keys\r
+ to perform actions specified in the\r
+ <a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.enterMode"><code>enterMode</code></a>\r
+ and <a class="samples" href="http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.shiftEnterMode"><code>shiftEnterMode</code></a>\r
+ parameters, respectively.\r
+ You can choose from the following options:\r
+ </p>\r
+ <ul class="samples">\r
+ <li><strong><code>ENTER_P</code></strong> – new <code><p></code> paragraphs are created;</li>\r
+ <li><strong><code>ENTER_BR</code></strong> – lines are broken with <code><br></code> elements;</li>\r
+ <li><strong><code>ENTER_DIV</code></strong> – new <code><div></code> blocks are created.</li>\r
+ </ul>\r
+ <p>\r
+ The sample code below shows how to configure CKEditor to create a <code><div></code> block when <em>Enter</em> key is pressed.\r
+ </p>\r
+ <pre class="samples">CKEDITOR.replace( '<em>textarea_id</em>',\r
+ {\r
+ <strong>enterMode : CKEDITOR.ENTER_DIV</strong>\r
+ });</pre>\r
+ <p>\r
+ Note that <code><em>textarea_id</em></code> in the code above is the <code>id</code> attribute of\r
+ the <code><textarea></code> element to be replaced.\r
+ </p>\r
+ </div>\r
+\r