Ticket #6684: jqueryadapter_table.html

File jqueryadapter_table.html, 3.1 KB (added by kresimir, 13 years ago)

Reproducing the bug with modifying ckeditor/_samples/jqueryadapter.html

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<!--
3Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
4For licensing, see LICENSE.html or http://ckeditor.com/license
5-->
6<html xmlns="http://www.w3.org/1999/xhtml">
7<head>
8        <title>jQuery adapter - CKEditor Sample</title>
9        <meta content="text/html; charset=utf-8" http-equiv="content-type" />
10        <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
11        <script type="text/javascript" src="../ckeditor.js"></script>
12        <script type="text/javascript" src="../adapters/jquery.js"></script>
13        <script src="sample.js" type="text/javascript"></script>
14        <link href="sample.css" rel="stylesheet" type="text/css" />
15        <script type="text/javascript">
16        //<![CDATA[
17
18$(function()
19{
20        var config = {
21                toolbar:
22                [
23                        ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'],
24                        ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'],
25                        ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'],
26                        ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'],
27                        ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'],
28                        ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'],
29                        ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'],
30                        ['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink'],
31                        ['UIColor']
32                ]
33        };
34
35        // Initialize the editor.
36        // Callback function can be passed and executed after full instance creation.
37        $('.jquery_ckeditor').ckeditor(config);
38});
39
40        //]]>
41        </script>
42</head>
43<body>
44        <h1>
45                CKEditor Sample
46        </h1>
47        <!-- This <div> holds alert messages to be display in the sample page. -->
48        <div id="alerts">
49                <noscript>
50                        <p>
51                                <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
52                                support, like yours, you should still see the contents (HTML data) and you should
53                                be able to edit it normally, without a rich editor interface.
54                        </p>
55                </noscript>
56        </div>
57        <!-- This <fieldset> holds the HTML that you will usually find in your
58             pages. -->
59        <div style="width: 400px; border: 1px solid red;"><table><tr><td>
60        <form action="sample_posteddata.php" method="post">
61        <p>
62                <label for="editor1">
63                        Editor 1:</label><br />
64                <textarea class="jquery_ckeditor" 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://ckeditor.com/"&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;</textarea>
65        </p>
66        <p>
67                <input type="submit" value="Submit" />
68        </p>
69        </form>
70        </td></tr></table></div>
71        <div id="footer">
72                <hr />
73                <p>
74                        CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
75                </p>
76                <p id="copy">
77                        Copyright &copy; 2003-2010, <a href="http://cksource.com/">CKSource</a> - Frederico
78                        Knabben. All rights reserved.
79                </p>
80        </div>
81</body>
82</html>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy