Ticket #4075: 4075.html

File 4075.html, 1.7 KB (added by Garry Yao, 11 years ago)

Sample page for reproducing

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-2009, 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>Replace Textareas by Class Name - CKEditor Sample</title>
9        <script type="text/javascript" src="sample.js"></script>
10</head>
11<body>
12        <div id="html">
13                <form action="sample_posteddata.php" method="post">
14                        <p>
15                                <label for="editor1">
16                                        Editor 1:</label><br />
17                                <textarea id="editor1" name="editor1" class="ckeditor" rows="10" cols="80">
18                                        <p><span class="Bold">bolditalic</span></p></textarea>
19                        </p>
20                        <p>
21                                <input type="submit" value="Submit" />
22                        </p>
23                </form>
24        </div>
25        <div id="code">
26                <pre>
27&lt;form action=""&gt;
28  &lt;p&gt;
29    &lt;label for="editor1"&gt;
30      Editor 1:&lt;/label&gt;&lt;br /&gt;
31    &lt;textarea id="editor1" name="editor1" <b>class="ckeditor"</b> rows="10" cols="80"&gt;&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;&lt;/textarea&gt;
32  &lt;/p&gt;
33  &lt;p&gt;
34    &lt;label for="editor2"&gt;
35      Editor 2:&lt;/label&gt;&lt;br /&gt;
36    &lt;textarea id="editor2" name="editor2" <b>class="ckeditor"</b> rows="10" cols="80"&gt;&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;&lt;/textarea&gt;
37  &lt;/p&gt;
38  &lt;p&gt;
39    &lt;input type="submit" value="Submit" /&gt;
40  &lt;/p&gt;
41&lt;/form&gt;
42</pre>
43        </div>
44</body>
45</html>
© 2003 – 2020 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy