PluginProbe
Wp-Insert / 1.2.2
Wp-Insert v1.2.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 / editor / plugins / bbcode / _sample / sample.html

sample.html in Wp-Insert 1.2.2, at fckeditor/editor/plugins/bbcode/_sample/sample.html

68 lines 2.6 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 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 *
6 * == BEGIN LICENSE ==
7 *
8 * Licensed under the terms of any of the following licenses at your
9 * choice:
10 *
11 * - GNU General Public License Version 2 or later (the "GPL")
12 * http://www.gnu.org/licenses/gpl.html
13 *
14 * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
15 * http://www.gnu.org/licenses/lgpl.html
16 *
17 * - Mozilla Public License Version 1.1 or later (the "MPL")
18 * http://www.mozilla.org/MPL/MPL-1.1.html
19 *
20 * == END LICENSE ==
21 *
22 * Sample page.
23 -->
24 <html xmlns="http://www.w3.org/1999/xhtml">
25 <head>
26 <title>FCKeditor - BBCode Sample</title>
27 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
28 <meta name="robots" content="noindex, nofollow" />
29 <link href="../../../../_samples/sample.css" rel="stylesheet" type="text/css" />
30 <script type="text/javascript" src="../../../../fckeditor.js"></script>
31 </head>
32 <body>
33 <h1>
34 FCKeditor - BBCode Sample</h1>
35 <p>
36 This is a sample of custom Data Processor implementation for (very) basic BBCode
37 syntax. Only <strong>[b]</strong>, <strong>[i]</strong>, <strong>[u]</strong> and
38 <strong>[url]</strong> may be used. It may be extended, but this is out of this
39 sample purpose.
40 </p>
41 <p>
42 Note that the input and output of the editor is not HTML, but BBCode
43 </p>
44 <hr />
45 <form action="../../../../_samples/html/sampleposteddata.asp" method="post" target="_blank">
46 <script type="text/javascript">
47 <!--
48 // Automatically calculates the editor base path based on the _samples directory.
49 // This is usefull only for these samples. A real application should use something like this:
50 // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
51 var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('editor')) ;
52
53 var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
54 oFCKeditor.BasePath = sBasePath ;
55
56 // Set the custom configurations file path (in this way the original file is mantained).
57 oFCKeditor.Config['CustomConfigurationsPath'] = sBasePath + 'editor/plugins/bbcode/_sample/sample.config.js' ;
58
59 oFCKeditor.Value = 'This is some [b]sample text[/b]. You are using [url=http://www.fckeditor.net/]FCKeditor[/url].' ;
60 oFCKeditor.Create() ;
61 //-->
62 </script>
63 <br />
64 <input type="submit" value="Submit" />
65 </form>
66 </body>
67 </html>
68