source: companies/celepar/news_admin/templates/celepar/fckeditor/to_delete/_testcases/002.html @ 763

Revision 763, 2.1 KB checked in by niltonneto, 15 years ago (diff)

Importação inicial do Expresso da Celepar

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!--
3 * FCKeditor - The text editor for internet
4 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
5 *
6 * Licensed under the terms of the GNU Lesser General Public License:
7 *              http://www.opensource.org/licenses/lgpl-license.php
8 *
9 * For further information visit:
10 *              http://www.fckeditor.net/
11 *
12 * "Support Open Source software. What about a donation today?"
13 *
14 * File Name: 002.html
15 *      Test page.
16 *
17 * File Authors:
18 *              Frederico Caldeira Knabben (fredck@fckeditor.net)
19-->
20<html>
21        <head>
22                <title>FCKeditor - Sample</title>
23                <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
24                <meta name="robots" content="noindex, nofollow">
25                <link href="testcases.css" rel="stylesheet" type="text/css">
26                        <script type="text/javascript" src="../fckeditor.js"></script>
27        </head>
28        <body>
29                <h1>FCKeditor - Test 002</h1>
30                <P><STRONG>Expected results</STRONG>: The editor must work correctly when not value
31                        has been set<BR>
32                        <STRONG>Configurations</STRONG>: Default<BR>
33                        <STRONG>Steps to Reproduce</STRONG>:
34                </P>
35                <OL>
36                        <LI>
37                        Wait the editor to load.
38                        <LI>
39                        Type some text and format it (use the "Bold" and&nbsp;"Style" commands).
40                        <LI>
41                        Check the toolbar buttons context sensitiveness.
42                        <LI>
43                        Switch to Source mode.
44                        <LI>
45                        Repeat steps 2, 3 and 4.
46                        <LI>
47                                Hit submit button and check the submitted data.
48                        </LI>
49                </OL>
50                <P>
51                        <hr>
52                <P></P>
53                <form action="sampleposteddata.asp" method="post" target="_blank">
54                        <script type="text/javascript">
55<!--
56// Automatically calculates the editor base path based on the _samples directory.
57// This is usefull only for these samples. A real application should use something like this:
58// oFCKeditor.BasePath = '/fckeditor/' ;        // '/fckeditor/' is the default value.
59var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ;
60
61var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
62oFCKeditor.BasePath     = sBasePath ;
63oFCKeditor.Create() ;
64//-->
65                        </script>
66                        <br>
67                        <input type="submit" value="Submit">
68                </form>
69        </body>
70</html>
Note: See TracBrowser for help on using the repository browser.