Ticket #6126: ckeditor-test-script-6126.php

File ckeditor-test-script-6126.php, 2.3 KB (added by Stavros, 14 years ago)

test script to replicate issue 6126

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml">
3<head>
4        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
5        <title>Test Page</title>
6       
7        <!-- please reference 3.3.2 here -->
8        <script type="text/javascript" src="PATH-TO-CKEDITOR-3.3.2/ckeditor.js"></script>
9</head>
10<body>
11
12        <form action="" enctype="multipart/form-data" method="POST">
13       
14                <!-- one submit with name="submit" here (another at bottom of form) -->
15                <input type="submit" class="submit" name="submit" value="Save">
16
17                <h2 id="ex-hdr" class="grp-hdr">Part A</h2>
18                <div class="rich-edit">
19                        <textarea name="comp[30]" id="comp-text-30"></textarea>
20                        <script type="text/javascript">
21                                CKEDITOR.replace("comp-text-30",
22                                {
23                                        toolbar :
24                                [
25                                    ["Bold", "Italic", "-", "NumberedList", "BulletedList", "-", "Link", "Unlink", "-", "Anchor"]
26                                ]
27                                });
28                        </script>
29                </div>
30                <h2 id="ex-hdr" class="grp-hdr">Part B</h2>
31                <div class="rich-edit">
32                        <textarea name="comp[27]" id="comp-text-27"></textarea>
33                        <script type="text/javascript">
34                                CKEDITOR.replace("comp-text-27",
35                                {
36                                        toolbar :
37                                [
38                                    ["Bold", "Italic", "-", "NumberedList", "BulletedList", "-", "Link", "Unlink", "-", "Anchor"]
39                                ]
40                                });
41                        </script>
42                </div>
43                <h2 id="ex-hdr" class="grp-hdr">Part C</h2>
44                <div class="rich-edit">
45                        <textarea name="comp[29]" id="comp-text-29"></textarea>
46                        <script type="text/javascript">
47                                CKEDITOR.replace("comp-text-29",
48                                {
49                                        toolbar :
50                                [
51                                    ["Bold", "Italic", "-", "NumberedList", "BulletedList", "-", "Link", "Unlink", "-", "Anchor"]
52                                ]
53                                });
54                        </script>
55       
56                </div>
57                <h2 id="ex-hdr" class="grp-hdr">Part D</h2>
58                <div class="rich-edit">
59                        <textarea name="comp[28]" id="comp-text-28"></textarea>
60                        <script type="text/javascript">
61                                CKEDITOR.replace("comp-text-28",
62                                {
63                                        toolbar :
64                                [
65                                    ["Bold", "Italic", "-", "NumberedList", "BulletedList", "-", "Link", "Unlink", "-", "Anchor"]
66                                ]
67                                });
68                        </script>
69                </div>
70               
71                <!-- another input with name="submit" down here -->
72                <input type="submit" class="submit" name="submit" value="Save">
73
74        </form>
75</body>
76</html>
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy