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

Revision 763, 2.3 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: 003.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 003</h1>
30                <P><STRONG>Expected results</STRONG>: The user must be able to edit the complete
31                        page html.<BR>
32                        <STRONG>Configurations</STRONG>: FullPage = true ;<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.
40                        <LI>
41                        Switch to Source mode.
42                        <LI>
43                        Switch back to WYSIWYG 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.Config["FullPage"] = true ;
64oFCKeditor.Value = '<html>\n\n<head><title></title></head><body>This is a Full Page editing Test:<br/>This is an image: <img src="' + sBasePath + 'editor/images/smiley/msn/lightbulb.gif" alt=""/></body></html>' ;
65oFCKeditor.Create() ;
66//-->
67                        </script>
68                        <br>
69                        <input type="submit" value="Submit">
70                </form>
71        </body>
72</html>
Note: See TracBrowser for help on using the repository browser.