Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/_testcases In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32492/thywidgets/external/fckeditor/_testcases Added Files: 001.html 002.html 003.html 004.html 005.html 006.html 007.html sampleposteddata.asp testcases.css Log Message: Synching... --- NEW FILE: 005.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * File Name: 005.html * Test page. * * Version: 2.0 RC3 * Modified: 2005-03-02 12:04:53 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --> <html> <head> <title>FCKeditor - Sample</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="robots" content="noindex, nofollow"> <link href="testcases.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="../fckeditor.js"></script> </head> <body> <h1>FCKeditor - Test 005</h1> <P> <STRONG>Expected results</STRONG>: The editor content must be loaded and the submit button must post the editors html. No javascript errors should be thorwn (security errors).<BR> <STRONG>Configurations</STRONG>: BaseHref = http://www.fckeditor.net <BR> <STRONG>Steps to Reproduce</STRONG>: </P> <OL> <LI> Wait the editor to load. <LI> Create a table with border = 0 and an anchor. <LI>Create an image and points it to /images/Logos.gif <LI>Hit submit button and check the posted data.</LI></OL> <P> <hr> <P></P> <form action="sampleposteddata.asp" method="post" target="_blank"> <script type="text/javascript"> <!-- // Automatically calculates the editor base path based on the _samples directory. // This is usefull only for these samples. A real application should use something like this: // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.Config['BaseHref'] = 'http://www.fckeditor.net' ; oFCKeditor.Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; oFCKeditor.Create() ; //--> </script> <br> <input type="submit" value="Submit"> </form> </body> </html> --- NEW FILE: 007.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * File Name: 007.html * Test Page. * * Version: 2.0 RC3 * Modified: 2005-02-23 23:27:23 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --> <html> <head> <title>FCKeditor - Sample</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="robots" content="noindex, nofollow"> <link href="testcases.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="../fckeditor.js"></script> </head> <body> <h1>FCKeditor - Test 007</h1> <P> <STRONG>Expected results</STRONG>: The editor content must be loaded and the submit button must post the editors html.<BR> <STRONG>Configurations</STRONG>: Default<BR> <STRONG>Steps to Reproduce</STRONG>: </P> <OL> <LI> Wait the editor to load. <LI> Enter some text. <LI> Hit submit button and check the posted data.</LI></OL> <P> <hr> <P></P> <form action="sampleposteddata.asp" method="post" target="_blank"> <script type="text/javascript"> <!-- // Automatically calculates the editor base path based on the _samples directory. // This is usefull only for these samples. A real application should use something like this: // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.Value = '<div></div>' ; oFCKeditor.Create() ; //--> </script> <br> <input type="submit" value="Submit"> </form> </body> </html> --- NEW FILE: testcases.css --- /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * File Name: testcases.css * Styles used in the samples pages. * * Version: 2.0 RC3 * Modified: 2004-05-31 23:07:47 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) */ body, td, input, select, textarea { font-size: 12px; font-family: Arial, Verdana, Sans-Serif; } h1 { font-weight: bold; font-size: 180%; margin-bottom: 10px; } form { margin: 0px 0px 0px 0px; padding: 0px 0px 0px 0px; } --- NEW FILE: 001.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * File Name: 001.html * Test page. * * Version: 2.0 RC3 * Modified: 2005-02-23 23:24:17 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --> <html> <head> <title>FCKeditor - Sample</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="robots" content="noindex, nofollow"> <link href="testcases.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="../fckeditor.js"></script> </head> <body> <h1>FCKeditor - Test 001</h1> <P> <STRONG>Expected results</STRONG>: The editor content must be loaded and the submit button must post the editors html.<BR> <STRONG>Configurations</STRONG>: Default<BR> <STRONG>Steps to Reproduce</STRONG>: </P> <OL> <LI> Wait the editor to load.</LI> <LI> Hit submit button and check the posted data.</LI></OL> <P> <hr> </P> <form action="sampleposteddata.asp" method="post" target="_blank"> <script type="text/javascript"> <!-- // Automatically calculates the editor base path based on the _samples directory. // This is usefull only for these samples. A real application should use something like this: // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; oFCKeditor.Create() ; //--> </script> <br> <input type="submit" value="Submit"> </form> </body> </html> --- NEW FILE: 004.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * File Name: 004.html * Test page. * * Version: 2.0 RC3 * Modified: 2005-02-25 22:01:23 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --> <html> <head> <title>FCKeditor - Sample</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="robots" content="noindex, nofollow"> <link href="testcases.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="../fckeditor.js"></script> <script language="javascript"> function Show() { document.getElementById('eEditor').style.display = '' ; document.getElementById('eNoEditor').style.display = 'none' ; // This is a hack for Gecko... it stops editing when the editor is hidden. if ( !document.all ) { var oEditor = FCKeditorAPI.GetInstance( 'FCKeditor1' ) ; if ( oEditor.EditMode == FCK_EDITMODE_WYSIWYG ) { oEditor.SwitchEditMode() ; oEditor.SwitchEditMode() ; } } } function Hide() { document.getElementById('eEditor').style.display = 'none' ; document.getElementById('eNoEditor').style.display = '' ; } </script> </head> <body> <h1 id="Prova">FCKeditor - Test 004</h1> <P> <STRONG>Expected results</STRONG> : The editor must still work when hidding it programmatically (throw javascript).<BR> <STRONG>Configurations</STRONG>: Default<BR> <STRONG>Steps to Reproduce</STRONG>: </P> <OL> <LI> Wait the editor to load. <LI> Insert some text and format it. <LI> Hit the "Hide Editor" button. <LI> Hit the "Submit" and check the posted HTML. <LI> Close the "Submit" window. <LI> Hit the "Show Editor" button. <LI> Repeat steps 2 and 4.</LI></OL> <P> <hr> <P></P> <form action="sampleposteddata.asp" method="post" target="_blank"> <div id="eNoEditor" style="DISPLAY: none"> <input type="button" value="Show Editor" onclick="Show();"> </div> <div id="eEditor"> <input type="button" value="Hide Editor" onclick="Hide();"> <br><br> <script type="text/javascript"> <!-- // Automatically calculates the editor base path based on the _samples directory. // This is usefull only for these samples. A real application should use something like this: // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.Value = 'This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.' ; oFCKeditor.Create() ; //--> </script> </div> <br> <input type="submit" value="Submit"> </form> </body> </html> --- NEW FILE: 006.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * File Name: 006.html * Test page. * * Version: 2.0 RC3 * Modified: 2005-03-02 12:05:34 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --> <html> <head> <title>FCKeditor - Sample</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="robots" content="noindex, nofollow"> <link href="testcases.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="../fckeditor.js"></script> </head> <body> <h1>FCKeditor - Test 006</h1> <P> <STRONG>Expected results</STRONG>: The editor content must be loaded and the submit button must post the editors html. No javascript errors should be thorwn (security errors).<BR> <STRONG>Configurations</STRONG>: BaseHref = http://www.fckeditor.net / FullPage = true <BR> <STRONG>Steps to Reproduce</STRONG>: </P> <OL> <LI> Wait the editor to load. <LI> Create a table with border = 0 and an anchor. <LI> Create an image and points it to /images/Logos.gif <LI> Hit submit button and check the posted data.</LI></OL> <P> <hr> <P></P> <form action="sampleposteddata.asp" method="post" target="_blank"> <script type="text/javascript"> <!-- // Automatically calculates the editor base path based on the _samples directory. // This is usefull only for these samples. A real application should use something like this: // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.Config['FullPage'] = true ; oFCKeditor.Config['BaseHref'] = 'http://www.fckeditor.net' ; oFCKeditor.Value = '<html><head><title></title></head><body>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</body></html>' ; oFCKeditor.Create() ; //--> </script> <br> <input type="submit" value="Submit"> </form> </body> </html> --- NEW FILE: 002.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * File Name: 002.html * Test page. * * Version: 2.0 RC3 * Modified: 2005-02-23 23:24:13 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --> <html> <head> <title>FCKeditor - Sample</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="robots" content="noindex, nofollow"> <link href="testcases.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="../fckeditor.js"></script> </head> <body> <h1>FCKeditor - Test 002</h1> <P><STRONG>Expected results</STRONG>: The editor must work correctly when not value has been set<BR> <STRONG>Configurations</STRONG>: Default<BR> <STRONG>Steps to Reproduce</STRONG>: </P> <OL> <LI> Wait the editor to load. <LI> Type some text and format it (use the "Bold" and "Style" commands). <LI> Check the toolbar buttons context sensitiveness. <LI> Switch to Source mode. <LI> Repeat steps 2, 3 and 4. <LI> Hit submit button and check the submitted data. </LI> </OL> <P> <hr> <P></P> <form action="sampleposteddata.asp" method="post" target="_blank"> <script type="text/javascript"> <!-- // Automatically calculates the editor base path based on the _samples directory. // This is usefull only for these samples. A real application should use something like this: // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.Create() ; //--> </script> <br> <input type="submit" value="Submit"> </form> </body> </html> --- NEW FILE: 003.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!-- * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * File Name: 003.html * Test page. * * Version: 2.0 RC3 * Modified: 2005-03-02 11:59:25 * * File Authors: * Frederico Caldeira Knabben (fr...@fc...) --> <html> <head> <title>FCKeditor - Sample</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="robots" content="noindex, nofollow"> <link href="testcases.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="../fckeditor.js"></script> </head> <body> <h1>FCKeditor - Test 003</h1> <P><STRONG>Expected results</STRONG>: The user must be able to edit the complete page html.<BR> <STRONG>Configurations</STRONG>: FullPage = true ;<BR> <STRONG>Steps to Reproduce</STRONG>: </P> <OL> <LI> Wait the editor to load. <LI> Type some text. <LI> Switch to Source mode. <LI> Switch back to WYSUWYG mode. <LI> Repeat steps 2, 3 and 4. <LI> Hit submit button and check the submitted data. </LI> </OL> <P> <hr> <P></P> <form action="sampleposteddata.asp" method="post" target="_blank"> <script type="text/javascript"> <!-- // Automatically calculates the editor base path based on the _samples directory. // This is usefull only for these samples. A real application should use something like this: // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value. var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_testcases')) ; var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.Config["FullPage"] = true ; oFCKeditor.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>' ; oFCKeditor.Create() ; //--> </script> <br> <input type="submit" value="Submit"> </form> </body> </html> --- NEW FILE: sampleposteddata.asp --- (This appears to be a binary file; contents omitted.) |