| 1 | <!DOCTYPE html> |
|---|
| 2 | <!-- |
|---|
| 3 | Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. |
|---|
| 4 | For licensing, see LICENSE.md or http://ckeditor.com/license |
|---|
| 5 | --> |
|---|
| 6 | <html> |
|---|
| 7 | <head> |
|---|
| 8 | <meta charset="utf-8"> |
|---|
| 9 | <title>Ticket #11960</title> |
|---|
| 10 | <script src="../ckeditor/ckeditor.js"></script> |
|---|
| 11 | <link href="../ckeditor/samples/sample.css" rel="stylesheet"> |
|---|
| 12 | </head> |
|---|
| 13 | <body> |
|---|
| 14 | <h1 class="samples"> |
|---|
| 15 | Ticket #11960 |
|---|
| 16 | </h1> |
|---|
| 17 | <ol> |
|---|
| 18 | <li>Scroll to #9</li> |
|---|
| 19 | <li>Put the caret "^#9"</li> |
|---|
| 20 | <li>BACKSPACE till "#9" is the only content.</li> |
|---|
| 21 | <li>Is the cared always visible?</li> |
|---|
| 22 | </ol> |
|---|
| 23 | |
|---|
| 24 | <textarea cols="80" id="editor1" name="editor1" rows="10"> |
|---|
| 25 | <p>#1</p> |
|---|
| 26 | <p>#2</p> |
|---|
| 27 | <p>#3</p> |
|---|
| 28 | <p style="float:right; padding-top: 200px">#4</p> |
|---|
| 29 | <p>#5</p> |
|---|
| 30 | <p>#6</p> |
|---|
| 31 | <p>#7</p> |
|---|
| 32 | <p>#8</p> |
|---|
| 33 | <p>#9</p> |
|---|
| 34 | </textarea> |
|---|
| 35 | <script> |
|---|
| 36 | |
|---|
| 37 | CKEDITOR.addCss( |
|---|
| 38 | 'p { border:1px solid red; background: yellow } ' |
|---|
| 39 | ); |
|---|
| 40 | |
|---|
| 41 | CKEDITOR.replace( 'editor1', { |
|---|
| 42 | allowedContent: true, |
|---|
| 43 | toolbarGroups: [ { |
|---|
| 44 | name: 'basicstyles' |
|---|
| 45 | } ], |
|---|
| 46 | height: 50 |
|---|
| 47 | } ); |
|---|
| 48 | |
|---|
| 49 | </script> |
|---|
| 50 | </body> |
|---|
| 51 | </html> |
|---|