source: trunk/filemanager/tp/ckeditor/_samples/ui_color.html @ 2000

Revision 2000, 3.0 KB checked in by amuller, 14 years ago (diff)

Ticket #597 - Implementação do módulo gerenciador de arquivos

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>Sample - CKEditor</title>
9        <meta content="text/html; charset=utf-8" http-equiv="content-type"/>
10        <script type="text/javascript" src="../ckeditor.js"></script>
11        <script src="sample.js" type="text/javascript"></script>
12        <link href="sample.css" rel="stylesheet" type="text/css"/>
13</head>
14<body>
15        <h1>
16                CKEditor Sample
17        </h1>
18        <!-- This <div> holds alert messages to be display in the sample page. -->
19        <div id="alerts">
20                <noscript>
21                        <p>
22                                <strong>CKEditor requires JavaScript to run</strong>. In a browser with no JavaScript
23                                support, like yours, you should still see the contents (HTML data) and you should
24                                be able to edit it normally, without a rich editor interface.
25                        </p>
26                </noscript>
27        </div>
28        <!-- This <fieldset> holds the HTML that you will usually find in your
29             pages. -->
30        <p>Click the UI Color Picker button to test your color preferences at runtime.</p>
31                <form action="sample_posteddata.php" method="post">
32                        <p>
33                                <textarea cols="80" id="editor1" name="editor1" rows="10">&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;</textarea>
34                                <script type="text/javascript">
35                                //<![CDATA[
36
37                                        // Replace the <textarea id="editor"> with an CKEditor
38                                        // instance, using default configurations.
39                                        CKEDITOR.replace( 'editor1',
40                                                {
41                                                        extraPlugins : 'uicolor',
42                                                        toolbar :
43                                                        [
44                                                                [ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],
45                                                                [ 'UIColor' ]
46                                                        ]
47                                                });
48
49                                //]]>
50                                </script>
51                        </p>
52                        <p>
53                                <textarea cols="80" id="editor2" name="editor2" rows="10">&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;</textarea>
54                                <script type="text/javascript">
55                                //<![CDATA[
56
57                                        // Replace the <textarea id="editor"> with an CKEditor
58                                        // instance, using default configurations.
59                                        CKEDITOR.replace( 'editor2',
60                                                {
61                                                        extraPlugins : 'uicolor',
62                                                        uiColor: '#14B8C4',
63                                                        toolbar :
64                                                        [
65                                                                [ 'Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink' ],
66                                                                [ 'UIColor' ]
67                                                        ]
68                                                } );
69
70                                //]]>
71                                </script>
72                        </p>
73                        <p>
74                                <input type="submit" value="Submit"/>
75                        </p>
76                </form>
77        <div id="footer">
78                <hr/>
79                <p>
80                        CKEditor - The text editor for Internet - <a href="http://ckeditor.com/" shape="rect">http://ckeditor.com</a>
81                </p>
82                <p id="copy">
83                        Copyright © 2003-2009, <a href="http://cksource.com/" shape="rect">CKSource</a> - Frederico Knabben. All rights reserved.
84                </p>
85        </div>
86</body>
87</html>
Note: See TracBrowser for help on using the repository browser.