Ticket #9523: 9523_tc.html

File 9523_tc.html, 826 bytes (added by Frederico Caldeira Knabben, 7 years ago)

Test Page for the provided TC

Line 
1<!DOCTYPE html>
2<html>
3<head>
4        <script src="http://nightly-v4.ckeditor.com/latest/ckeditor/ckeditor.js"></script>
5</head>
6<body>
7
8<div style="float: left;">
9
10        <h4>Produce &lt;p&gt; on ENTER</h4>
11        <div id="demo-enter-p"></div>
12
13        <h4>Produce &lt;br&gt; on ENTER</h4>
14        <div id="demo-enter-br"></div>
15
16        <h4>Produce &lt;div&gt; on ENTER</h4>
17        <div id="demo-enter-div"></div>
18
19</div>
20
21<script>
22
23        CKEDITOR.appendTo( 'demo-enter-p', { height: 300, enterMode: CKEDITOR.ENTER_P }, '<p>This editor produces &lt;p&gt; on ENTER.</p>' );
24        CKEDITOR.appendTo( 'demo-enter-br', { height: 300, enterMode: CKEDITOR.ENTER_BR }, 'This editor produces &lt;br&gt; on ENTER.' );
25        CKEDITOR.appendTo( 'demo-enter-div', { height: 300, enterMode: CKEDITOR.ENTER_DIV }, '<div>This editor produces &lt;div&gt; on ENTER.</div>' );
26
27</script>
28</body>
29</html>
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy