Lineutils — CKEditor Sample

# CKEditor Samples » Lineutils

### Classic (iframe-based) Editor

<table border="0" cellpadding="1" cellspacing="1" style="width: 100%; "> <tbody> <tr> <td>This table</td> <td>is the</td> <td>very first</td> <td>element of the document.</td> </tr> <tr> <td>We are still</td> <td>able to acces</td> <td>the space before it.</td> <td style="padding: 25px"> <table border="0" cellpadding="1" cellspacing="1" style="width: 100%; "> <tbody> <tr> <td>This table is inside of a cell of another table.</td> </tr> <tr> <td>We can type either before or after it though.</td> </tr> </tbody> </table> </td> </tr> </tbody> </table> <p>Two succesive horizontal lines (<tt>HR</tt> tags). We can access the space in between:</p> <hr /> <hr /> <ol style="width: 300px"> <li>This numbered list...</li> <li>...is a neighbour of a horizontal line...</li> <li style="padding: 20px;"> <ol> <li>Nested list!</li> </ol> </li> </ol> <ul style="width: 450px"> <li>We can type between the lists...</li> <li>...thanks to <strong>Magicline</strong>.</li> </ul> <p>Lorem ipsum dolor sit amet dui. Morbi vel turpis. Nullam et leo. Etiam rutrum, urna tellus dui vel tincidunt mattis egestas, justo fringilla vel, massa. Phasellus.</p> <p>Quisque iaculis, dui lectus varius vitae, tortor. Proin lacus. Pellentesque ac lacus. Aenean nonummy commodo nec, pede. Etiam blandit risus elit.</p> <p>Ut pretium. Vestibulum rutrum in, adipiscing elit. Sed in quam in purus sem vitae pede. Pellentesque bibendum, urna sem vel risus. Vivamus posuere metus. Aliquam gravida iaculis nisl. Nam enim. Aliquam erat ac lacus tellus ac felis.</p> <div id="last" style="padding: 10px; text-align: center;"> <p>This text is wrapped in a <tt>DIV</tt> element. We can type after this element though.</p> </div>

### Inline Editor

This table | is the | very first | element of the document.
We are still | able to acces | the space before it. |
This table is inside of a cell of another table.
We can type either before or after it though.

Two succesive horizontal lines (`HR` tags). We can access the space in between:

1. This numbered list...
2. ...is a neighbour of a horizontal line...
3. 1. Nested list!

- We can type between the lists...
- ...thanks to Magicline.

Lorem ipsum dolor sit amet dui. Morbi vel turpis. Nullam et leo. Etiam rutrum, urna tellus dui vel tincidunt mattis egestas, justo fringilla vel, massa. Phasellus.

Quisque iaculis, dui lectus varius vitae, tortor. Proin lacus. Pellentesque ac lacus. Aenean nonummy commodo nec, pede. Etiam blandit risus elit.

Ut pretium. Vestibulum rutrum in, adipiscing elit. Sed in quam in purus sem vitae pede. Pellentesque bibendum, urna sem vel risus. Vivamus posuere metus. Aliquam gravida iaculis nisl. Nam enim. Aliquam erat ac lacus tellus ac felis.

This text is wrapped in a `DIV` element. We can type after this element though.

### Extreme inline

Lorem ipsum dolor sit amet enim. Etiam ullamcorper. Suspendisse a pellentesque dui, non felis. Maecenas malesuada elit lectus felis, malesuada ultricies. Curabitur et ligula. Ut molestie a, ultricies porta urna. Vestibulum commodo volutpat a, convallis ac, laoreet enim.
Position static
foo

Key
  Value

Whatever

Lorem ipsum dolor sit amet enim. Etiam ullamcorper. Suspendisse a pellentesque dui, non felis. Maecenas malesuada elit lectus felis, malesuada ultricies

Lorem ipsum dolor sit amet enim. Etiam ullamcorper. Suspendisse a pellentesque dui, non felis. Maecenas malesuada elit lectus felis, malesuada ultricies

foo

### Classic (iframe-based) Editor, H-scroll

<hr /> <hr /> <ol style="width: 1500px"> <li>This numbered list...</li> <li>...is a neighbour of a horizontal line...</li> <li style="padding: 20px;"> <ol> <li>Nested list!</li> </ol> </li> </ol> <ul style="width: 450px"> <li>We can type between the lists...</li> <li>...thanks to <strong>Magicline</strong>.</li> </ul> <p>Lorem ipsum dolor sit amet dui. Morbi vel turpis. Nullam et leo. Etiam rutrum, urna tellus dui vel tincidunt mattis egestas, justo fringilla vel, massa. Phasellus.</p> <p>Quisque iaculis, dui lectus varius vitae, tortor. Proin lacus. Pellentesque ac lacus. Aenean nonummy commodo nec, pede. Etiam blandit risus elit.</p> <p>Ut pretium. Vestibulum rutrum in, adipiscing elit. Sed in quam in purus sem vitae pede. Pellentesque bibendum, urna sem vel risus. Vivamus posuere metus. Aliquam gravida iaculis nisl. Nam enim. Aliquam erat ac lacus tellus ac felis.</p> <div id="last" style="padding: 10px; text-align: center;"> <p>This text is wrapped in a <tt>DIV</tt> element. We can type after this element though.</p> </div>