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 / sample06.html

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

147 lines 2.9 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 - 6</h1>
68
69 <div>
70
71 This sample shows some sample plugins implementations. Things to note:<br />
72
73 <ul>
74
75 <li>In the toolbar, you will find sample "Find" and "Replace" plugins that do exactly
76
77 the same thing that the built in ones do. It just shows how to do that with a custom
78
79 implementation. Use the green toolbar buttons the test then. </li>
80
81 <li>There is also another sample plugin that is available in the package: the "Placeholder"
82
83 command (use the yellow icon). </li>
84
85 <li>It also shows a custom context menu option when right cliking on images (insert
86
87 a smiley to test it).</li>
88
89 </ul>
90
91 </div>
92
93 <hr />
94
95 <form action="../php/sampleposteddata.php" method="post" target="_blank">
96
97 <script type="text/javascript">
98
99 <!--
100
101 // Automatically calculates the editor base path based on the _samples directory.
102
103 // This is usefull only for these samples. A real application should use something like this:
104
105 // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
106
107 var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
108
109
110
111 var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
112
113 oFCKeditor.BasePath = sBasePath ;
114
115
116
117 // Set the custom configurations file path (in this way the original file is mantained).
118
119 oFCKeditor.Config['CustomConfigurationsPath'] = sBasePath + '_samples/html/assets/sample06.config.js' ;
120
121
122
123 // Let's use a custom toolbar for this sample.
124
125 oFCKeditor.ToolbarSet = 'PluginTest' ;
126
127
128
129 oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
130
131 oFCKeditor.Create() ;
132
133 //-->
134
135 </script>
136
137 <br />
138
139 <input type="submit" value="Submit" />
140
141 </form>
142
143 </body>
144
145 </html>
146
147