Ticket #8203: test.2.html

File test.2.html, 1.1 KB (added by Brandon, 9 years ago)

Test case demonstrating the issue

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html>
3 <head> 
4        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
5        <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"></script>
6        <meta content="text/html; charset=utf-8" http-equiv="content-type" />
7        <script type="text/javascript" src="http://ckeditor.com/apps/ckeditor/3.6.1/ckeditor.js?1311599564"></script>
8 </head>
9        <body id="mybody">
10                <form action="#" onsubmit="return runTest();" method="get">
11                <textarea cols="80" id="editor2" 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://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
12                <input type="submit" accesskey="s" value="Submit" />
13                </form>
14 <script type="text/javascript">
15        var e = CKEDITOR.replace( 'editor1' ,{
16                bodyId : "myBodyId"
17        }); 
18       
19        function runTest()
20        {
21                alert('submitted');
22                return false;
23        }
24 </script>
25       
26 </body>
27</html>
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy