view wiki/htdocs/applets/FCKeditor/_testcases/002.html @ 0:77665d8e2254

tag of nonpublic@localhost--archive/moin--enterprise--1.5--base-0 (automatically generated log message) imported from: moin--main--1.5--base-0
author Thomas Waldmann <>
date Thu, 22 Sep 2005 15:09:50 +0000
line wrap: on
line source

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 * FCKeditor - The text editor for internet
 * Copyright (C) 2003-2005 Frederico Caldeira Knabben
 * Licensed under the terms of the GNU Lesser General Public License:
 * For further information visit:
 * "Support Open Source software. What about a donation today?"
 * File Name: 002.html
 * 	Test page.
 * File Authors:
 * 		Frederico Caldeira Knabben (
		<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>
		<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>:
			Wait the editor to load.
			Type some text and format it (use the "Bold" and&nbsp;"Style" commands).
			Check the toolbar buttons context sensitiveness.
			Switch to Source mode.
			Repeat steps 2, 3 and 4.
				Hit submit button and check the submitted data.
		<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() ;
			<input type="submit" value="Submit">