PluginProbe
Wp-Insert / 1.2
Wp-Insert v1.2
trunk 1.0 1.1 1.2 1.2.1 1.2.2 1.3.0 1.3.1 1.3.3 1.4 1.5.0 1.5.1 1.5.2 1.5.3 1.6.0 1.6.1 1.6.2 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 2.0 All 63 releases
wp-insert / fckeditor / _samples / html / sample14.html

sample14.html in Wp-Insert 1.2, at fckeditor/_samples/html/sample14.html

133 lines 2.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
3 <!--
4
5 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
6
7 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
8
9 *
10
11 * == BEGIN LICENSE ==
12
13 *
14
15 * Licensed under the terms of any of the following licenses at your
16
17 * choice:
18
19 *
20
21 * - GNU General Public License Version 2 or later (the "GPL")
22
23 * http://www.gnu.org/licenses/gpl.html
24
25 *
26
27 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
28
29 * http://www.gnu.org/licenses/lgpl.html
30
31 *
32
33 * - Mozilla Public License Version 1.1 or later (the "MPL")
34
35 * http://www.mozilla.org/MPL/MPL-1.1.html
36
37 *
38
39 * == END LICENSE ==
40
41 *
42
43 * Sample page.
44
45 -->
46
47 <html xmlns="http://www.w3.org/1999/xhtml">
48
49 <head>
50
51 <title>FCKeditor - Sample</title>
52
53 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
54
55 <meta name="robots" content="noindex, nofollow" />
56
57 <link href="../sample.css" rel="stylesheet" type="text/css" />
58
59 <script type="text/javascript" src="../../fckeditor.js"></script>
60
61 </head>
62
63 <body>
64
65 <h1>
66
67 FCKeditor - JavaScript - Sample 14
68
69 </h1>
70
71 <div>
72
73 This sample shows FCKeditor configured to produce <strong>XHTML 1.1</strong> compliant
74
75 HTML. Deprecated elements or attributes, like the &lt;font&gt; and &lt;u&gt; elements
76
77 or the "style" attribute, are avoided.
78
79 </div>
80
81 <hr />
82
83 <form action="../php/sampleposteddata.php" method="post" target="_blank">
84
85 <script type="text/javascript">
86
87 <!--
88
89 // Automatically calculates the editor base path based on the _samples directory.
90
91 // This is usefull only for these samples. A real application should use something like this:
92
93 // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
94
95 var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
96
97
98
99 var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
100
101 oFCKeditor.BasePath = sBasePath ;
102
103
104
105 // Instruct the editor to load our configurations from a custom file, leaving the
106
107 // original configuration file untouched.
108
109 oFCKeditor.Config['CustomConfigurationsPath'] = sBasePath + '_samples/html/assets/sample14.config.js' ;
110
111
112
113 oFCKeditor.Height = 300 ;
114
115 oFCKeditor.Value = '<p>This is some <span class="Bold">sample text<\/span>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
116
117 oFCKeditor.Create() ;
118
119 //-->
120
121 </script>
122
123 <br />
124
125 <input type="submit" value="Submit" />
126
127 </form>
128
129 </body>
130
131 </html>
132
133