Ticket #6060: TC_6060.html

File TC_6060.html, 854 bytes (added by Frederico Caldeira Knabben, 10 years ago)

Test case page.

Line 
1<html xmlns="http://www.w3.org/1999/xhtml">
2<head>
3        <title>Sample - CKEditor</title>
4        <meta content="text/html; charset=utf-8" http-equiv="content-type" />
5        <script type="text/javascript" src="/ckeditor/ckeditor_source.js"></script>
6        <script type="text/javascript">
7
8function DestroyIt()
9{
10        CKEDITOR.instances.editor1.destroy();
11}
12
13        </script>
14</head>
15<body>
16        <p>
17                <textarea cols="80" id="editor1" name="editor1" rows="10">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://www.fckeditor.net/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea></div>
18                <script type="text/javascript">
19                        CKEDITOR.replace( 'editor1' );
20                </script>
21        </p>
22        <p>
23                <input type="button" value="Make a selection inside the editor and click this button" onclick='javascript:DestroyIt();' />
24        </p>
25</body>
26</html>
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy