forked from extern/egroupware
update to FCK 2.6, please note: you probably have to delete your browser cache!
This commit is contained in:
parent
f3387a7c1f
commit
e4401d7f41
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -32,7 +32,7 @@
|
|||||||
<h1>
|
<h1>
|
||||||
FCKeditor Documentation</h1>
|
FCKeditor Documentation</h1>
|
||||||
<p>
|
<p>
|
||||||
You can find the official documentation for FCKeditor online, at <a href="http://wiki.fckeditor.net/">
|
You can find the official documentation for FCKeditor online, at <a href="http://docs.fckeditor.net/">
|
||||||
http://wiki.fckeditor.net/</a>.</p>
|
http://docs.fckeditor.net/</a>.</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 595 B |
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 326 B |
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
34
phpgwapi/js/fckeditor/_samples/adobeair/application.xml
Normal file
34
phpgwapi/js/fckeditor/_samples/adobeair/application.xml
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<application xmlns="http://ns.adobe.com/air/application/1.0">
|
||||||
|
<id>net.fckeditor.air.samples.sample01</id>
|
||||||
|
<name>FCKeditor Sample Application 1.0</name>
|
||||||
|
<version>1.0</version>
|
||||||
|
<filename>FCKeditor AIR Sample</filename>
|
||||||
|
<description>This is a sample AIR application including FCKeditor.</description>
|
||||||
|
<copyright>Copyright (C) 2003-2008 Frederico Caldeira Knabben</copyright>
|
||||||
|
<initialWindow>
|
||||||
|
<content>_samples/adobeair/sample01.html</content>
|
||||||
|
<title>FCKeditor AIR Sample</title>
|
||||||
|
<systemChrome>standard</systemChrome>
|
||||||
|
<transparent>false</transparent>
|
||||||
|
<visible>true</visible>
|
||||||
|
<minimizable>true</minimizable>
|
||||||
|
<maximizable>true</maximizable>
|
||||||
|
<resizable>true</resizable>
|
||||||
|
<x>100</x>
|
||||||
|
<y>80</y>
|
||||||
|
<width>820</width>
|
||||||
|
<height>600</height>
|
||||||
|
<minSize>600 400</minSize>
|
||||||
|
</initialWindow>
|
||||||
|
<installFolder>FCKeditor/AIR Samples/Sample01</installFolder>
|
||||||
|
<programMenuFolder>FCKeditor/AIR Samples</programMenuFolder>
|
||||||
|
<icon>
|
||||||
|
<image16x16>_samples/adobeair/icons/16.png</image16x16>
|
||||||
|
<image32x32>_samples/adobeair/icons/32.png</image32x32>
|
||||||
|
<image48x48>_samples/adobeair/icons/48.png</image48x48>
|
||||||
|
<image128x128>_samples/adobeair/icons/128.png</image128x128>
|
||||||
|
</icon>
|
||||||
|
<customUpdateUI>false</customUpdateUI>
|
||||||
|
<allowBrowserInvocation>false</allowBrowserInvocation>
|
||||||
|
</application>
|
BIN
phpgwapi/js/fckeditor/_samples/adobeair/icons/128.png
Normal file
BIN
phpgwapi/js/fckeditor/_samples/adobeair/icons/128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
phpgwapi/js/fckeditor/_samples/adobeair/icons/16.png
Normal file
BIN
phpgwapi/js/fckeditor/_samples/adobeair/icons/16.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 273 B |
BIN
phpgwapi/js/fckeditor/_samples/adobeair/icons/32.png
Normal file
BIN
phpgwapi/js/fckeditor/_samples/adobeair/icons/32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 562 B |
BIN
phpgwapi/js/fckeditor/_samples/adobeair/icons/48.png
Normal file
BIN
phpgwapi/js/fckeditor/_samples/adobeair/icons/48.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 563 B |
26
phpgwapi/js/fckeditor/_samples/adobeair/package.bat
Normal file
26
phpgwapi/js/fckeditor/_samples/adobeair/package.bat
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
@ECHO OFF
|
||||||
|
|
||||||
|
::
|
||||||
|
:: FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
|
:: Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
|
::
|
||||||
|
:: == BEGIN LICENSE ==
|
||||||
|
::
|
||||||
|
:: Licensed under the terms of any of the following licenses at your
|
||||||
|
:: choice:
|
||||||
|
::
|
||||||
|
:: - GNU General Public License Version 2 or later (the "GPL")
|
||||||
|
:: http://www.gnu.org/licenses/gpl.html
|
||||||
|
::
|
||||||
|
:: - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
||||||
|
:: http://www.gnu.org/licenses/lgpl.html
|
||||||
|
::
|
||||||
|
:: - Mozilla Public License Version 1.1 or later (the "MPL")
|
||||||
|
:: http://www.mozilla.org/MPL/MPL-1.1.html
|
||||||
|
::
|
||||||
|
:: == END LICENSE ==
|
||||||
|
::
|
||||||
|
|
||||||
|
:: adt -package SIGNING_OPTIONS air_file app_xml [file_or_dir | -C dir file_or_dir | -e file dir ...] ...
|
||||||
|
|
||||||
|
"C:\Adobe AIR SDK\bin\adt" -package -storetype pkcs12 -keystore sample01_cert.pfx -storepass 123abc FCKeditor.air application.xml -C ../../ .
|
26
phpgwapi/js/fckeditor/_samples/adobeair/run.bat
Normal file
26
phpgwapi/js/fckeditor/_samples/adobeair/run.bat
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
@ECHO OFF
|
||||||
|
|
||||||
|
::
|
||||||
|
:: FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
|
:: Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
|
::
|
||||||
|
:: == BEGIN LICENSE ==
|
||||||
|
::
|
||||||
|
:: Licensed under the terms of any of the following licenses at your
|
||||||
|
:: choice:
|
||||||
|
::
|
||||||
|
:: - GNU General Public License Version 2 or later (the "GPL")
|
||||||
|
:: http://www.gnu.org/licenses/gpl.html
|
||||||
|
::
|
||||||
|
:: - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
||||||
|
:: http://www.gnu.org/licenses/lgpl.html
|
||||||
|
::
|
||||||
|
:: - Mozilla Public License Version 1.1 or later (the "MPL")
|
||||||
|
:: http://www.mozilla.org/MPL/MPL-1.1.html
|
||||||
|
::
|
||||||
|
:: == END LICENSE ==
|
||||||
|
::
|
||||||
|
|
||||||
|
:: adl [-runtime runtime-directory] [-pubId publisher-id] [-nodebug] application.xml [rootdirectory] [-- arguments]
|
||||||
|
|
||||||
|
"C:\Adobe AIR SDK\bin\adl" application.xml ../../
|
58
phpgwapi/js/fckeditor/_samples/adobeair/sample01.html
Normal file
58
phpgwapi/js/fckeditor/_samples/adobeair/sample01.html
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<!--
|
||||||
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
|
*
|
||||||
|
* == BEGIN LICENSE ==
|
||||||
|
*
|
||||||
|
* Licensed under the terms of any of the following licenses at your
|
||||||
|
* choice:
|
||||||
|
*
|
||||||
|
* - GNU General Public License Version 2 or later (the "GPL")
|
||||||
|
* http://www.gnu.org/licenses/gpl.html
|
||||||
|
*
|
||||||
|
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
||||||
|
* http://www.gnu.org/licenses/lgpl.html
|
||||||
|
*
|
||||||
|
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
||||||
|
* http://www.mozilla.org/MPL/MPL-1.1.html
|
||||||
|
*
|
||||||
|
* == END LICENSE ==
|
||||||
|
*
|
||||||
|
* Sample Adobe AIR application.
|
||||||
|
-->
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head>
|
||||||
|
<title>FCKeditor - Adobe AIR Sample</title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<meta name="robots" content="noindex, nofollow" />
|
||||||
|
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
||||||
|
<script type="text/javascript" src="../../fckeditor.js"></script>
|
||||||
|
<style type="text/css">
|
||||||
|
body { margin: 10px ; }
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>
|
||||||
|
FCKeditor - Adobe AIR Sample
|
||||||
|
</h1>
|
||||||
|
<div>
|
||||||
|
This sample loads FCKeditor with full features enabled.
|
||||||
|
</div>
|
||||||
|
<hr />
|
||||||
|
<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.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
||||||
|
|
||||||
|
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
||||||
|
oFCKeditor.BasePath = sBasePath ;
|
||||||
|
oFCKeditor.Height = 400 ;
|
||||||
|
oFCKeditor.Value = '<p>FCKeditor is in the <strong>AIR</strong>!<\/p>' ;
|
||||||
|
oFCKeditor.Create() ;
|
||||||
|
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
BIN
phpgwapi/js/fckeditor/_samples/adobeair/sample01_cert.pfx
Normal file
BIN
phpgwapi/js/fckeditor/_samples/adobeair/sample01_cert.pfx
Normal file
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -163,4 +163,3 @@
|
|||||||
RETURN (tcString)
|
RETURN (tcString)
|
||||||
|
|
||||||
ENDDEFINE
|
ENDDEFINE
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<%
|
<%
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<%
|
<%
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<%
|
<%
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<%
|
<%
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<%
|
<%
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<% Option Explicit %>
|
<% Option Explicit %>
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<% Option Explicit %>
|
<% Option Explicit %>
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<% Option Explicit %>
|
<% Option Explicit %>
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<% Option Explicit %>
|
<% Option Explicit %>
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<% Option Explicit %>
|
<% Option Explicit %>
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<cfsetting enablecfoutputonly="true">
|
<cfsetting enablecfoutputonly="true">
|
||||||
<!---
|
<!---
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<cfsetting enablecfoutputonly="true">
|
<cfsetting enablecfoutputonly="true">
|
||||||
<!---
|
<!---
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<cfsetting enablecfoutputonly="true">
|
<cfsetting enablecfoutputonly="true">
|
||||||
<!---
|
<!---
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<cfsetting enablecfoutputonly="true">
|
<cfsetting enablecfoutputonly="true">
|
||||||
<!---
|
<!---
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<cfsetting enablecfoutputonly="true">
|
<cfsetting enablecfoutputonly="true">
|
||||||
<!---
|
<!---
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<cfsetting enablecfoutputonly="true">
|
<cfsetting enablecfoutputonly="true">
|
||||||
<!---
|
<!---
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<cfsetting enablecfoutputonly="true">
|
<cfsetting enablecfoutputonly="true">
|
||||||
<!---
|
<!---
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<cfsetting enablecfoutputonly="true">
|
<cfsetting enablecfoutputonly="true">
|
||||||
<!---
|
<!---
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!---
|
<!---
|
||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"http://www.w3.org/TR/html4/frameset.dtd">
|
"http://www.w3.org/TR/html4/frameset.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -43,7 +43,7 @@
|
|||||||
// Automatically calculates the editor base path based on the _samples directory.
|
// 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:
|
// This is usefull only for these samples. A real application should use something like this:
|
||||||
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
||||||
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
|
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
||||||
|
|
||||||
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
||||||
oFCKeditor.BasePath = sBasePath ;
|
oFCKeditor.BasePath = sBasePath ;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -35,7 +35,7 @@ window.onload = function()
|
|||||||
// Automatically calculates the editor base path based on the _samples directory.
|
// 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:
|
// This is usefull only for these samples. A real application should use something like this:
|
||||||
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
||||||
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
|
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
||||||
|
|
||||||
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
||||||
oFCKeditor.BasePath = sBasePath ;
|
oFCKeditor.BasePath = sBasePath ;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -78,7 +78,7 @@ function AddComboOption(combo, optionText, optionValue)
|
|||||||
|
|
||||||
function ChangeLanguage( languageCode )
|
function ChangeLanguage( languageCode )
|
||||||
{
|
{
|
||||||
window.location.href = window.location.pathname + "?" + languageCode ;
|
document.location.href = document.location.href.replace( /\?.*$/, '' ) + "?" + languageCode ;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
@ -111,7 +111,7 @@ function ChangeLanguage( languageCode )
|
|||||||
// Automatically calculates the editor base path based on the _samples directory.
|
// 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:
|
// This is usefull only for these samples. A real application should use something like this:
|
||||||
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
||||||
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
|
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
||||||
|
|
||||||
var sLang ;
|
var sLang ;
|
||||||
if ( document.location.search.length > 1 )
|
if ( document.location.search.length > 1 )
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -39,7 +39,7 @@ function FCKeditor_OnComplete( editorInstance )
|
|||||||
|
|
||||||
function ChangeLanguage( languageCode )
|
function ChangeLanguage( languageCode )
|
||||||
{
|
{
|
||||||
window.location.href = window.location.pathname + "?" + languageCode ;
|
document.location.href = document.location.href.replace( /\?.*$/, '' ) + "?" + languageCode ;
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
@ -71,7 +71,7 @@ function ChangeLanguage( languageCode )
|
|||||||
// Automatically calculates the editor base path based on the _samples directory.
|
// 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:
|
// This is usefull only for these samples. A real application should use something like this:
|
||||||
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
||||||
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
|
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
||||||
|
|
||||||
// Get the toolbar from the URL.
|
// Get the toolbar from the URL.
|
||||||
var sToolbar ;
|
var sToolbar ;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -44,7 +44,7 @@ function FCKeditor_OnComplete( editorInstance )
|
|||||||
|
|
||||||
function ChangeLanguage( languageCode )
|
function ChangeLanguage( languageCode )
|
||||||
{
|
{
|
||||||
window.location.href = window.location.pathname + "?" + languageCode ;
|
document.location.href = document.location.href.replace( /\?.*$/, '' ) + "?" + languageCode ;
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
@ -77,7 +77,7 @@ function ChangeLanguage( languageCode )
|
|||||||
// Automatically calculates the editor base path based on the _samples directory.
|
// 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:
|
// This is usefull only for these samples. A real application should use something like this:
|
||||||
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
||||||
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
|
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
||||||
|
|
||||||
// Get the skin from the URL.
|
// Get the skin from the URL.
|
||||||
var sSkin ;
|
var sSkin ;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -39,11 +39,11 @@ FCKConfig.PluginsPath = FCKConfig.BasePath.substr(0, FCKConfig.BasePath.length -
|
|||||||
// FCKConfig.Plugins.Add( pluginName, availableLanguages )
|
// FCKConfig.Plugins.Add( pluginName, availableLanguages )
|
||||||
// pluginName: The plugin name. The plugin directory must match this name.
|
// pluginName: The plugin name. The plugin directory must match this name.
|
||||||
// availableLanguages: a list of available language files for the plugin (separated by a comma).
|
// availableLanguages: a list of available language files for the plugin (separated by a comma).
|
||||||
FCKConfig.Plugins.Add( 'findreplace', 'en,it,fr' ) ;
|
FCKConfig.Plugins.Add( 'findreplace', 'en,fr,it' ) ;
|
||||||
FCKConfig.Plugins.Add( 'samples' ) ;
|
FCKConfig.Plugins.Add( 'samples' ) ;
|
||||||
|
|
||||||
// If you want to use plugins found on other directories, just use the third parameter.
|
// If you want to use plugins found on other directories, just use the third parameter.
|
||||||
var sOtherPluginPath = FCKConfig.BasePath.substr(0, FCKConfig.BasePath.length - 7) + 'editor/plugins/' ;
|
var sOtherPluginPath = FCKConfig.BasePath.substr(0, FCKConfig.BasePath.length - 7) + 'editor/plugins/' ;
|
||||||
FCKConfig.Plugins.Add( 'placeholder', 'en,it,de,fr', sOtherPluginPath ) ;
|
FCKConfig.Plugins.Add( 'placeholder', 'de,en,es,fr,it,pl', sOtherPluginPath ) ;
|
||||||
FCKConfig.Plugins.Add( 'tablecommands', null, sOtherPluginPath ) ;
|
FCKConfig.Plugins.Add( 'tablecommands', null, sOtherPluginPath ) ;
|
||||||
FCKConfig.Plugins.Add( 'simplecommands', null, sOtherPluginPath ) ;
|
FCKConfig.Plugins.Add( 'simplecommands', null, sOtherPluginPath ) ;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -51,7 +51,7 @@
|
|||||||
// Automatically calculates the editor base path based on the _samples directory.
|
// 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:
|
// This is usefull only for these samples. A real application should use something like this:
|
||||||
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
||||||
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
|
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
||||||
|
|
||||||
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
||||||
oFCKeditor.BasePath = sBasePath ;
|
oFCKeditor.BasePath = sBasePath ;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -43,7 +43,7 @@
|
|||||||
// Automatically calculates the editor base path based on the _samples directory.
|
// 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:
|
// This is usefull only for these samples. A real application should use something like this:
|
||||||
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
||||||
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
|
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
||||||
|
|
||||||
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
||||||
oFCKeditor.BasePath = sBasePath ;
|
oFCKeditor.BasePath = sBasePath ;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -154,7 +154,7 @@ function ResetIsDirty()
|
|||||||
// Automatically calculates the editor base path based on the _samples directory.
|
// 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:
|
// This is usefull only for these samples. A real application should use something like this:
|
||||||
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
||||||
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
|
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
||||||
|
|
||||||
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
||||||
oFCKeditor.BasePath = sBasePath ;
|
oFCKeditor.BasePath = sBasePath ;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -68,7 +68,7 @@ function FCKeditor_OnFocus( editorInstance )
|
|||||||
// Automatically calculates the editor base path based on the _samples directory.
|
// 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:
|
// This is usefull only for these samples. A real application should use something like this:
|
||||||
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
||||||
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
|
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
||||||
|
|
||||||
var oFCKeditor = new FCKeditor( 'FCKeditor_Basic' ) ;
|
var oFCKeditor = new FCKeditor( 'FCKeditor_Basic' ) ;
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -50,7 +50,7 @@
|
|||||||
// Automatically calculates the editor base path based on the _samples directory.
|
// 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:
|
// This is usefull only for these samples. A real application should use something like this:
|
||||||
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
||||||
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
|
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
||||||
|
|
||||||
var oFCKeditor = new FCKeditor( 'FCKeditor_1' ) ;
|
var oFCKeditor = new FCKeditor( 'FCKeditor_1' ) ;
|
||||||
oFCKeditor.BasePath = sBasePath ;
|
oFCKeditor.BasePath = sBasePath ;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -40,7 +40,7 @@
|
|||||||
// Automatically calculates the editor base path based on the _samples directory.
|
// 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:
|
// This is usefull only for these samples. A real application should use something like this:
|
||||||
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
||||||
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
|
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
||||||
|
|
||||||
var oFCKeditor = new FCKeditor( 'FCKeditor_1' ) ;
|
var oFCKeditor = new FCKeditor( 'FCKeditor_1' ) ;
|
||||||
oFCKeditor.BasePath = sBasePath ;
|
oFCKeditor.BasePath = sBasePath ;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -82,7 +82,7 @@ function ChangeMode()
|
|||||||
// Automatically calculates the editor base path based on the _samples directory.
|
// 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:
|
// This is usefull only for these samples. A real application should use something like this:
|
||||||
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
||||||
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
|
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
||||||
|
|
||||||
// The following are the default configurations for the Enter and Shift+Enter modes.
|
// The following are the default configurations for the Enter and Shift+Enter modes.
|
||||||
var sEnterMode = 'p' ;
|
var sEnterMode = 'p' ;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -85,7 +85,7 @@ function CreateEditor()
|
|||||||
// Automatically calculates the editor base path based on the _samples directory.
|
// 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:
|
// This is usefull only for these samples. A real application should use something like this:
|
||||||
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
||||||
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
|
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
||||||
|
|
||||||
// Create an instance of FCKeditor (using the target textarea as the name).
|
// Create an instance of FCKeditor (using the target textarea as the name).
|
||||||
var oFCKeditor = new FCKeditor( 'DataFCKeditor' ) ;
|
var oFCKeditor = new FCKeditor( 'DataFCKeditor' ) ;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -45,7 +45,7 @@
|
|||||||
// Automatically calculates the editor base path based on the _samples directory.
|
// 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:
|
// This is usefull only for these samples. A real application should use something like this:
|
||||||
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
||||||
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
|
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
||||||
|
|
||||||
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
||||||
oFCKeditor.BasePath = sBasePath ;
|
oFCKeditor.BasePath = sBasePath ;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[//lasso
|
[//lasso
|
||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[//lasso
|
[//lasso
|
||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[//lasso
|
[//lasso
|
||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[//lasso
|
[//lasso
|
||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[//lasso
|
[//lasso
|
||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#####
|
#####
|
||||||
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
# Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
# Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
#
|
#
|
||||||
# == BEGIN LICENSE ==
|
# == BEGIN LICENSE ==
|
||||||
#
|
#
|
||||||
@ -109,6 +109,8 @@ my $dir;
|
|||||||
$dir = $ENV{'PATH_INFO'};
|
$dir = $ENV{'PATH_INFO'};
|
||||||
} elsif($ENV{'FILEPATH_INFO'}) {
|
} elsif($ENV{'FILEPATH_INFO'}) {
|
||||||
$dir = $ENV{'FILEPATH_INFO'};
|
$dir = $ENV{'FILEPATH_INFO'};
|
||||||
|
} elsif($ENV{'REQUEST_URI'}) {
|
||||||
|
$dir = $ENV{'REQUEST_URI'};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return($dir);
|
return($dir);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#####
|
#####
|
||||||
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
# Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
# Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
#
|
#
|
||||||
# == BEGIN LICENSE ==
|
# == BEGIN LICENSE ==
|
||||||
#
|
#
|
||||||
@ -174,6 +174,8 @@ my $dir;
|
|||||||
$dir = $ENV{'PATH_INFO'};
|
$dir = $ENV{'PATH_INFO'};
|
||||||
} elsif($ENV{'FILEPATH_INFO'}) {
|
} elsif($ENV{'FILEPATH_INFO'}) {
|
||||||
$dir = $ENV{'FILEPATH_INFO'};
|
$dir = $ENV{'FILEPATH_INFO'};
|
||||||
|
} elsif($ENV{'REQUEST_URI'}) {
|
||||||
|
$dir = $ENV{'REQUEST_URI'};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return($dir);
|
return($dir);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#####
|
#####
|
||||||
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
# Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
# Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
#
|
#
|
||||||
# == BEGIN LICENSE ==
|
# == BEGIN LICENSE ==
|
||||||
#
|
#
|
||||||
@ -159,6 +159,8 @@ my $dir;
|
|||||||
$dir = $ENV{'PATH_INFO'};
|
$dir = $ENV{'PATH_INFO'};
|
||||||
} elsif($ENV{'FILEPATH_INFO'}) {
|
} elsif($ENV{'FILEPATH_INFO'}) {
|
||||||
$dir = $ENV{'FILEPATH_INFO'};
|
$dir = $ENV{'FILEPATH_INFO'};
|
||||||
|
} elsif($ENV{'REQUEST_URI'}) {
|
||||||
|
$dir = $ENV{'REQUEST_URI'};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return($dir);
|
return($dir);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#####
|
#####
|
||||||
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
# Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
# Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
#
|
#
|
||||||
# == BEGIN LICENSE ==
|
# == BEGIN LICENSE ==
|
||||||
#
|
#
|
||||||
@ -166,6 +166,8 @@ my $dir;
|
|||||||
$dir = $ENV{'PATH_INFO'};
|
$dir = $ENV{'PATH_INFO'};
|
||||||
} elsif($ENV{'FILEPATH_INFO'}) {
|
} elsif($ENV{'FILEPATH_INFO'}) {
|
||||||
$dir = $ENV{'FILEPATH_INFO'};
|
$dir = $ENV{'FILEPATH_INFO'};
|
||||||
|
} elsif($ENV{'REQUEST_URI'}) {
|
||||||
|
$dir = $ENV{'REQUEST_URI'};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return($dir);
|
return($dir);
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
#####
|
#####
|
||||||
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
# Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
# Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
#
|
#
|
||||||
# == BEGIN LICENSE ==
|
# == BEGIN LICENSE ==
|
||||||
#
|
#
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
|
|
||||||
== BEGIN LICENSE ==
|
== BEGIN LICENSE ==
|
||||||
|
|
||||||
@ -78,5 +78,3 @@ print """
|
|||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
|
|
||||||
== BEGIN LICENSE ==
|
== BEGIN LICENSE ==
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"http://www.w3.org/TR/html4/strict.dtd">
|
"http://www.w3.org/TR/html4/strict.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -32,7 +32,8 @@
|
|||||||
<h1>
|
<h1>
|
||||||
FCKeditor Upgrade</h1>
|
FCKeditor Upgrade</h1>
|
||||||
<p>
|
<p>
|
||||||
Please check the following URL for notes regarding upgrade: <a href="http://wiki.fckeditor.net/Developer%27s_Guide/Upgrade">
|
Please check the following URL for notes regarding upgrade:<br />
|
||||||
http://wiki.fckeditor.net/Developer%27s_Guide/Upgrade</a></p>
|
<a href="http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Installation/Upgrading">
|
||||||
|
http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Installation/Upgrading</a></p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -33,537 +33,259 @@
|
|||||||
<h1>
|
<h1>
|
||||||
FCKeditor ChangeLog - What's New?</h1>
|
FCKeditor ChangeLog - What's New?</h1>
|
||||||
<h3>
|
<h3>
|
||||||
Version 2.5</h3>
|
Version 2.6</h3>
|
||||||
|
<p>
|
||||||
|
No changes. The stabilization of the 2.6 RC was completed successfully, as expected.</p>
|
||||||
|
<h3>
|
||||||
|
Version 2.6 RC</h3>
|
||||||
<p>
|
<p>
|
||||||
New Features and Improvements:</p>
|
New Features and Improvements:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>The heading options have been moved to the top, in the default settings for the
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2017">#2017</a>] The FCKeditorAPI.Instances
|
||||||
Format combo.</li>
|
object can now be used to access all FCKeditor instances available in the page.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1980">#1980</a>] <span
|
||||||
|
style="color: #ff0000">Attention:</span> By default, the editor now produces <strong>
|
||||||
|
and <em> instead of <b> and <i>.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<p>
|
<p>
|
||||||
Fixed Bugs:</p>
|
Fixed Bugs:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>The focus is now correctly set when working on Safari.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1924">#1924</a>] The dialog
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1436">#1436</a>] Nested
|
close button is now correctly positioned in IE in RTL languages.</li>
|
||||||
context menu panels are now correctly closed on Safari.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1933">#1933</a>] Placeholder
|
||||||
<li>Empty anchors are now properly created on Safari.</li>
|
dialog will now display the placeholder value correctly in IE.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1359">#1359</a>] FCKeditor
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/957">#957</a>] Pressing
|
||||||
will no longer produce the strange visual effect of creating a selected space and
|
Enter or typing after a placeholder with the placeholder plugin will no longer generate
|
||||||
then deleting it in Internet Explorer.</li>
|
colored text.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1399">#1399</a>] Removed
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1952">#1952</a>] Fixed
|
||||||
the empty entry in the language selection box of sample03.html.</li>
|
an issue in FCKTools.FixCssUrls that, other than wrong, was breaking Opera.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1400">#1400</a>] Fixed
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1695">#1695</a>] Removed
|
||||||
the issue where the style selection box in sample14.html is not context sensitive.</li>
|
Ctrl-Tab hotkey for Source mode and allowed Ctrl-T to work in Firefox.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1401">#1401</a>] Completed
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1666">#1666</a>] Fixed
|
||||||
Hebrew translation of the user interface.</li>
|
permission denied errors during opening popup menus in IE6 under domain relaxation
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1409">#1409</a>] Completed
|
|
||||||
Finnish translation of the user interface.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1414">#1414</a>] Fixed
|
|
||||||
the issue where entity code words written inside a <pre> block in Source mode
|
|
||||||
are not converted to the corresponding characters after switching back to editor
|
|
||||||
mode.</li>
|
mode.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1418">#1418</a>] Fixed
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1934">#1934</a>] Fixed
|
||||||
the issue where a detached toolbar would flicker when FCKeditor is being loaded.</li>
|
JavaScript errors when calling Selection.EnsureSelection() in dialogs.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1419">#1419</a>] Fixed
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1920">#1920</a>] Fixed
|
||||||
the issue where pressing Delete in the middle of two lists would incorrectly move
|
SSL warning message when opening image and flash dialogs under HTTPS in IE6.</li>
|
||||||
contents after the lists to the character position.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1955">#1955</a>] [<a
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1420">#1420</a>] Fixed
|
target="_blank" href="http://dev.fckeditor.net/ticket/1981">#1981</a>] [<a target="_blank"
|
||||||
the issue where empty list items can become collapsed and uneditable when it has
|
href="http://dev.fckeditor.net/ticket/1985">#1985</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1989">#1989</a>]
|
||||||
one of more indented list items directly under it. </li>
|
Fixed XHTML source formatting errors in non-IE browsers.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1431">#1431</a>] Fixed
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2000">#2000</a>] The #
|
||||||
the issue where pressing Enter in a <pre> block in Internet Explorer would
|
character is now properly encoded in file names returned by the File Browser.</li>
|
||||||
move the caret one space forward instead of sending it to the next line.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1945">#1945</a>] New folders
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1472">#1472</a>] Completed
|
and file names are now properly sanitized against control characters. </li>
|
||||||
Arabic translation of the user interface.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1944">#1944</a>] Backslash
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1474">#1474</a>] Fixed
|
character is now disallowed in current folder path.</li>
|
||||||
the issue where reloading a page containing FCKeditor may provoke JavaScript errors
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1055">#1055</a>] Added
|
||||||
in Internet Explorer.</li>
|
logic to override JavaScript errors occurring inside the editing frame due to user
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1478">#1478</a>] Fixed
|
added JavaScript code.</li>
|
||||||
the issue where parsing fckstyles.xml fails if the file contains no <style>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1647">#1647</a>] Hitting
|
||||||
nodes.</li>
|
ENTER on list items containing block elements will now create new list item elements,
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1491">#1491</a>] Fixed
|
instead of adding further blocks to the same list item.</li>
|
||||||
the issue where FCKeditor causes the selection to include an "end of line" character
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1411">#1411</a>] Label
|
||||||
in list items even though the list item is empty.</li>
|
only combos now get properly grayed out when moving to source view.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1496">#1496</a>] Fixed
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2009">#2009</a>] Fixed
|
||||||
the issue where attributes under <area> and <map> nodes are destroyed
|
an important bug regarding styles removal on styled text boundaries, introduced
|
||||||
or left unprotected when switching to and from Source mode.</li>
|
with the 2.6 Beta 1. </li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1500">#1500</a>] Fixed
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2011">#2011</a>] Internal
|
||||||
the issue where the function _FCK_PaddingNodeListener() is called excessively which
|
CSS <style> tags where being outputted when FullPage=true.</li>
|
||||||
negatively affects performance.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2016">#2016</a>] The Link
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1514">#1514</a>] Fixed
|
dialog now properly selects the first field when opening it to modify mailto or
|
||||||
the issue where floating menus are incorrectly positioned when the toolbar or the
|
anchor links. This problem was also throwing an error in IE.</li>
|
||||||
editor frame are not static positioned.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2021">#2021</a>] The caret
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1518">#1518</a>] Fixed
|
will no longer remain behind in the editing area when the placeholder dialog is
|
||||||
the issue where excessive <BR> nodes are not removed after a paragraph is
|
opened.</li>
|
||||||
split when creating lists.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2024">#2024</a>] Fixed
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1521">#1521</a>] Fixed
|
JavaScript error in IE when the user tries to open dialogs in Source mode.</li>
|
||||||
JavaScript error and erratic behavior of the Replace dialog.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1853">#1853</a>] Setting
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1524">#1524</a>] Fixed
|
ShiftEnterMode to p or div now works correctly when EnterMode is br.</li>
|
||||||
the issue where the caret jumps to the beginning or end of a list block and when
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1838">#1838</a>] Fixed
|
||||||
user is trying to select the end of a list item.</li>
|
the issue where context menus sometimes don't disappear after selecting an option.
|
||||||
<li>Completed Simplified Chinese translation of the user interface.</li>
|
|
||||||
<li>Completed Estonian translation of the user interface.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1406">#1406</a>] Editor
|
|
||||||
was always "dirty" if flash is available in the contents.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1561">#1561</a>] Non standard
|
|
||||||
elements are now properly applied if defined in the styles XML file.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1412">#1412</a>] The _QuickUploadLanguage
|
|
||||||
value is now work properly for Perl.</li>
|
|
||||||
<li>Several compatibility fixes for Firefox 3 (Beta 1):
|
|
||||||
<ul>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1558">#1558</a>] Nested
|
|
||||||
context menu close properly when one of their options is selected.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1556">#1556</a>] Dialogs
|
|
||||||
contents are now showing completely, without scrollbar.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1559">#1559</a>] It is
|
|
||||||
not possible to have more than one panel opened at the same time.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1554">#1554</a>] Links
|
|
||||||
now get underlined.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1557">#1557</a>] The "Automatic"
|
|
||||||
and "More colors..." buttons were improperly styled in the color selector panels
|
|
||||||
(Opera too).</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1462">#1462</a>] The enter
|
|
||||||
key will not any more scroll the main window.</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1562">#1562</a>] Fixed
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2028">#2028</a>] Fixed
|
||||||
the issue where empty paragraphs are added around page breaks each time the user
|
JavaScript error when EnterMode=br and user tries to insert a page break.</li>
|
||||||
switches to Source mode.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2002">#2002</a>] Fixed
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1578">#1578</a>] The editor
|
the issue where the maximize editor button does not vertically expand the editing
|
||||||
will now scroll correctly when hitting enter in front of a paragraph.</li>
|
area in Firefox.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1579">#1579</a>] Fixed
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1842">#1842</a>] PHP integration:
|
||||||
the issue where the create table and table properties dialogs are too narrow for
|
fixed filename encoding problems in file browser.</li>
|
||||||
certain translations.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1832">#1832</a>] Calling
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1580">#1580</a>] Completed
|
FCK.InsertHtml() in non-IE browsers would now activate the document processor as
|
||||||
Polish translation of the user interface.</li>
|
expected.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1591">#1591</a>] Fixed
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1998">#1998</a>] The native
|
||||||
JavaScript error when using the blockquote command in an empty document in IE.</li>
|
XMLHttpRequest class is now used in IE, whenever it is available.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1592">#1592</a>] Fixed
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1792">#1792</a>] In IE,
|
||||||
the issue where attempting to remove a blockquote with an empty paragraph would
|
the browser was able to enter in an infinite loop when working with multiple editors
|
||||||
leave behind an empty blockquote IE.</li>
|
in the same page. </li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1594">#1594</a>] Undo/Redo
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1948">#1948</a>] Some
|
||||||
will now work properly for the color selectors.</li>
|
CSS rules are reset to dialog elements to avoid conflict with the page CSS.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1597">#1597</a>] The color
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1965">#1965</a>] IE was
|
||||||
boxes are now properly rendered in the color selector panels on sample14.html.</li>
|
having problems with SpellerPages, causing some errors to be thrown when completing
|
||||||
|
the spell checking in some situations.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2042">#2042</a>] The FitWindow
|
||||||
|
command was throwing an error if executed in an editor where its relative button
|
||||||
|
is not present in the toolbar.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/922">#922</a>] Implemented
|
||||||
|
a generic document processor for <OBJECT> and <EMBED> tags.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1831">#1831</a>] Fixed
|
||||||
|
the issue where the placeholder icon for <EMBED> tags does not always show
|
||||||
|
up in IE7.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2049">#2049</a>] Fixed
|
||||||
|
a deleted cursor CSS attribute in the minified CSS inside fck_dialog_common.js.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1806">#1806</a>] In IE,
|
||||||
|
the caret will not any more move to the previous line when selecting a Format style
|
||||||
|
inside an empty paragraph.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1990">#1990</a>] In IE,
|
||||||
|
dialogs using API calls which deals with the selection, like InsertHtml now can
|
||||||
|
be sure the selection will be placed in the correct position.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1997">#1997</a>] With
|
||||||
|
IE, the first character of table captions where being lost on table creation.</li>
|
||||||
|
<li>The selection and cursor position was not being properly handled when creating some
|
||||||
|
elements like forms and tables.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/662">#662</a>] In the
|
||||||
|
Perl sample files, the GetServerPath function will now calculate the path properly.</li>
|
||||||
</ul>
|
</ul>
|
||||||
<h3>
|
<h3>
|
||||||
Version 2.5 Beta</h3>
|
Version 2.6 Beta 1</h3>
|
||||||
<p>
|
<p>
|
||||||
New Features and Improvements:</p>
|
New Features and Improvements:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/624">#624</a>] [<a
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/35">#35</a>] <strong>New
|
||||||
target="_blank" href="http://dev.fckeditor.net/ticket/634">#634</a>] [<a target="_blank"
|
(and cool!) floating dialog system</strong>, avoiding problems with popup blockers
|
||||||
href="http://dev.fckeditor.net/ticket/1300">#1300</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1301">#1301</a>]
|
and enhancing the editor usability.</li>
|
||||||
Official compatibility support with <strong>Opera 9.50</strong> and <strong>Safari 3</strong>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1886">#1886</a>] <strong>
|
||||||
(WebKit based browsers actually). These browsers are still in Beta, but we are confident
|
Adobe AIR</strong> compatibility.</li>
|
||||||
that we'll have amazing results as soon as they get stable. We are continuously
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/123">#123</a>] Full support
|
||||||
collaborating with Opera Software and Apple to bring a wonderful FCKeditor experience
|
for <strong>document.domain</strong> with automatic domain detection.</li>
|
||||||
over their browser platforms.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1622">#1622</a>] New <strong>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/494">#494</a>] Introduced
|
inline CSS cache</strong> feature, making it possible to avoid downloading the CSS
|
||||||
the <strong>new Style System</strong>. We are not anymore relaying on browser features
|
files for the editing area and skins. For that, it is enough to set the EditorAreaCSS,
|
||||||
to apply and remove styles, which guarantees that the editor will <strong>behave in
|
SkinEditorCSS and SkinDialogCSS to string values in the format "/absolute/path/for/urls/|<minified
|
||||||
the same way in all browsers</strong>. It is an incredibly flexible system,
|
CSS styles". All internal CSS links are already using this feature. </li>
|
||||||
which aims to fit all developer's needs, from Flash content or HTML4 to XHTML 1.0
|
<li>New language file for <strong>Canadian French</strong>.</li>
|
||||||
Strict or XHTML 1.1:
|
|
||||||
<ul>
|
|
||||||
<li>All basic formatting features, like Bold and Italic, can be precisely controlled
|
|
||||||
by using the configuration file (<b>CoreStyles</b> setting). It means that now,
|
|
||||||
the Bold button, for example, can produce <b>, <strong>, <span class...>,
|
|
||||||
<span style...> or anything the developer prefers.</li>
|
|
||||||
<li>Again with the <b>CoreStyles</b> setting, each block format, font, size, and even
|
|
||||||
the color pickers can precisely reflect end developer's needs.</li>
|
|
||||||
<li>Because of the above changes, font sizes are much more flexible. <b>Any kind of
|
|
||||||
font unit</b> can be used, including a mix of units.</li>
|
|
||||||
<li>All styles, including toolbar bottom styles, are precisely controlled when being
|
|
||||||
applied to the document. FCKeditor uses an element table derived from the <b>W3C XHTML
|
|
||||||
DTDs</b> to precisely create the elements, guarantee standards compliant code.</li>
|
|
||||||
<li><b>No more <font> tags</b>... well... actually, the system is so flexible
|
|
||||||
that it is up to you to use them or not.</li>
|
|
||||||
<li>It is possible to configure FCKeditor to produce a truly <b>semantic aware </b>and<b>
|
|
||||||
XHTML 1.1 compliant </b>code. Check out sample14.html.</li>
|
|
||||||
<li>It's also possible to precisely control which inline elements must be removed with
|
|
||||||
the "Remove All" button, by using the "<b>RemoveFormatTags</b>"
|
|
||||||
setting.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1231">#1231</a>] [<a
|
|
||||||
target="_blank" href="http://dev.fckeditor.net/ticket/160">#160</a>] Paragraph <b>indentation</b>
|
|
||||||
and <b>justification</b> now uses style attributes and don't create unnecessary
|
|
||||||
elements, and <blockquote> is not anymore used for it. Now, even CSS classes
|
|
||||||
can be used to indent or align text.</li>
|
|
||||||
<li>All paragraph formatting features work well when EnterMode=br.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/172">#172</a>] All paragraph
|
|
||||||
formatting features work well when list items too.</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1197">#1197</a>] [<a
|
|
||||||
target="_blank" href="http://dev.fckeditor.net/ticket/132">#132</a>] The toolbar
|
|
||||||
now presents a <strong>new button for Blockquote</strong>. The indentation button
|
|
||||||
will not anymore be used for that.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/125">#125</a>] Table's
|
|
||||||
<strong>columns size can now be changed by dragging on cell borders</strong>, with
|
|
||||||
the "dragresizetable" plugin. </li>
|
|
||||||
<li>The EditorAreaCSS config option can now also be set to a string of paths separated
|
|
||||||
by commas.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/212">#212</a>] New "<strong>Show
|
|
||||||
Blocks</strong>" command button in toolbar to show block details in the editing
|
|
||||||
area. </li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/915">#915</a>] The <strong>
|
|
||||||
undo/redo system has been revamped</strong> to work the same across Internet Explorer
|
|
||||||
and Gecko-based browsers (e.g. Firefox). A number of critical bugs in the undo/redo
|
|
||||||
system are also fixed. </li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/194">#194</a>] The editor
|
|
||||||
now uses the <strong>Data Processor</strong> technology, which makes it possible
|
|
||||||
to handle different input formats. A sample of it may be found at "editor/plugins/bbcode/_sample",
|
|
||||||
that shows some simple BBCode support. </li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/145">#145</a>] The "htaccess.txt"
|
|
||||||
file has been renamed to ".htaccess" as it doesn't bring security concerns, being
|
|
||||||
active out of the box.</li>
|
|
||||||
<li>File Browser and Quick Upload changes:
|
|
||||||
<ul>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/163">#163</a>] <span
|
|
||||||
style="color: #ff0000"><strong>Attention:</strong></span> The default connector
|
|
||||||
in fckconfig.js has been changed from ASP to PHP. If you are using ASP remember
|
|
||||||
to change the _FileBrowserLanguage and _QuickUploadLanguage settings in your fckconfig.js.
|
|
||||||
[<a target="_blank" href="http://dev.fckeditor.net/ticket/454">#454</a>] The file
|
|
||||||
browser and upload connectors have been unified so they can reuse the same configuration
|
|
||||||
settings.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/865">#865</a>] The ASP
|
|
||||||
and PHP connectors have been improved so it's easy to select the location of the
|
|
||||||
destination folder for each file type, and it's no longer necessary to use the "file",
|
|
||||||
"image", "flash" subfolders<br />
|
|
||||||
<span style="color: #ff0000"><strong>Attention:</strong></span> The location of
|
|
||||||
all the connectors have been changed in the fckconfig.js file. Please check your
|
|
||||||
settings to match the current ones. Also review carefully the config file for your
|
|
||||||
server language. </li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/688">#688</a>] Now the
|
|
||||||
Perl quick upload is available. </li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/575">#575</a>] The Python
|
|
||||||
connector has been rewritten as a WSGI app to be fully compatible with the latest
|
|
||||||
python frameworks and servers. The QuickUpload feature has been added as well as
|
|
||||||
all the features available in the PHP connector. Thanks to Mariano Reingart.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/561">#561</a>] The ASP
|
|
||||||
connector provides an AbsolutePath setting so it's possible to set the url to a
|
|
||||||
full domain or a relative path and specify that way the physical folder where the
|
|
||||||
files are stored..</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/333">#333</a>] The Quick
|
|
||||||
Upload now can use the same ServerPath parameter as the full connector.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/199">#199</a>] The AllowedCommands
|
|
||||||
configuration setting is available in the asp and php connectors so it's possible
|
|
||||||
to disallow the upload of files (although the "select file" button will still be
|
|
||||||
available in the file browser).</li>
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/100">#100</a>] A new configuration
|
|
||||||
directive "FCKConfig.EditorAreaStyles" has been implemented to allow setting editing
|
|
||||||
area styles from JavaScript. </li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/102">#102</a>] HTML code
|
|
||||||
generated by the "Paste As Plain Text" feature now obeys the EnterMode setting.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1266">#1266</a>] Introducing
|
|
||||||
the HtmlEncodeOutput setting to instruct the editor to HTML-encode some characters
|
|
||||||
(&, < and >) in the posted data.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/357">#357</a>] Added a
|
|
||||||
"Remove Anchor" option in the context menu for anchors. </li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1060">#1060</a>] Compatibility
|
|
||||||
checks with Firefox 3.0 Alpha. </li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/817">#817</a>] [<a
|
|
||||||
target="_blank" href="http://dev.fckeditor.net/ticket/1077">#1077</a>] New "Merge
|
|
||||||
Down/Right" commands for merging tables cells in non-Gecko browsers.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1288">#1288</a>] The "More
|
|
||||||
Colors..." button in color selector popup has been made optional and configurable
|
|
||||||
by the <strong>EnableMoreFontColors</strong> option. </li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/356">#356</a>] The <strong>
|
|
||||||
Find and Replace</strong> dialogs are now unified into a single dialog with tabs.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/549">#549</a>] Added a
|
|
||||||
'None' option to the FCKConfig.ToolbarLocation option to allow for hidden toolbars.
|
|
||||||
</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1313">#1313</a>] An XHTML
|
|
||||||
1.1 target editor sample has been created as sample14.html. </li>
|
|
||||||
<li>The ASP, ColdFusion and PHP integration have been aligned to our standards.</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
<p>
|
<p>
|
||||||
Fixed Bugs:</p>
|
Fixed Bugs:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/71">#71</a>] [<a target="_blank"
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1643">#1643</a>] Resolved
|
||||||
href="http://dev.fckeditor.net/ticket/243">#243</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/267">#267</a>]
|
several "strict warning" messages in Firefox when running FCKeditor.</li>
|
||||||
The editor now takes care to not create invalid nested block elements, like creating
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1522">#1522</a>] The ENTER
|
||||||
<form> or <hr> inside <p>. </li>
|
key will now work properly in IE with the cursor at the start of a formatted block.</li>
|
||||||
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1511298&group_id=75348&atid=543655">SF
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1503">#1503</a>] It's
|
||||||
Patch 1511298</a>] The CF Component failed on CFMX 6.0</li>
|
possible to define in the Styles that a Style (with an empty class) must be shown
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/639">#639</a>] If the
|
selected only when no class is present in the current element, and selecting that
|
||||||
FCKConfig.DefaultLinkTarget setting was missing in fckconfig.js the links has target="undefined".</li>
|
item will clear the current class (it does apply to any attribute, not only classes).</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/497">#497</a>] Fixed EMBED
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/191">#191</a>] The scrollbars
|
||||||
attributes handling in IE.</li>
|
are now being properly shown in Firefox Mac when placing FCKeditor inside a hidden
|
||||||
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1315722&group_id=75348&atid=543655">SF
|
div.</li>
|
||||||
Patch 1315722</a>] Avoid getting a cached version of the folder contents after uploading
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/503">#503</a>] Orphaned
|
||||||
a file</li>
|
<li> elements now get properly enclosed in a <ul> on output.</li>
|
||||||
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1386086&group_id=75348&atid=543655">SF
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/309">#309</a>] The ENTER
|
||||||
Patch 1386086</a>] The php connector has been protected so mkdir doesn't fail if
|
key will not any more break <button> elements at the beginning of paragraphs.</li>
|
||||||
there are double slashes.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1654">#1654</a>] The editor
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/943">#943</a>] The PHP
|
was not loading on a specific unknown situation. The breaking point has been removed.</li>
|
||||||
connector now specifies that the included files are relative to the current path.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1707">#1707</a>] The editor
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/560">#560</a>] The PHP
|
no longer hangs when operating on documents imported from Microsoft Word.</li>
|
||||||
connector will work better if the connector or the userfiles folder is a symlink.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1514">#1514</a>] Floating
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/784">#784</a>] Fixed a
|
panels attached to a shared toolbar among multiple FCKeditor instances are no longer
|
||||||
non initialized $php_errormsg in the PHP connector.</li>
|
misplaced when the editing areas are absolutely or relatively positioned.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/802">#802</a>] The replace
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1715">#1715</a>] The ShowDropDialog
|
||||||
dialog will now advance its searching position correctly and is able to search for
|
is now enforced only when ForcePasteAsPlainText = true.</li>
|
||||||
strings spanning across multiple inline tags.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1336">#1336</a>] Sometimes
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/944">#944</a>] The _samples
|
the autogrow plugin didn't work properly in Firefox.</li>
|
||||||
didn't work directly from the Mac filesystem.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1728">#1728</a>] External
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/946">#946</a>] Toolbar
|
toolbars are now properly sized in Opera.</li>
|
||||||
images didn't show in non-IE browsers if the path contained a space.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1782">#1782</a>] Clicking
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/291">#291</a>] [<a
|
on radio buttons or checkboxes in the editor in IE will no longer cause lockups
|
||||||
target="_blank" href="http://dev.fckeditor.net/ticket/395">#395</a>] [<a target="_blank"
|
in IE.</li>
|
||||||
href="http://dev.fckeditor.net/ticket/932">#932</a>] Clicking outside the editor
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/805">#805</a>] The FCKConfig.Keystrokes
|
||||||
it was possible to paste or apply formatting to the rest of the page in IE.</li>
|
commands where executed even if the command itself was disabled.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/137">#137</a>] Fixed FCKConfig.TabSpaces
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/982">#982</a>] The button
|
||||||
being ignored, and weird behaviors when pressing tab in edit source mode.</li>
|
to empty the box in the "Paste from Word" has been removed as it leads to confusion
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/268">#268</a>] Fixed special
|
for some users.</li>
|
||||||
XHTML characters present in event attribute values being converted inappropriately
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1682">#1682</a>] Editing
|
||||||
when switching to source view.</li>
|
control elements in Firefox, Opera and Safari now works properly.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/272">#272</a>] The toolbar
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1613">#1613</a>] The editor
|
||||||
was cut sometimes in IE to just one row if there are multiple instances of the editor.</li>
|
was surrounded by a <div> element that wasn't really needed.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/515">#515</a>] Tables
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/676">#676</a>] If a form
|
||||||
in Firefox didn't inherit font styles properly in Standards mode.</li>
|
control was moved in IE after creating it, then it did lose its name.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/321">#321</a>] If FCKeditor
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/738">#738</a>] It wasn't
|
||||||
is initially hidden in Firefox it will no longer be necessary to call the oEditor.MakeEditable()
|
possible to change the type of an existing button.</li>
|
||||||
function.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1854">#1854</a>] Indentation
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/299">#299</a>] The 'Browse
|
now works inside table cells.</li>
|
||||||
Server' button in the Image and Flash dialogs was a little too high.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1717">#1717</a>] The editor
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/931">#931</a>] The BodyId
|
was entering on looping on some specific cases when dealing with invalid source
|
||||||
and BodyClass configuration settings weren't applied in the preview window.</li>
|
markup.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/583">#583</a>] The "noWrap"
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1530">#1530</a>] Pasting
|
||||||
attribute for table cells was getting an empty value in Firefox. Thanks to geirhelge.</li>
|
text into the "Find what" fields in the Find and Replace dialog would now activate
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/141">#141</a>] Fixed incorrect
|
the find and replace buttons.</li>
|
||||||
startup focus in Internet Explorer after page reloads. </li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1828">#1828</a>] The Find/Replace
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/143">#143</a>] Fixed browser
|
dialog will no longer display wrong starting positions for the match when there
|
||||||
lockup when the user writes <!--{PS..x}> into the editor in source mode. </li>
|
are multiple and identical characters preceding the character at the real starting
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/174">#174</a>] Fixed incorrect
|
point of the match.</li>
|
||||||
positioning of FCKeditor in full screen mode. </li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1878">#1878</a>] Fixed
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/978">#978</a>] Fixed a
|
a JavaScript error which occurs in the Find/Replace dialog when the user presses
|
||||||
SpellerPages error with ColdFusion when no suggestions where available for a word.</li>
|
"Find" or "Replace" after the "No match found" message has appeared.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/977">#977</a>] The "shape"
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1355">#1355</a>] Line
|
||||||
attribute of <area> had its value changed to uppercase in IE.</li>
|
breaks and spaces are now conserved when converting to and from the "Formatted"
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/996">#996</a>] "OnPaste"
|
format.</li>
|
||||||
event listeners will now get executed only once.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1670">#1670</a>] Improved
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/289">#289</a>] Removed
|
the background color behind smiley icons and special characters in their corresponding
|
||||||
debugging popups from page load regarding JavaScript and CSS loading errors.</li>
|
dialogs.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/328">#328</a>] [<a
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1693">#1693</a>] Custom
|
||||||
target="_blank" href="http://dev.fckeditor.net/ticket/346">#346</a>] [<a target="_blank"
|
error messages are now properly displayed in the file browser.</li>
|
||||||
href="http://dev.fckeditor.net/ticket/404">#404</a>] Fixed a number of problems
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/970">#970</a>] The text
|
||||||
regarding <pre> blocks:
|
and value fields in the selection box dialog will no longer extend beyond the dialog
|
||||||
<ol>
|
limits when the user inputs a very long text or value for one of the selection options.</li>
|
||||||
<li>Leading whitespaces and line breaks in <pre> blocks are trimmed when the user
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/479">#479</a>] Fixed the
|
||||||
switches between editor mode and source mode;</li>
|
issue where pressing Enter in an <o:p> tag in IE does not generate line breaks.</li>
|
||||||
<li>Pressing Enter inside a <pre> block would split the block into two, but the
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/481">#481</a>] Fixed the
|
||||||
expected behavior is simply inserting a line break;</li>
|
issue where the image preview in image dialog sometimes doesn't display after selecting
|
||||||
<li>Simple line breaks inside <pre> blocks entered in source mode are being turned
|
the image from server browser.</li>
|
||||||
into <br> tags when the user switches to editor mode and back.</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1488">#1488</a>] PHP integration:
|
||||||
</ol>
|
the FCKeditor class is now more PHP5/6 friendly ("public" keyword is used instead
|
||||||
</li>
|
of depreciated "var").</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/581">#581</a>] Fixed the
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1815">#1815</a>] PHP integration:
|
||||||
issue where the "Maximize the editor size" toolbar button stops working if any of
|
removed closing tag: "?>", so no additional whitespace added when files are included.</li>
|
||||||
the following occurs:
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1906">#1906</a>] PHP file
|
||||||
<ol>
|
browser: fixed problems with DetectHtml() function when open_basedir was set.</li>
|
||||||
<li>There exists a form input whose name or id is "style" in FCKeditor's host form;</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1871">#1871</a>] PHP file
|
||||||
<li>There exists a form input whose name or id is "className" in FCKeditor's host form;</li>
|
browser: permissions applied with the chmod command are now configurable.</li>
|
||||||
<li>There exists a form and a form input whose name of id is "style" in the editing
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1872">#1872</a>] Perl
|
||||||
frame.</li>
|
file browser: permissions applied with the chmod command are now configurable.</li>
|
||||||
</ol>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1873">#1873</a>] Python
|
||||||
</li>
|
file browser: permissions applied with the chmod command are now configurable.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/183">#183</a>] Fixed the
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1572">#1572</a>] ColdFusion
|
||||||
issue when FCKeditor is being executed in a custom application with the WebBrowser
|
integration: fixed issues with setting the editor height.</li>
|
||||||
ActiveX control, hiding the WebBrowser control would incorrectly invoke FCKeditor's
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1692">#1692</a>] ColdFusion
|
||||||
cleanup routines, causing FCKeditor to stop working.</li>
|
file browser: it is possible now to define TempDirectory to avoid issues with GetTempdirectory()
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/539">#539</a>] Fixed the
|
returning an empty string.</li>
|
||||||
issue where right clicking on a table inside the editing frame in Firefox would
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1379">#1379</a>] ColdFusion
|
||||||
cause the editor the scroll to the top of the document.</li>
|
file browser: resolved issues with OnRequestEnd.cfm breaking the file browser.</li>
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/523">#523</a>] Fixed the
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1509">#1509</a>] InsertHtml()
|
||||||
issue where, under certain circumstances, FCKeditor would obtain focus at startup
|
in IE will no longer turn the preceding normal whitespace into &nbsp;.</li>
|
||||||
even though FCKConfig.StartupFocus is set to false. </li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/958">#958</a>] The AddItem
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/393">#393</a>] Fixed the
|
method now has an additional fifth parameter "customData" that will be sent to the
|
||||||
issue where if an inline tag is at the end of the document, the user would have
|
Execute method of the command for that menu item, allowing a single command to be
|
||||||
no way of escaping from the inline tag if he continues typing at the end of the
|
used for different menu items..</li>
|
||||||
document. FCKeditor's behaviors regarding inline tags has been made to be more like
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1502">#1502</a>] The RemoveFormat
|
||||||
MS Word's:
|
command now also removes the attributes from the cleaned text. The list of attributes
|
||||||
<ol>
|
is configurable with FCKConfig.RemoveAttributes.</li>
|
||||||
<li>If the caret is moved to the end of a hyperlink by the keyboard, then hyperlink
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1596">#1596</a>] On Safari,
|
||||||
mode is disabled. </li>
|
dialogs have now right-to-left layout when it runs a RTL language, like Arabic.</li>
|
||||||
<li>If the caret is moved to the end of other styled inline tags by any key other than
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1344">#1344</a>] Added
|
||||||
the End key (like bold text or italic text), the original bold/italic/... modes
|
warning message on Copy and Cut operation failure on IE due to paste permission
|
||||||
would continue to be effective. </li>
|
settings.</li>
|
||||||
<li>If the caret is moved to the end of other styled inline tags by the End key, all
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1868">#1868</a>] Links
|
||||||
style tag modes (e.g. bold, italic, underline, etc.) would be canceled. This is
|
to file browser has been changed to avoid requests containing double dots.</li>
|
||||||
not consistent with MS Word, but provides a convenient way for the user to escape
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1229">#1229</a>] Converting
|
||||||
the inline tag at the end of a line.</li>
|
multiple contiguous paragraphs to Formatted will now be merged into a single <PRE>
|
||||||
</ol>
|
block.</li>
|
||||||
</li>
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1627">#1627</a>] Samples
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/338">#338</a>] Fixed the
|
failed to load from local filesystem in IE7.</li>
|
||||||
issue where the configuration directive FCKConfig.ForcePasteAsPlainText is ignored
|
|
||||||
when new contents are pasted into the editor via drag-and drop from outside of the
|
|
||||||
editor. </li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1026">#1026</a>] Fixed
|
|
||||||
the issue where the cursor or selection positions are not restored with undo/redo
|
|
||||||
commands correctly in IE, under some circumstances. </li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1160">#1160</a>] [<a
|
|
||||||
target="_blank" href="http://dev.fckeditor.net/ticket/1184">#1184</a>] Home, End
|
|
||||||
and Tab keys are working properly for numeric fields in dialogs. </li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/68">#68</a>] The style
|
|
||||||
system now properly handles Format styles when EnterMode=br.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/525">#525</a>] The union
|
|
||||||
of successive DIVs will work properly now if EnterMode!=div.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1227">#1227</a>] The color
|
|
||||||
commands used an unnecessary temporary variable. Thanks to Matthias Miller</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/67">#67</a>] [<a target="_blank"
|
|
||||||
href="http://dev.fckeditor.net/ticket/277">#277</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/427">#427</a>]
|
|
||||||
[<a target="_blank" href="http://dev.fckeditor.net/ticket/428">#428</a>] [<a target="_blank"
|
|
||||||
href="http://dev.fckeditor.net/ticket/965">#965</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1178">#1178</a>]
|
|
||||||
[<a target="_blank" href="http://dev.fckeditor.net/ticket/1267">#1267</a>] The list
|
|
||||||
insertion/removal/indent/outdent logic in FCKeditor has been rewritten, such that:
|
|
||||||
<ol>
|
|
||||||
<li>Text separated by <br> will always be treated as separate items during list
|
|
||||||
insertion regardless of browser;</li>
|
|
||||||
<li>List removal will now always obey the FCKConfig.EnterMode setting;</li>
|
|
||||||
<li>List indentation will be XHTML 1.1 compliant - all child elements under an <ol>
|
|
||||||
or <ul> must be <li> nodes;</li>
|
|
||||||
<li>IE editor hacks like <ul type="1"> will no longer appear;</li>
|
|
||||||
<li>Excessive <div> nodes are no longer inserted into list items due to alignment
|
|
||||||
changes.</li>
|
|
||||||
</ol>
|
|
||||||
</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/205">#205</a>] Fixed the
|
|
||||||
issue where visible <br> tags at the end of paragraphs are incorrectly removed
|
|
||||||
after switching to and from source mode.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1050">#1050</a>] Fixed
|
|
||||||
a minor PHP/XML incompatibility bug in editor/dialog/fck_docprops.html.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/462">#462</a>] Fixed an
|
|
||||||
algorithm bug in switching from source mode to WYSIWYG mode which causes the browser
|
|
||||||
to spin up and freeze for broken HTML code inputs.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1019">#1019</a>] Table
|
|
||||||
command buttons are now disabled when the current selection is not inside a table.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/135">#135</a>] Fixed the
|
|
||||||
issue where context menus are misplaced in FCKeditor when FCKeditor is created inside
|
|
||||||
a <div> node with scrolling. </li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1067">#1067</a>] Fixed
|
|
||||||
the issue where context menus are misplaced in Safari when FCKeditor is scrolled
|
|
||||||
down.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1081">#1081</a>] Fixed
|
|
||||||
the issue where undoing table deletion in IE7 would cause JavaScript errors.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1061">#1061</a>] Fixed
|
|
||||||
the issue where backspace and delete cannot delete special characters in Firefox
|
|
||||||
under some circumstances.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/403">#403</a>] Fixed the
|
|
||||||
issue where switching to and from source mode in full page mode under IE would add
|
|
||||||
excessive line breaks to <style> blocks.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/121">#121</a>] Fixed the
|
|
||||||
issue where maximizing FCKeditor inside a frameset would resize FCKeditor to the
|
|
||||||
whole window's size instead of just the container frame's size.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1093">#1093</a>] Fixed
|
|
||||||
the issue where pressing Enter inside an inline tag would not create a new paragraph
|
|
||||||
correctly.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1089">#1089</a>] Fixed
|
|
||||||
the issue where pressing Enter inside a <pre> block do not generate visible
|
|
||||||
line breaks in IE.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/332">#332</a>] Hitting
|
|
||||||
Enter when the caret is at the end of a hyperlink will no longer continue the link
|
|
||||||
at the new paragraph.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1121">#1121</a>] Hitting
|
|
||||||
Enter with FCKConfig.EnterMode=br will now scroll the document correctly when the
|
|
||||||
new lines have exceeded the lower boundary of the editor frame.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1063">#1063</a>] [<a
|
|
||||||
target="_blank" href="http://dev.fckeditor.net/ticket/1084">#1084</a>] [<a target="_blank"
|
|
||||||
href="http://dev.fckeditor.net/ticket/1092">#1092</a>] Fixed a few Norwegian
|
|
||||||
language translation errors.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1148">#1148</a>] Fixed
|
|
||||||
the issue where the "Automatic" and "More Colors..." buttons
|
|
||||||
in the color selection panel are not centered in Safari.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1187">#1187</a>] Fixed
|
|
||||||
the issue where the "Paste as plain text" command cannot be undone in
|
|
||||||
non-IE browsers.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1222">#1222</a>] Ctrl-Backspace
|
|
||||||
operations will now save undo snapshots in all browsers.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1223">#1223</a>] Fixed
|
|
||||||
the issue where the insert link dialog would save multiple undo snapshots for a
|
|
||||||
single operation.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/247">#247</a>] Fixed the
|
|
||||||
issue where deleting everything in the document in IE would create an empty <p>
|
|
||||||
block in the document regardless of EnterMode setting. </li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1280">#1280</a>] Fixed
|
|
||||||
the issue where opening a combo box will cause the editor frames to lose focus when
|
|
||||||
there are multiple editors in the same document.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/363">#363</a>] Fixed the
|
|
||||||
issue where the Find dialog does not work under Opera.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/50">#50</a>] Fixed the
|
|
||||||
issue where the Paste button is always disabled in Safari.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/389">#389</a>] Pasting
|
|
||||||
text with comments from Word won't generate errors in IE, thanks to the idea from
|
|
||||||
Swift.</li>
|
|
||||||
<li>The pasting area in the Paste from Word dialog is focused on initial load</li>
|
|
||||||
<li>Some fixes related to html comment handling in the Word clean up routine</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1303">#1303</a>] <col>
|
|
||||||
is correctly treated as an empty element.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/969">#969</a>] Removed
|
|
||||||
unused files (fcknumericfield.htc and moz-bindings.xml).</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1166">#1166</a>] Fixed
|
|
||||||
the issue where <meta> tags are incorrectly outputted with closing tags in
|
|
||||||
full page mode.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1200">#1200</a>] Fixed
|
|
||||||
the issue where context menus sometimes disappear prematurely before the user can
|
|
||||||
click on any items in Opera.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1315">#1315</a>] Fixed
|
|
||||||
the issue where the source view text area in Safari is displayed with an excessive
|
|
||||||
blue border.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1201">#1201</a>] Fixed
|
|
||||||
the issue where hitting Backspace or Delete inside a table cell deletes the table
|
|
||||||
cell instead of its contents in Opera.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1311">#1311</a>] Fixed
|
|
||||||
the issue where undoing and redoing a special character insertion would send the
|
|
||||||
caret to incorrect positions. (e.g. the beginning of document)</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/923">#923</a>] Font colors
|
|
||||||
are now properly applied on links.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1316">#1316</a>] Fixed
|
|
||||||
the issue where the image dialog expands to a size too big in Safari.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1306">#1306</a>] [<a
|
|
||||||
target="_blank" href="http://dev.fckeditor.net/ticket/894">#894</a>] The undo system
|
|
||||||
can now undo text formatting steps like setting fonts to bold and italic.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/95">#95</a>] Fixed the
|
|
||||||
issue where FCKeditor breaks <meta> tags in full page mode in some circumstances.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/175">#175</a>] Fixed the
|
|
||||||
issue where entering an email address with a '%' sign in the insert link dialog
|
|
||||||
would cause JavaScript error.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/180">#180</a>] Improved
|
|
||||||
backward compatibility with older PHP versions. FCKeditor can now work with PHP
|
|
||||||
versions down to 4.0.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/192">#192</a>] Document
|
|
||||||
modifying actions from the FCKeditor JavaScript API will now save undo steps.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/246">#246</a>] Using text
|
|
||||||
formatting commands in EnterMode=div will no longer cause tags to randomly disappear.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/327">#327</a>] It is no
|
|
||||||
longer possible for the browser's back action to misfire when a user presses backspace
|
|
||||||
while an image is being selected in FCKeditor.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/362">#362</a>] Ctrl-Backspace
|
|
||||||
now works in FCKeditor.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/390">#390</a>] Text alignment
|
|
||||||
and justification commands now respects EnterMode=br paragraph rules.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/534">#534</a>] Pressing
|
|
||||||
Ctrl-End while the document contains a list towards the end will no longer make
|
|
||||||
the cursor disappear.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/906">#906</a>] It is now
|
|
||||||
possible to have XHTML 1.0 Strict compliant output from a document pasted from Word.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/929">#929</a>] Pressing
|
|
||||||
the Enter key will now produce an undo step.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/934">#934</a>] Fixed the
|
|
||||||
"Cannot execute code from a freed script" error in IE from editor dialogs.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/942">#942</a>] Server
|
|
||||||
based spell checking with ColdFusion integration no longer breaks fir non en_US
|
|
||||||
languages.</li>
|
|
||||||
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/942">#1056</a>] Deleting
|
|
||||||
everything in the editor document and moving the cursor around will no longer leave
|
|
||||||
the cursor hanging beyond the top of the editor document.</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
<p>
|
|
||||||
# This version has been <a href="http://dev.fckeditor.net/wiki/SD/COE">partially sponsored</a>
|
|
||||||
by the <a href="http://www.coe.int/">Council of Europe</a>.
|
|
||||||
</p>
|
|
||||||
<p>
|
<p>
|
||||||
<a href="_whatsnew_history.html">See previous versions history</a>
|
<a href="_whatsnew_history.html">See previous versions history</a>
|
||||||
</p>
|
</p>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
<!--
|
<!--
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -32,6 +32,572 @@
|
|||||||
<body>
|
<body>
|
||||||
<h1>
|
<h1>
|
||||||
FCKeditor ChangeLog - What's New?</h1>
|
FCKeditor ChangeLog - What's New?</h1>
|
||||||
|
<h3>
|
||||||
|
Version 2.5.1</h3>
|
||||||
|
<p>
|
||||||
|
New Features and Improvements:</p>
|
||||||
|
<ul>
|
||||||
|
<li><strong>FCKeditor.Net 2.5</strong> compatibility.</li>
|
||||||
|
<li>JavaScript integration file:
|
||||||
|
<ul>
|
||||||
|
<li>The new "<strong>FCKeditor.ReplaceAllTextareas</strong>" function is being introduced,
|
||||||
|
making it possible to replace many (or unknown) <textarea> elements in a single
|
||||||
|
call. The replacement can be also filtered by CSS class name, or by a custom function
|
||||||
|
evaluator. </li>
|
||||||
|
<li>It is now possible to set the default BasePath for all editor instances by setting
|
||||||
|
<strong>FCKeditor.BasePath</strong>. This is extremely useful when working with
|
||||||
|
the ReplaceAllTextareas function. </li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<p>
|
||||||
|
Fixed Bugs:</p>
|
||||||
|
<ul>
|
||||||
|
<li>[<a href="http://dev.fckeditor.net/ticket/339" target="_blank">#339</a>] [<a
|
||||||
|
href="http://dev.fckeditor.net/ticket/681" target="_blank">#681</a>] The SpellerPages
|
||||||
|
spell checker will now completely ignore the presence of HTML tags in the text.
|
||||||
|
</li>
|
||||||
|
<li>[<a href="http://dev.fckeditor.net/ticket/1643" target="_blank">#1643</a>] Resolved
|
||||||
|
several "strict warning" messages in Firefox when running FCKeditor. </li>
|
||||||
|
<li>[<a href="http://dev.fckeditor.net/ticket/1603" target="_blank">#1603</a>] Certain
|
||||||
|
specific markup was making FCKeditor entering in a loop, blocking its execution.
|
||||||
|
</li>
|
||||||
|
<li>[<a href="http://dev.fckeditor.net/ticket/1664" target="_blank">#1664</a>] The ENTER
|
||||||
|
key will not any more swap the order of the tags when hit at the end of paragraphs.
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<h3>
|
||||||
|
Version 2.5</h3>
|
||||||
|
<p>
|
||||||
|
New Features and Improvements:</p>
|
||||||
|
<ul>
|
||||||
|
<li>The heading options have been moved to the top, in the default settings for the
|
||||||
|
Format combo.</li>
|
||||||
|
</ul>
|
||||||
|
<p>
|
||||||
|
Fixed Bugs:</p>
|
||||||
|
<ul>
|
||||||
|
<li>The focus is now correctly set when working on Safari.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1436">#1436</a>] Nested
|
||||||
|
context menu panels are now correctly closed on Safari.</li>
|
||||||
|
<li>Empty anchors are now properly created on Safari.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1359">#1359</a>] FCKeditor
|
||||||
|
will no longer produce the strange visual effect of creating a selected space and
|
||||||
|
then deleting it in Internet Explorer.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1399">#1399</a>] Removed
|
||||||
|
the empty entry in the language selection box of sample03.html.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1400">#1400</a>] Fixed
|
||||||
|
the issue where the style selection box in sample14.html is not context sensitive.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1401">#1401</a>] Completed
|
||||||
|
Hebrew translation of the user interface.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1409">#1409</a>] Completed
|
||||||
|
Finnish translation of the user interface.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1414">#1414</a>] Fixed
|
||||||
|
the issue where entity code words written inside a <pre> block in Source mode
|
||||||
|
are not converted to the corresponding characters after switching back to editor
|
||||||
|
mode.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1418">#1418</a>] Fixed
|
||||||
|
the issue where a detached toolbar would flicker when FCKeditor is being loaded.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1419">#1419</a>] Fixed
|
||||||
|
the issue where pressing Delete in the middle of two lists would incorrectly move
|
||||||
|
contents after the lists to the character position.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1420">#1420</a>] Fixed
|
||||||
|
the issue where empty list items can become collapsed and uneditable when it has
|
||||||
|
one of more indented list items directly under it. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1431">#1431</a>] Fixed
|
||||||
|
the issue where pressing Enter in a <pre> block in Internet Explorer would
|
||||||
|
move the caret one space forward instead of sending it to the next line.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1472">#1472</a>] Completed
|
||||||
|
Arabic translation of the user interface.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1474">#1474</a>] Fixed
|
||||||
|
the issue where reloading a page containing FCKeditor may provoke JavaScript errors
|
||||||
|
in Internet Explorer.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1478">#1478</a>] Fixed
|
||||||
|
the issue where parsing fckstyles.xml fails if the file contains no <style>
|
||||||
|
nodes.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1491">#1491</a>] Fixed
|
||||||
|
the issue where FCKeditor causes the selection to include an "end of line" character
|
||||||
|
in list items even though the list item is empty.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1496">#1496</a>] Fixed
|
||||||
|
the issue where attributes under <area> and <map> nodes are destroyed
|
||||||
|
or left unprotected when switching to and from Source mode.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1500">#1500</a>] Fixed
|
||||||
|
the issue where the function _FCK_PaddingNodeListener() is called excessively which
|
||||||
|
negatively affects performance.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1514">#1514</a>] Fixed
|
||||||
|
the issue where floating menus are incorrectly positioned when the toolbar or the
|
||||||
|
editor frame are not static positioned.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1518">#1518</a>] Fixed
|
||||||
|
the issue where excessive <BR> nodes are not removed after a paragraph is
|
||||||
|
split when creating lists.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1521">#1521</a>] Fixed
|
||||||
|
JavaScript error and erratic behavior of the Replace dialog.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1524">#1524</a>] Fixed
|
||||||
|
the issue where the caret jumps to the beginning or end of a list block and when
|
||||||
|
user is trying to select the end of a list item.</li>
|
||||||
|
<li>Completed Simplified Chinese translation of the user interface.</li>
|
||||||
|
<li>Completed Estonian translation of the user interface.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1406">#1406</a>] Editor
|
||||||
|
was always "dirty" if flash is available in the contents.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1561">#1561</a>] Non standard
|
||||||
|
elements are now properly applied if defined in the styles XML file.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1412">#1412</a>] The _QuickUploadLanguage
|
||||||
|
value is now work properly for Perl.</li>
|
||||||
|
<li>Several compatibility fixes for Firefox 3 (Beta 1):
|
||||||
|
<ul>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1558">#1558</a>] Nested
|
||||||
|
context menu close properly when one of their options is selected.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1556">#1556</a>] Dialogs
|
||||||
|
contents are now showing completely, without scrollbar.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1559">#1559</a>] It is
|
||||||
|
not possible to have more than one panel opened at the same time.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1554">#1554</a>] Links
|
||||||
|
now get underlined.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1557">#1557</a>] The "Automatic"
|
||||||
|
and "More colors..." buttons were improperly styled in the color selector panels
|
||||||
|
(Opera too).</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1462">#1462</a>] The enter
|
||||||
|
key will not any more scroll the main window.</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1562">#1562</a>] Fixed
|
||||||
|
the issue where empty paragraphs are added around page breaks each time the user
|
||||||
|
switches to Source mode.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1578">#1578</a>] The editor
|
||||||
|
will now scroll correctly when hitting enter in front of a paragraph.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1579">#1579</a>] Fixed
|
||||||
|
the issue where the create table and table properties dialogs are too narrow for
|
||||||
|
certain translations.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1580">#1580</a>] Completed
|
||||||
|
Polish translation of the user interface.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1591">#1591</a>] Fixed
|
||||||
|
JavaScript error when using the blockquote command in an empty document in IE.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1592">#1592</a>] Fixed
|
||||||
|
the issue where attempting to remove a blockquote with an empty paragraph would
|
||||||
|
leave behind an empty blockquote IE.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1594">#1594</a>] Undo/Redo
|
||||||
|
will now work properly for the color selectors.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1597">#1597</a>] The color
|
||||||
|
boxes are now properly rendered in the color selector panels on sample14.html.</li>
|
||||||
|
</ul>
|
||||||
|
<h3>
|
||||||
|
Version 2.5 Beta</h3>
|
||||||
|
<p>
|
||||||
|
New Features and Improvements:</p>
|
||||||
|
<ul>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/624">#624</a>] [<a
|
||||||
|
target="_blank" href="http://dev.fckeditor.net/ticket/634">#634</a>] [<a target="_blank"
|
||||||
|
href="http://dev.fckeditor.net/ticket/1300">#1300</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1301">#1301</a>]
|
||||||
|
Official compatibility support with <strong>Opera 9.50</strong> and <strong>Safari 3</strong>
|
||||||
|
(WebKit based browsers actually). These browsers are still in Beta, but we are confident
|
||||||
|
that we'll have amazing results as soon as they get stable. We are continuously
|
||||||
|
collaborating with Opera Software and Apple to bring a wonderful FCKeditor experience
|
||||||
|
over their browser platforms.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/494">#494</a>] Introduced
|
||||||
|
the <strong>new Style System</strong>. We are not anymore relaying on browser features
|
||||||
|
to apply and remove styles, which guarantees that the editor will <strong>behave in
|
||||||
|
the same way in all browsers</strong>. It is an incredibly flexible system,
|
||||||
|
which aims to fit all developer's needs, from Flash content or HTML4 to XHTML 1.0
|
||||||
|
Strict or XHTML 1.1:
|
||||||
|
<ul>
|
||||||
|
<li>All basic formatting features, like Bold and Italic, can be precisely controlled
|
||||||
|
by using the configuration file (<b>CoreStyles</b> setting). It means that now,
|
||||||
|
the Bold button, for example, can produce <b>, <strong>, <span class...>,
|
||||||
|
<span style...> or anything the developer prefers.</li>
|
||||||
|
<li>Again with the <b>CoreStyles</b> setting, each block format, font, size, and even
|
||||||
|
the color pickers can precisely reflect end developer's needs.</li>
|
||||||
|
<li>Because of the above changes, font sizes are much more flexible. <b>Any kind of
|
||||||
|
font unit</b> can be used, including a mix of units.</li>
|
||||||
|
<li>All styles, including toolbar bottom styles, are precisely controlled when being
|
||||||
|
applied to the document. FCKeditor uses an element table derived from the <b>W3C XHTML
|
||||||
|
DTDs</b> to precisely create the elements, guarantee standards compliant code.</li>
|
||||||
|
<li><b>No more <font> tags</b>... well... actually, the system is so flexible
|
||||||
|
that it is up to you to use them or not.</li>
|
||||||
|
<li>It is possible to configure FCKeditor to produce a truly <b>semantic aware </b>and<b>
|
||||||
|
XHTML 1.1 compliant </b>code. Check out sample14.html.</li>
|
||||||
|
<li>It's also possible to precisely control which inline elements must be removed with
|
||||||
|
the "Remove All" button, by using the "<b>RemoveFormatTags</b>"
|
||||||
|
setting.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1231">#1231</a>] [<a
|
||||||
|
target="_blank" href="http://dev.fckeditor.net/ticket/160">#160</a>] Paragraph <b>indentation</b>
|
||||||
|
and <b>justification</b> now uses style attributes and don't create unnecessary
|
||||||
|
elements, and <blockquote> is not anymore used for it. Now, even CSS classes
|
||||||
|
can be used to indent or align text.</li>
|
||||||
|
<li>All paragraph formatting features work well when EnterMode=br.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/172">#172</a>] All paragraph
|
||||||
|
formatting features work well when list items too.</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1197">#1197</a>] [<a
|
||||||
|
target="_blank" href="http://dev.fckeditor.net/ticket/132">#132</a>] The toolbar
|
||||||
|
now presents a <strong>new button for Blockquote</strong>. The indentation button
|
||||||
|
will not anymore be used for that.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/125">#125</a>] Table's
|
||||||
|
<strong>columns size can now be changed by dragging on cell borders</strong>, with
|
||||||
|
the "dragresizetable" plugin. </li>
|
||||||
|
<li>The EditorAreaCSS config option can now also be set to a string of paths separated
|
||||||
|
by commas.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/212">#212</a>] New "<strong>Show
|
||||||
|
Blocks</strong>" command button in toolbar to show block details in the editing
|
||||||
|
area. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/915">#915</a>] The <strong>
|
||||||
|
undo/redo system has been revamped</strong> to work the same across Internet Explorer
|
||||||
|
and Gecko-based browsers (e.g. Firefox). A number of critical bugs in the undo/redo
|
||||||
|
system are also fixed. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/194">#194</a>] The editor
|
||||||
|
now uses the <strong>Data Processor</strong> technology, which makes it possible
|
||||||
|
to handle different input formats. A sample of it may be found at "editor/plugins/bbcode/_sample",
|
||||||
|
that shows some simple BBCode support. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/145">#145</a>] The "htaccess.txt"
|
||||||
|
file has been renamed to ".htaccess" as it doesn't bring security concerns, being
|
||||||
|
active out of the box.</li>
|
||||||
|
<li>File Browser and Quick Upload changes:
|
||||||
|
<ul>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/163">#163</a>] <span
|
||||||
|
style="color: #ff0000"><strong>Attention:</strong></span> The default connector
|
||||||
|
in fckconfig.js has been changed from ASP to PHP. If you are using ASP remember
|
||||||
|
to change the _FileBrowserLanguage and _QuickUploadLanguage settings in your fckconfig.js.
|
||||||
|
[<a target="_blank" href="http://dev.fckeditor.net/ticket/454">#454</a>] The file
|
||||||
|
browser and upload connectors have been unified so they can reuse the same configuration
|
||||||
|
settings.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/865">#865</a>] The ASP
|
||||||
|
and PHP connectors have been improved so it's easy to select the location of the
|
||||||
|
destination folder for each file type, and it's no longer necessary to use the "file",
|
||||||
|
"image", "flash" subfolders<br />
|
||||||
|
<span style="color: #ff0000"><strong>Attention:</strong></span> The location of
|
||||||
|
all the connectors have been changed in the fckconfig.js file. Please check your
|
||||||
|
settings to match the current ones. Also review carefully the config file for your
|
||||||
|
server language. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/688">#688</a>] Now the
|
||||||
|
Perl quick upload is available. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/575">#575</a>] The Python
|
||||||
|
connector has been rewritten as a WSGI app to be fully compatible with the latest
|
||||||
|
python frameworks and servers. The QuickUpload feature has been added as well as
|
||||||
|
all the features available in the PHP connector. Thanks to Mariano Reingart.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/561">#561</a>] The ASP
|
||||||
|
connector provides an AbsolutePath setting so it's possible to set the url to a
|
||||||
|
full domain or a relative path and specify that way the physical folder where the
|
||||||
|
files are stored..</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/333">#333</a>] The Quick
|
||||||
|
Upload now can use the same ServerPath parameter as the full connector.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/199">#199</a>] The AllowedCommands
|
||||||
|
configuration setting is available in the asp and php connectors so it's possible
|
||||||
|
to disallow the upload of files (although the "select file" button will still be
|
||||||
|
available in the file browser).</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/100">#100</a>] A new configuration
|
||||||
|
directive "FCKConfig.EditorAreaStyles" has been implemented to allow setting editing
|
||||||
|
area styles from JavaScript. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/102">#102</a>] HTML code
|
||||||
|
generated by the "Paste As Plain Text" feature now obeys the EnterMode setting.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1266">#1266</a>] Introducing
|
||||||
|
the HtmlEncodeOutput setting to instruct the editor to HTML-encode some characters
|
||||||
|
(&, < and >) in the posted data.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/357">#357</a>] Added a
|
||||||
|
"Remove Anchor" option in the context menu for anchors. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1060">#1060</a>] Compatibility
|
||||||
|
checks with Firefox 3.0 Alpha. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/817">#817</a>] [<a
|
||||||
|
target="_blank" href="http://dev.fckeditor.net/ticket/1077">#1077</a>] New "Merge
|
||||||
|
Down/Right" commands for merging tables cells in non-Gecko browsers.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1288">#1288</a>] The "More
|
||||||
|
Colors..." button in color selector popup has been made optional and configurable
|
||||||
|
by the <strong>EnableMoreFontColors</strong> option. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/356">#356</a>] The <strong>
|
||||||
|
Find and Replace</strong> dialogs are now unified into a single dialog with tabs.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/549">#549</a>] Added a
|
||||||
|
'None' option to the FCKConfig.ToolbarLocation option to allow for hidden toolbars.
|
||||||
|
</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1313">#1313</a>] An XHTML
|
||||||
|
1.1 target editor sample has been created as sample14.html. </li>
|
||||||
|
<li>The ASP, ColdFusion and PHP integration have been aligned to our standards.</li>
|
||||||
|
</ul>
|
||||||
|
<p>
|
||||||
|
Fixed Bugs:</p>
|
||||||
|
<ul>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/71">#71</a>] [<a target="_blank"
|
||||||
|
href="http://dev.fckeditor.net/ticket/243">#243</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/267">#267</a>]
|
||||||
|
The editor now takes care to not create invalid nested block elements, like creating
|
||||||
|
<form> or <hr> inside <p>. </li>
|
||||||
|
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1511298&group_id=75348&atid=543655">SF
|
||||||
|
Patch 1511298</a>] The CF Component failed on CFMX 6.0</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/639">#639</a>] If the
|
||||||
|
FCKConfig.DefaultLinkTarget setting was missing in fckconfig.js the links has target="undefined".</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/497">#497</a>] Fixed EMBED
|
||||||
|
attributes handling in IE.</li>
|
||||||
|
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1315722&group_id=75348&atid=543655">SF
|
||||||
|
Patch 1315722</a>] Avoid getting a cached version of the folder contents after uploading
|
||||||
|
a file</li>
|
||||||
|
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1386086&group_id=75348&atid=543655">SF
|
||||||
|
Patch 1386086</a>] The php connector has been protected so mkdir doesn't fail if
|
||||||
|
there are double slashes.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/943">#943</a>] The PHP
|
||||||
|
connector now specifies that the included files are relative to the current path.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/560">#560</a>] The PHP
|
||||||
|
connector will work better if the connector or the userfiles folder is a symlink.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/784">#784</a>] Fixed a
|
||||||
|
non initialized $php_errormsg in the PHP connector.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/802">#802</a>] The replace
|
||||||
|
dialog will now advance its searching position correctly and is able to search for
|
||||||
|
strings spanning across multiple inline tags.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/944">#944</a>] The _samples
|
||||||
|
didn't work directly from the Mac filesystem.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/946">#946</a>] Toolbar
|
||||||
|
images didn't show in non-IE browsers if the path contained a space.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/291">#291</a>] [<a
|
||||||
|
target="_blank" href="http://dev.fckeditor.net/ticket/395">#395</a>] [<a target="_blank"
|
||||||
|
href="http://dev.fckeditor.net/ticket/932">#932</a>] Clicking outside the editor
|
||||||
|
it was possible to paste or apply formatting to the rest of the page in IE.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/137">#137</a>] Fixed FCKConfig.TabSpaces
|
||||||
|
being ignored, and weird behaviors when pressing tab in edit source mode.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/268">#268</a>] Fixed special
|
||||||
|
XHTML characters present in event attribute values being converted inappropriately
|
||||||
|
when switching to source view.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/272">#272</a>] The toolbar
|
||||||
|
was cut sometimes in IE to just one row if there are multiple instances of the editor.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/515">#515</a>] Tables
|
||||||
|
in Firefox didn't inherit font styles properly in Standards mode.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/321">#321</a>] If FCKeditor
|
||||||
|
is initially hidden in Firefox it will no longer be necessary to call the oEditor.MakeEditable()
|
||||||
|
function.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/299">#299</a>] The 'Browse
|
||||||
|
Server' button in the Image and Flash dialogs was a little too high.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/931">#931</a>] The BodyId
|
||||||
|
and BodyClass configuration settings weren't applied in the preview window.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/583">#583</a>] The "noWrap"
|
||||||
|
attribute for table cells was getting an empty value in Firefox. Thanks to geirhelge.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/141">#141</a>] Fixed incorrect
|
||||||
|
startup focus in Internet Explorer after page reloads. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/143">#143</a>] Fixed browser
|
||||||
|
lockup when the user writes <!--{PS..x}> into the editor in source mode. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/174">#174</a>] Fixed incorrect
|
||||||
|
positioning of FCKeditor in full screen mode. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/978">#978</a>] Fixed a
|
||||||
|
SpellerPages error with ColdFusion when no suggestions where available for a word.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/977">#977</a>] The "shape"
|
||||||
|
attribute of <area> had its value changed to uppercase in IE.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/996">#996</a>] "OnPaste"
|
||||||
|
event listeners will now get executed only once.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/289">#289</a>] Removed
|
||||||
|
debugging popups from page load regarding JavaScript and CSS loading errors.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/328">#328</a>] [<a
|
||||||
|
target="_blank" href="http://dev.fckeditor.net/ticket/346">#346</a>] [<a target="_blank"
|
||||||
|
href="http://dev.fckeditor.net/ticket/404">#404</a>] Fixed a number of problems
|
||||||
|
regarding <pre> blocks:
|
||||||
|
<ol>
|
||||||
|
<li>Leading whitespaces and line breaks in <pre> blocks are trimmed when the user
|
||||||
|
switches between editor mode and source mode;</li>
|
||||||
|
<li>Pressing Enter inside a <pre> block would split the block into two, but the
|
||||||
|
expected behavior is simply inserting a line break;</li>
|
||||||
|
<li>Simple line breaks inside <pre> blocks entered in source mode are being turned
|
||||||
|
into <br> tags when the user switches to editor mode and back.</li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/581">#581</a>] Fixed the
|
||||||
|
issue where the "Maximize the editor size" toolbar button stops working if any of
|
||||||
|
the following occurs:
|
||||||
|
<ol>
|
||||||
|
<li>There exists a form input whose name or id is "style" in FCKeditor's host form;</li>
|
||||||
|
<li>There exists a form input whose name or id is "className" in FCKeditor's host form;</li>
|
||||||
|
<li>There exists a form and a form input whose name of id is "style" in the editing
|
||||||
|
frame.</li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/183">#183</a>] Fixed the
|
||||||
|
issue when FCKeditor is being executed in a custom application with the WebBrowser
|
||||||
|
ActiveX control, hiding the WebBrowser control would incorrectly invoke FCKeditor's
|
||||||
|
cleanup routines, causing FCKeditor to stop working.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/539">#539</a>] Fixed the
|
||||||
|
issue where right clicking on a table inside the editing frame in Firefox would
|
||||||
|
cause the editor the scroll to the top of the document.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/523">#523</a>] Fixed the
|
||||||
|
issue where, under certain circumstances, FCKeditor would obtain focus at startup
|
||||||
|
even though FCKConfig.StartupFocus is set to false. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/393">#393</a>] Fixed the
|
||||||
|
issue where if an inline tag is at the end of the document, the user would have
|
||||||
|
no way of escaping from the inline tag if he continues typing at the end of the
|
||||||
|
document. FCKeditor's behaviors regarding inline tags has been made to be more like
|
||||||
|
MS Word's:
|
||||||
|
<ol>
|
||||||
|
<li>If the caret is moved to the end of a hyperlink by the keyboard, then hyperlink
|
||||||
|
mode is disabled. </li>
|
||||||
|
<li>If the caret is moved to the end of other styled inline tags by any key other than
|
||||||
|
the End key (like bold text or italic text), the original bold/italic/... modes
|
||||||
|
would continue to be effective. </li>
|
||||||
|
<li>If the caret is moved to the end of other styled inline tags by the End key, all
|
||||||
|
style tag modes (e.g. bold, italic, underline, etc.) would be canceled. This is
|
||||||
|
not consistent with MS Word, but provides a convenient way for the user to escape
|
||||||
|
the inline tag at the end of a line.</li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/338">#338</a>] Fixed the
|
||||||
|
issue where the configuration directive FCKConfig.ForcePasteAsPlainText is ignored
|
||||||
|
when new contents are pasted into the editor via drag-and drop from outside of the
|
||||||
|
editor. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1026">#1026</a>] Fixed
|
||||||
|
the issue where the cursor or selection positions are not restored with undo/redo
|
||||||
|
commands correctly in IE, under some circumstances. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1160">#1160</a>] [<a
|
||||||
|
target="_blank" href="http://dev.fckeditor.net/ticket/1184">#1184</a>] Home, End
|
||||||
|
and Tab keys are working properly for numeric fields in dialogs. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/68">#68</a>] The style
|
||||||
|
system now properly handles Format styles when EnterMode=br.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/525">#525</a>] The union
|
||||||
|
of successive DIVs will work properly now if EnterMode!=div.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1227">#1227</a>] The color
|
||||||
|
commands used an unnecessary temporary variable. Thanks to Matthias Miller</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/67">#67</a>] [<a target="_blank"
|
||||||
|
href="http://dev.fckeditor.net/ticket/277">#277</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/427">#427</a>]
|
||||||
|
[<a target="_blank" href="http://dev.fckeditor.net/ticket/428">#428</a>] [<a target="_blank"
|
||||||
|
href="http://dev.fckeditor.net/ticket/965">#965</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1178">#1178</a>]
|
||||||
|
[<a target="_blank" href="http://dev.fckeditor.net/ticket/1267">#1267</a>] The list
|
||||||
|
insertion/removal/indent/outdent logic in FCKeditor has been rewritten, such that:
|
||||||
|
<ol>
|
||||||
|
<li>Text separated by <br> will always be treated as separate items during list
|
||||||
|
insertion regardless of browser;</li>
|
||||||
|
<li>List removal will now always obey the FCKConfig.EnterMode setting;</li>
|
||||||
|
<li>List indentation will be XHTML 1.1 compliant - all child elements under an <ol>
|
||||||
|
or <ul> must be <li> nodes;</li>
|
||||||
|
<li>IE editor hacks like <ul type="1"> will no longer appear;</li>
|
||||||
|
<li>Excessive <div> nodes are no longer inserted into list items due to alignment
|
||||||
|
changes.</li>
|
||||||
|
</ol>
|
||||||
|
</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/205">#205</a>] Fixed the
|
||||||
|
issue where visible <br> tags at the end of paragraphs are incorrectly removed
|
||||||
|
after switching to and from source mode.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1050">#1050</a>] Fixed
|
||||||
|
a minor PHP/XML incompatibility bug in editor/dialog/fck_docprops.html.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/462">#462</a>] Fixed an
|
||||||
|
algorithm bug in switching from source mode to WYSIWYG mode which causes the browser
|
||||||
|
to spin up and freeze for broken HTML code inputs.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1019">#1019</a>] Table
|
||||||
|
command buttons are now disabled when the current selection is not inside a table.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/135">#135</a>] Fixed the
|
||||||
|
issue where context menus are misplaced in FCKeditor when FCKeditor is created inside
|
||||||
|
a <div> node with scrolling. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1067">#1067</a>] Fixed
|
||||||
|
the issue where context menus are misplaced in Safari when FCKeditor is scrolled
|
||||||
|
down.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1081">#1081</a>] Fixed
|
||||||
|
the issue where undoing table deletion in IE7 would cause JavaScript errors.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1061">#1061</a>] Fixed
|
||||||
|
the issue where backspace and delete cannot delete special characters in Firefox
|
||||||
|
under some circumstances.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/403">#403</a>] Fixed the
|
||||||
|
issue where switching to and from source mode in full page mode under IE would add
|
||||||
|
excessive line breaks to <style> blocks.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/121">#121</a>] Fixed the
|
||||||
|
issue where maximizing FCKeditor inside a frameset would resize FCKeditor to the
|
||||||
|
whole window's size instead of just the container frame's size.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1093">#1093</a>] Fixed
|
||||||
|
the issue where pressing Enter inside an inline tag would not create a new paragraph
|
||||||
|
correctly.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1089">#1089</a>] Fixed
|
||||||
|
the issue where pressing Enter inside a <pre> block do not generate visible
|
||||||
|
line breaks in IE.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/332">#332</a>] Hitting
|
||||||
|
Enter when the caret is at the end of a hyperlink will no longer continue the link
|
||||||
|
at the new paragraph.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1121">#1121</a>] Hitting
|
||||||
|
Enter with FCKConfig.EnterMode=br will now scroll the document correctly when the
|
||||||
|
new lines have exceeded the lower boundary of the editor frame.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1063">#1063</a>] [<a
|
||||||
|
target="_blank" href="http://dev.fckeditor.net/ticket/1084">#1084</a>] [<a target="_blank"
|
||||||
|
href="http://dev.fckeditor.net/ticket/1092">#1092</a>] Fixed a few Norwegian
|
||||||
|
language translation errors.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1148">#1148</a>] Fixed
|
||||||
|
the issue where the "Automatic" and "More Colors..." buttons
|
||||||
|
in the color selection panel are not centered in Safari.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1187">#1187</a>] Fixed
|
||||||
|
the issue where the "Paste as plain text" command cannot be undone in
|
||||||
|
non-IE browsers.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1222">#1222</a>] Ctrl-Backspace
|
||||||
|
operations will now save undo snapshots in all browsers.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1223">#1223</a>] Fixed
|
||||||
|
the issue where the insert link dialog would save multiple undo snapshots for a
|
||||||
|
single operation.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/247">#247</a>] Fixed the
|
||||||
|
issue where deleting everything in the document in IE would create an empty <p>
|
||||||
|
block in the document regardless of EnterMode setting. </li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1280">#1280</a>] Fixed
|
||||||
|
the issue where opening a combo box will cause the editor frames to lose focus when
|
||||||
|
there are multiple editors in the same document.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/363">#363</a>] Fixed the
|
||||||
|
issue where the Find dialog does not work under Opera.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/50">#50</a>] Fixed the
|
||||||
|
issue where the Paste button is always disabled in Safari.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/389">#389</a>] Pasting
|
||||||
|
text with comments from Word won't generate errors in IE, thanks to the idea from
|
||||||
|
Swift.</li>
|
||||||
|
<li>The pasting area in the Paste from Word dialog is focused on initial load</li>
|
||||||
|
<li>Some fixes related to html comment handling in the Word clean up routine</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1303">#1303</a>] <col>
|
||||||
|
is correctly treated as an empty element.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/969">#969</a>] Removed
|
||||||
|
unused files (fcknumericfield.htc and moz-bindings.xml).</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1166">#1166</a>] Fixed
|
||||||
|
the issue where <meta> tags are incorrectly outputted with closing tags in
|
||||||
|
full page mode.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1200">#1200</a>] Fixed
|
||||||
|
the issue where context menus sometimes disappear prematurely before the user can
|
||||||
|
click on any items in Opera.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1315">#1315</a>] Fixed
|
||||||
|
the issue where the source view text area in Safari is displayed with an excessive
|
||||||
|
blue border.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1201">#1201</a>] Fixed
|
||||||
|
the issue where hitting Backspace or Delete inside a table cell deletes the table
|
||||||
|
cell instead of its contents in Opera.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1311">#1311</a>] Fixed
|
||||||
|
the issue where undoing and redoing a special character insertion would send the
|
||||||
|
caret to incorrect positions. (e.g. the beginning of document)</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/923">#923</a>] Font colors
|
||||||
|
are now properly applied on links.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1316">#1316</a>] Fixed
|
||||||
|
the issue where the image dialog expands to a size too big in Safari.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1306">#1306</a>] [<a
|
||||||
|
target="_blank" href="http://dev.fckeditor.net/ticket/894">#894</a>] The undo system
|
||||||
|
can now undo text formatting steps like setting fonts to bold and italic.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/95">#95</a>] Fixed the
|
||||||
|
issue where FCKeditor breaks <meta> tags in full page mode in some circumstances.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/175">#175</a>] Fixed the
|
||||||
|
issue where entering an email address with a '%' sign in the insert link dialog
|
||||||
|
would cause JavaScript error.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/180">#180</a>] Improved
|
||||||
|
backward compatibility with older PHP versions. FCKeditor can now work with PHP
|
||||||
|
versions down to 4.0.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/192">#192</a>] Document
|
||||||
|
modifying actions from the FCKeditor JavaScript API will now save undo steps.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/246">#246</a>] Using text
|
||||||
|
formatting commands in EnterMode=div will no longer cause tags to randomly disappear.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/327">#327</a>] It is no
|
||||||
|
longer possible for the browser's back action to misfire when a user presses backspace
|
||||||
|
while an image is being selected in FCKeditor.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/362">#362</a>] Ctrl-Backspace
|
||||||
|
now works in FCKeditor.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/390">#390</a>] Text alignment
|
||||||
|
and justification commands now respects EnterMode=br paragraph rules.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/534">#534</a>] Pressing
|
||||||
|
Ctrl-End while the document contains a list towards the end will no longer make
|
||||||
|
the cursor disappear.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/906">#906</a>] It is now
|
||||||
|
possible to have XHTML 1.0 Strict compliant output from a document pasted from Word.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/929">#929</a>] Pressing
|
||||||
|
the Enter key will now produce an undo step.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/934">#934</a>] Fixed the
|
||||||
|
"Cannot execute code from a freed script" error in IE from editor dialogs.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/942">#942</a>] Server
|
||||||
|
based spell checking with ColdFusion integration no longer breaks fir non en_US
|
||||||
|
languages.</li>
|
||||||
|
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/942">#1056</a>] Deleting
|
||||||
|
everything in the editor document and moving the cursor around will no longer leave
|
||||||
|
the cursor hanging beyond the top of the editor document.</li>
|
||||||
|
</ul>
|
||||||
|
<p>
|
||||||
|
# This version has been <a href="http://dev.fckeditor.net/wiki/SD/COE">partially sponsored</a>
|
||||||
|
by the <a href="http://www.coe.int/">Council of Europe</a>.
|
||||||
|
</p>
|
||||||
<h3>
|
<h3>
|
||||||
Version 2.4.3</h3>
|
Version 2.4.3</h3>
|
||||||
<p>
|
<p>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -26,7 +26,7 @@ var FCKContextMenu = function( parentWindow, langDir )
|
|||||||
this.CtrlDisable = false ;
|
this.CtrlDisable = false ;
|
||||||
|
|
||||||
var oPanel = this._Panel = new FCKPanel( parentWindow ) ;
|
var oPanel = this._Panel = new FCKPanel( parentWindow ) ;
|
||||||
oPanel.AppendStyleSheet( FCKConfig.SkinPath + 'fck_editor.css' ) ;
|
oPanel.AppendStyleSheet( FCKConfig.SkinEditorCSS ) ;
|
||||||
oPanel.IsContextMenu = true ;
|
oPanel.IsContextMenu = true ;
|
||||||
|
|
||||||
// The FCKTools.DisableSelection doesn't seems to work to avoid dragging of the icons in Mozilla
|
// The FCKTools.DisableSelection doesn't seems to work to avoid dragging of the icons in Mozilla
|
||||||
@ -56,9 +56,13 @@ FCKContextMenu.prototype.SetMouseClickWindow = function( mouseClickWindow )
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
FCKContextMenu.prototype.AddItem = function( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled )
|
/**
|
||||||
|
The customData parameter is just a value that will be send to the command that is executed,
|
||||||
|
so it's possible to reuse the same command for several items just by assigning different data for each one.
|
||||||
|
*/
|
||||||
|
FCKContextMenu.prototype.AddItem = function( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData )
|
||||||
{
|
{
|
||||||
var oItem = this._MenuBlock.AddItem( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled) ;
|
var oItem = this._MenuBlock.AddItem( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData ) ;
|
||||||
this._Redraw = true ;
|
this._Redraw = true ;
|
||||||
return oItem ;
|
return oItem ;
|
||||||
}
|
}
|
||||||
@ -122,7 +126,7 @@ function FCKContextMenu_Document_OnMouseDown( e )
|
|||||||
var overrideButton = FCKContextMenu_OverrideButton ;
|
var overrideButton = FCKContextMenu_OverrideButton ;
|
||||||
if( !overrideButton )
|
if( !overrideButton )
|
||||||
{
|
{
|
||||||
var doc = e.target.ownerDocument ;
|
var doc = FCKTools.GetElementDocument( e.target ) ;
|
||||||
overrideButton = FCKContextMenu_OverrideButton = doc.createElement('input') ;
|
overrideButton = FCKContextMenu_OverrideButton = doc.createElement('input') ;
|
||||||
overrideButton.type = 'button' ;
|
overrideButton.type = 'button' ;
|
||||||
var buttonHolder = doc.createElement('p') ;
|
var buttonHolder = doc.createElement('p') ;
|
||||||
@ -155,6 +159,7 @@ function FCKContextMenu_Document_OnMouseUp( e )
|
|||||||
return false ;
|
return false ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return true ;
|
||||||
}
|
}
|
||||||
|
|
||||||
function FCKContextMenu_AttachedElement_OnContextMenu( ev, fckContextMenu, el )
|
function FCKContextMenu_AttachedElement_OnContextMenu( ev, fckContextMenu, el )
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -98,12 +98,15 @@ FCKDomRange.prototype =
|
|||||||
this._UpdateElementInfo() ;
|
this._UpdateElementInfo() ;
|
||||||
return docFrag ;
|
return docFrag ;
|
||||||
}
|
}
|
||||||
|
return null ;
|
||||||
},
|
},
|
||||||
|
|
||||||
CheckIsCollapsed : function()
|
CheckIsCollapsed : function()
|
||||||
{
|
{
|
||||||
if ( this._Range )
|
if ( this._Range )
|
||||||
return this._Range.collapsed ;
|
return this._Range.collapsed ;
|
||||||
|
|
||||||
|
return false ;
|
||||||
},
|
},
|
||||||
|
|
||||||
Collapse : function( toStart )
|
Collapse : function( toStart )
|
||||||
@ -145,12 +148,20 @@ FCKDomRange.prototype =
|
|||||||
// is "<p><b><i>^</i></b> Text</p>" (inside <i>).
|
// is "<p><b><i>^</i></b> Text</p>" (inside <i>).
|
||||||
MoveToElementEditStart : function( targetElement )
|
MoveToElementEditStart : function( targetElement )
|
||||||
{
|
{
|
||||||
var child ;
|
var editableElement ;
|
||||||
|
|
||||||
while ( ( child = targetElement.firstChild ) && child.nodeType == 1 && FCKListsLib.EmptyElements[ child.nodeName.toLowerCase() ] == null )
|
while ( targetElement && targetElement.nodeType == 1 )
|
||||||
targetElement = child ;
|
{
|
||||||
|
if ( FCKDomTools.CheckIsEditable( targetElement ) )
|
||||||
|
editableElement = targetElement ;
|
||||||
|
else if ( editableElement )
|
||||||
|
break ; // If we already found an editable element, stop the loop.
|
||||||
|
|
||||||
this.MoveToElementStart( targetElement ) ;
|
targetElement = targetElement.firstChild ;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( editableElement )
|
||||||
|
this.MoveToElementStart( editableElement ) ;
|
||||||
},
|
},
|
||||||
|
|
||||||
InsertNode : function( node )
|
InsertNode : function( node )
|
||||||
@ -736,7 +747,7 @@ FCKDomRange.prototype =
|
|||||||
* It returns and object with the following properties:
|
* It returns and object with the following properties:
|
||||||
* - PreviousBlock : a reference to the block element that preceeds
|
* - PreviousBlock : a reference to the block element that preceeds
|
||||||
* the range after the split.
|
* the range after the split.
|
||||||
* - NextBlock : a reference to the block element that preceeds the
|
* - NextBlock : a reference to the block element that follows the
|
||||||
* range after the split.
|
* range after the split.
|
||||||
* - WasStartOfBlock : a boolean indicating that the range was
|
* - WasStartOfBlock : a boolean indicating that the range was
|
||||||
* originaly at the start of the block.
|
* originaly at the start of the block.
|
||||||
@ -747,8 +758,10 @@ FCKDomRange.prototype =
|
|||||||
* and the PreviousBlock value will be null. The same is valid for the
|
* and the PreviousBlock value will be null. The same is valid for the
|
||||||
* NextBlock value if the range was at the end of the block.
|
* NextBlock value if the range was at the end of the block.
|
||||||
*/
|
*/
|
||||||
SplitBlock : function()
|
SplitBlock : function( forceBlockTag )
|
||||||
{
|
{
|
||||||
|
var blockTag = forceBlockTag || FCKConfig.EnterMode ;
|
||||||
|
|
||||||
if ( !this._Range )
|
if ( !this._Range )
|
||||||
this.MoveToSelection() ;
|
this.MoveToSelection() ;
|
||||||
|
|
||||||
@ -760,16 +773,16 @@ FCKDomRange.prototype =
|
|||||||
var eEndBlock = this.EndBlock ;
|
var eEndBlock = this.EndBlock ;
|
||||||
var oElementPath = null ;
|
var oElementPath = null ;
|
||||||
|
|
||||||
if ( FCKConfig.EnterMode != 'br' )
|
if ( blockTag != 'br' )
|
||||||
{
|
{
|
||||||
if ( !eStartBlock )
|
if ( !eStartBlock )
|
||||||
{
|
{
|
||||||
eStartBlock = this.FixBlock( true ) ;
|
eStartBlock = this.FixBlock( true, blockTag ) ;
|
||||||
eEndBlock = this.EndBlock ; // FixBlock may have fixed the EndBlock too.
|
eEndBlock = this.EndBlock ; // FixBlock may have fixed the EndBlock too.
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !eEndBlock )
|
if ( !eEndBlock )
|
||||||
eEndBlock = this.FixBlock( false ) ;
|
eEndBlock = this.FixBlock( false, blockTag ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get the range position.
|
// Get the range position.
|
||||||
@ -832,7 +845,7 @@ FCKDomRange.prototype =
|
|||||||
},
|
},
|
||||||
|
|
||||||
// Transform a block without a block tag in a valid block (orphan text in the body or td, usually).
|
// Transform a block without a block tag in a valid block (orphan text in the body or td, usually).
|
||||||
FixBlock : function( isStart )
|
FixBlock : function( isStart, blockTag )
|
||||||
{
|
{
|
||||||
// Bookmark the range so we can restore it later.
|
// Bookmark the range so we can restore it later.
|
||||||
var oBookmark = this.CreateBookmark() ;
|
var oBookmark = this.CreateBookmark() ;
|
||||||
@ -844,7 +857,7 @@ FCKDomRange.prototype =
|
|||||||
this.Expand( 'block_contents' ) ;
|
this.Expand( 'block_contents' ) ;
|
||||||
|
|
||||||
// Create the fixed block.
|
// Create the fixed block.
|
||||||
var oFixedBlock = this.Window.document.createElement( FCKConfig.EnterMode ) ;
|
var oFixedBlock = this.Window.document.createElement( blockTag ) ;
|
||||||
|
|
||||||
// Move the contents of the temporary range to the fixed block.
|
// Move the contents of the temporary range to the fixed block.
|
||||||
this.ExtractContents().AppendTo( oFixedBlock ) ;
|
this.ExtractContents().AppendTo( oFixedBlock ) ;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -113,7 +113,7 @@ FCKDomRange.prototype.SelectBookmark = function( bookmark, forceExpand )
|
|||||||
{
|
{
|
||||||
bIsStartMakerAlone = ( forceExpand || !eStartMarker.previousSibling || eStartMarker.previousSibling.nodeName.toLowerCase() == 'br' ) && !eStartMarker.nextSibing ;
|
bIsStartMakerAlone = ( forceExpand || !eStartMarker.previousSibling || eStartMarker.previousSibling.nodeName.toLowerCase() == 'br' ) && !eStartMarker.nextSibing ;
|
||||||
|
|
||||||
// Append a temporary <span> </span> before the selection.
|
// Append a temporary <span></span> before the selection.
|
||||||
// This is needed to avoid IE destroying selections inside empty
|
// This is needed to avoid IE destroying selections inside empty
|
||||||
// inline elements, like <b></b> (#253).
|
// inline elements, like <b></b> (#253).
|
||||||
// It is also needed when placing the selection right after an inline
|
// It is also needed when placing the selection right after an inline
|
||||||
@ -143,7 +143,7 @@ FCKDomRange.prototype.SelectBookmark = function( bookmark, forceExpand )
|
|||||||
{
|
{
|
||||||
if ( bIsStartMakerAlone )
|
if ( bIsStartMakerAlone )
|
||||||
{
|
{
|
||||||
// Move the selection start to include the temporary .
|
// Move the selection start to include the temporary .
|
||||||
oIERange.moveStart( 'character', -1 ) ;
|
oIERange.moveStart( 'character', -1 ) ;
|
||||||
|
|
||||||
oIERange.select() ;
|
oIERange.select() ;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -92,6 +92,8 @@ FCKDomRangeIterator.prototype =
|
|||||||
var currentNode = this._NextNode ;
|
var currentNode = this._NextNode ;
|
||||||
var lastNode = this._LastNode ;
|
var lastNode = this._LastNode ;
|
||||||
|
|
||||||
|
this._NextNode = null ;
|
||||||
|
|
||||||
while ( currentNode )
|
while ( currentNode )
|
||||||
{
|
{
|
||||||
// closeRange indicates that a paragraph boundary has been found,
|
// closeRange indicates that a paragraph boundary has been found,
|
||||||
@ -110,7 +112,7 @@ FCKDomRangeIterator.prototype =
|
|||||||
{
|
{
|
||||||
var nodeName = currentNode.nodeName.toLowerCase() ;
|
var nodeName = currentNode.nodeName.toLowerCase() ;
|
||||||
|
|
||||||
if ( boundarySet[ nodeName ] )
|
if ( boundarySet[ nodeName ] && ( !FCKBrowserInfo.IsIE || currentNode.scopeName == 'HTML' ) )
|
||||||
{
|
{
|
||||||
// <br> boundaries must be part of the range. It will
|
// <br> boundaries must be part of the range. It will
|
||||||
// happen only if ForceBrBreak.
|
// happen only if ForceBrBreak.
|
||||||
@ -125,6 +127,18 @@ FCKDomRangeIterator.prototype =
|
|||||||
break ;
|
break ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// The range must finish right before the boundary,
|
||||||
|
// including possibly skipped empty spaces. (#1603)
|
||||||
|
if ( range )
|
||||||
|
{
|
||||||
|
range.SetEnd( currentNode, 3, true ) ;
|
||||||
|
|
||||||
|
// The found boundary must be set as the next one at this
|
||||||
|
// point. (#1717)
|
||||||
|
if ( nodeName != 'br' )
|
||||||
|
this._NextNode = currentNode ;
|
||||||
|
}
|
||||||
|
|
||||||
closeRange = true ;
|
closeRange = true ;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -181,6 +195,7 @@ FCKDomRangeIterator.prototype =
|
|||||||
}
|
}
|
||||||
|
|
||||||
currentNode = parentNode ;
|
currentNode = parentNode ;
|
||||||
|
includeNode = true ;
|
||||||
isLast = ( currentNode == lastNode ) ;
|
isLast = ( currentNode == lastNode ) ;
|
||||||
continueFromSibling = true ;
|
continueFromSibling = true ;
|
||||||
}
|
}
|
||||||
@ -265,7 +280,6 @@ FCKDomRangeIterator.prototype =
|
|||||||
|
|
||||||
removePreviousBr = !splitInfo.WasStartOfBlock ;
|
removePreviousBr = !splitInfo.WasStartOfBlock ;
|
||||||
removeLastBr = !splitInfo.WasEndOfBlock ;
|
removeLastBr = !splitInfo.WasEndOfBlock ;
|
||||||
FCKDebug.Output( 'removePreviousBr=' + removePreviousBr + ',removeLastBr=' + removeLastBr ) ;
|
|
||||||
|
|
||||||
// Insert the new block into the DOM.
|
// Insert the new block into the DOM.
|
||||||
range.InsertNode( block ) ;
|
range.InsertNode( block ) ;
|
||||||
@ -305,7 +319,8 @@ FCKDomRangeIterator.prototype =
|
|||||||
// Get a reference for the next element. This is important because the
|
// Get a reference for the next element. This is important because the
|
||||||
// above block can be removed or changed, so we can rely on it for the
|
// above block can be removed or changed, so we can rely on it for the
|
||||||
// next interation.
|
// next interation.
|
||||||
this._NextNode = ( isLast || block == lastNode ) ? null : FCKDomTools.GetNextSourceNode( block, true, null, lastNode ) ;
|
if ( !this._NextNode )
|
||||||
|
this._NextNode = ( isLast || block == lastNode ) ? null : FCKDomTools.GetNextSourceNode( block, true, null, lastNode ) ;
|
||||||
|
|
||||||
return block ;
|
return block ;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -44,31 +44,15 @@ FCKEditingArea.prototype.Start = function( html, secondCall )
|
|||||||
var oTargetDocument = FCKTools.GetElementDocument( eTargetElement ) ;
|
var oTargetDocument = FCKTools.GetElementDocument( eTargetElement ) ;
|
||||||
|
|
||||||
// Remove all child nodes from the target.
|
// Remove all child nodes from the target.
|
||||||
var oChild ;
|
while( eTargetElement.firstChild )
|
||||||
while( ( oChild = eTargetElement.firstChild ) ) // Only one "=".
|
eTargetElement.removeChild( eTargetElement.firstChild ) ;
|
||||||
{
|
|
||||||
// Set innerHTML = '' to avoid memory leak.
|
|
||||||
if ( oChild.contentWindow )
|
|
||||||
oChild.contentWindow.document.body.innerHTML = '' ;
|
|
||||||
|
|
||||||
eTargetElement.removeChild( oChild ) ;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( this.Mode == FCK_EDITMODE_WYSIWYG )
|
if ( this.Mode == FCK_EDITMODE_WYSIWYG )
|
||||||
{
|
{
|
||||||
// Create the editing area IFRAME.
|
// For FF, document.domain must be set only when different, otherwhise
|
||||||
var oIFrame = this.IFrame = oTargetDocument.createElement( 'iframe' ) ;
|
// we'll strangely have "Permission denied" issues.
|
||||||
|
if ( FCK_IS_CUSTOM_DOMAIN )
|
||||||
// Firefox will render the tables inside the body in Quirks mode if the
|
html = '<script>document.domain="' + FCK_RUNTIME_DOMAIN + '";</script>' + html ;
|
||||||
// source of the iframe is set to javascript. see #515
|
|
||||||
if ( !FCKBrowserInfo.IsGecko )
|
|
||||||
oIFrame.src = 'javascript:void(0)' ;
|
|
||||||
|
|
||||||
oIFrame.frameBorder = 0 ;
|
|
||||||
oIFrame.width = oIFrame.height = '100%' ;
|
|
||||||
|
|
||||||
// Append the new IFRAME to the target.
|
|
||||||
eTargetElement.appendChild( oIFrame ) ;
|
|
||||||
|
|
||||||
// IE has a bug with the <base> tag... it must have a </base> closer,
|
// IE has a bug with the <base> tag... it must have a </base> closer,
|
||||||
// otherwise the all successive tags will be set as children nodes of the <base>.
|
// otherwise the all successive tags will be set as children nodes of the <base>.
|
||||||
@ -104,6 +88,38 @@ FCKEditingArea.prototype.Start = function( html, secondCall )
|
|||||||
this._BodyHTML = html ; // Invalid HTML input.
|
this._BodyHTML = html ; // Invalid HTML input.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Create the editing area IFRAME.
|
||||||
|
var oIFrame = this.IFrame = oTargetDocument.createElement( 'iframe' ) ;
|
||||||
|
|
||||||
|
// IE: Avoid JavaScript errors thrown by the editing are source (like tags events).
|
||||||
|
// See #1055.
|
||||||
|
var sOverrideError = '<script type="text/javascript" _fcktemp="true">window.onerror=function(){return true;};</script>' ;
|
||||||
|
|
||||||
|
oIFrame.frameBorder = 0 ;
|
||||||
|
oIFrame.width = oIFrame.height = '100%' ;
|
||||||
|
|
||||||
|
if ( FCK_IS_CUSTOM_DOMAIN && FCKBrowserInfo.IsIE )
|
||||||
|
{
|
||||||
|
window._FCKHtmlToLoad = sOverrideError + html ;
|
||||||
|
oIFrame.src = 'javascript:void( (function(){' +
|
||||||
|
'document.open() ;' +
|
||||||
|
'document.domain="' + document.domain + '" ;' +
|
||||||
|
'document.write( window.parent._FCKHtmlToLoad );' +
|
||||||
|
'document.close() ;' +
|
||||||
|
'window.parent._FCKHtmlToLoad = null ;' +
|
||||||
|
'})() )' ;
|
||||||
|
}
|
||||||
|
else if ( !FCKBrowserInfo.IsGecko )
|
||||||
|
{
|
||||||
|
// Firefox will render the tables inside the body in Quirks mode if the
|
||||||
|
// source of the iframe is set to javascript. see #515
|
||||||
|
oIFrame.src = 'javascript:void(0)' ;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Append the new IFRAME to the target. For IE, it must be done after
|
||||||
|
// setting the "src", to avoid the "secure/unsecure" message under HTTPS.
|
||||||
|
eTargetElement.appendChild( oIFrame ) ;
|
||||||
|
|
||||||
// Get the window and document objects used to interact with the newly created IFRAME.
|
// Get the window and document objects used to interact with the newly created IFRAME.
|
||||||
this.Window = oIFrame.contentWindow ;
|
this.Window = oIFrame.contentWindow ;
|
||||||
|
|
||||||
@ -111,11 +127,17 @@ FCKEditingArea.prototype.Start = function( html, secondCall )
|
|||||||
// TODO: This error handler is not being fired.
|
// TODO: This error handler is not being fired.
|
||||||
// this.Window.onerror = function() { alert( 'Error!' ) ; return true ; }
|
// this.Window.onerror = function() { alert( 'Error!' ) ; return true ; }
|
||||||
|
|
||||||
var oDoc = this.Document = this.Window.document ;
|
if ( !FCK_IS_CUSTOM_DOMAIN || !FCKBrowserInfo.IsIE )
|
||||||
|
{
|
||||||
|
var oDoc = this.Window.document ;
|
||||||
|
|
||||||
oDoc.open() ;
|
oDoc.open() ;
|
||||||
oDoc.write( html ) ;
|
oDoc.write( sOverrideError + html ) ;
|
||||||
oDoc.close() ;
|
oDoc.close() ;
|
||||||
|
}
|
||||||
|
|
||||||
|
if ( FCKBrowserInfo.IsAIR )
|
||||||
|
FCKAdobeAIR.EditingArea_Start( oDoc, html ) ;
|
||||||
|
|
||||||
// Firefox 1.0.x is buggy... ohh yes... so let's do it two times and it
|
// Firefox 1.0.x is buggy... ohh yes... so let's do it two times and it
|
||||||
// will magically work.
|
// will magically work.
|
||||||
@ -125,16 +147,35 @@ FCKEditingArea.prototype.Start = function( html, secondCall )
|
|||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.Window._FCKEditingArea = this ;
|
if ( oIFrame.readyState && oIFrame.readyState != 'completed' )
|
||||||
|
{
|
||||||
// FF 1.0.x is buggy... we must wait a lot to enable editing because
|
var editArea = this ;
|
||||||
// sometimes the content simply disappears, for example when pasting
|
( oIFrame.onreadystatechange = function()
|
||||||
// "bla1!<img src='some_url'>!bla2" in the source and then switching
|
{
|
||||||
// back to design.
|
if ( oIFrame.readyState == 'complete' )
|
||||||
if ( FCKBrowserInfo.IsGecko10 )
|
{
|
||||||
this.Window.setTimeout( FCKEditingArea_CompleteStart, 500 ) ;
|
oIFrame.onreadystatechange = null ;
|
||||||
|
editArea.Window._FCKEditingArea = editArea ;
|
||||||
|
FCKEditingArea_CompleteStart.call( editArea.Window ) ;
|
||||||
|
}
|
||||||
|
// It happened that IE changed the state to "complete" after the
|
||||||
|
// "if" and before the "onreadystatechange" assignement, making we
|
||||||
|
// lost the event call, so we do a manual call just to be sure.
|
||||||
|
} )() ;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
FCKEditingArea_CompleteStart.call( this.Window ) ;
|
{
|
||||||
|
this.Window._FCKEditingArea = this ;
|
||||||
|
|
||||||
|
// FF 1.0.x is buggy... we must wait a lot to enable editing because
|
||||||
|
// sometimes the content simply disappears, for example when pasting
|
||||||
|
// "bla1!<img src='some_url'>!bla2" in the source and then switching
|
||||||
|
// back to design.
|
||||||
|
if ( FCKBrowserInfo.IsGecko10 )
|
||||||
|
this.Window.setTimeout( FCKEditingArea_CompleteStart, 500 ) ;
|
||||||
|
else
|
||||||
|
FCKEditingArea_CompleteStart.call( this.Window ) ;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -170,6 +211,9 @@ function FCKEditingArea_CompleteStart()
|
|||||||
|
|
||||||
var oEditorArea = this._FCKEditingArea ;
|
var oEditorArea = this._FCKEditingArea ;
|
||||||
|
|
||||||
|
// Save this reference to be re-used later.
|
||||||
|
oEditorArea.Document = oEditorArea.Window.document ;
|
||||||
|
|
||||||
oEditorArea.MakeEditable() ;
|
oEditorArea.MakeEditable() ;
|
||||||
|
|
||||||
// Fire the "OnLoad" event.
|
// Fire the "OnLoad" event.
|
||||||
@ -207,24 +251,6 @@ FCKEditingArea.prototype.MakeEditable = function()
|
|||||||
|
|
||||||
oDoc.designMode = 'on' ;
|
oDoc.designMode = 'on' ;
|
||||||
|
|
||||||
// Tell Gecko to use or not the <SPAN> tag for the bold, italic and underline.
|
|
||||||
try
|
|
||||||
{
|
|
||||||
oDoc.execCommand( 'styleWithCSS', false, FCKConfig.GeckoUseSPAN ) ;
|
|
||||||
}
|
|
||||||
catch (e)
|
|
||||||
{
|
|
||||||
// As evidenced here, useCSS is deprecated in favor of styleWithCSS:
|
|
||||||
// http://www.mozilla.org/editor/midas-spec.html
|
|
||||||
oDoc.execCommand( 'useCSS', false, !FCKConfig.GeckoUseSPAN ) ;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Analyzing Firefox 1.5 source code, it seams that there is support for a
|
|
||||||
// "insertBrOnReturn" command. Applying it gives no error, but it doesn't
|
|
||||||
// gives the same behavior that you have with IE. It works only if you are
|
|
||||||
// already inside a paragraph and it doesn't render correctly in the first enter.
|
|
||||||
// oDoc.execCommand( 'insertBrOnReturn', false, false ) ;
|
|
||||||
|
|
||||||
// Tell Gecko (Firefox 1.5+) to enable or not live resizing of objects (by Alfonso Martinez)
|
// Tell Gecko (Firefox 1.5+) to enable or not live resizing of objects (by Alfonso Martinez)
|
||||||
oDoc.execCommand( 'enableObjectResizing', false, !FCKConfig.DisableObjectResizing ) ;
|
oDoc.execCommand( 'enableObjectResizing', false, !FCKConfig.DisableObjectResizing ) ;
|
||||||
|
|
||||||
@ -273,16 +299,10 @@ FCKEditingArea.prototype.Focus = function()
|
|||||||
{
|
{
|
||||||
if ( this.Mode == FCK_EDITMODE_WYSIWYG )
|
if ( this.Mode == FCK_EDITMODE_WYSIWYG )
|
||||||
{
|
{
|
||||||
// The following check is important to avoid IE entering in a focus loop. Ref:
|
|
||||||
// http://sourceforge.net/tracker/index.php?func=detail&aid=1567060&group_id=75348&atid=543653
|
|
||||||
if ( FCKBrowserInfo.IsIE && this.Document.hasFocus() )
|
|
||||||
this._EnsureFocusIE() ;
|
|
||||||
|
|
||||||
this.Window.focus() ;
|
|
||||||
|
|
||||||
// In IE it can happen that the document is in theory focused but the active element is outside it
|
|
||||||
if ( FCKBrowserInfo.IsIE )
|
if ( FCKBrowserInfo.IsIE )
|
||||||
this._EnsureFocusIE() ;
|
this._FocusIE() ;
|
||||||
|
else
|
||||||
|
this.Window.focus() ;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -296,11 +316,14 @@ FCKEditingArea.prototype.Focus = function()
|
|||||||
catch(e) {}
|
catch(e) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
FCKEditingArea.prototype._EnsureFocusIE = function()
|
FCKEditingArea.prototype._FocusIE = function()
|
||||||
{
|
{
|
||||||
// In IE it can happen that the document is in theory focused but the active element is outside it
|
// In IE it can happen that the document is in theory focused but the
|
||||||
|
// active element is outside of it.
|
||||||
this.Document.body.setActive() ;
|
this.Document.body.setActive() ;
|
||||||
|
|
||||||
|
this.Window.focus() ;
|
||||||
|
|
||||||
// Kludge for #141... yet more code to workaround IE bugs
|
// Kludge for #141... yet more code to workaround IE bugs
|
||||||
var range = this.Document.selection.createRange() ;
|
var range = this.Document.selection.createRange() ;
|
||||||
|
|
||||||
@ -315,14 +338,11 @@ FCKEditingArea.prototype._EnsureFocusIE = function()
|
|||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
range.moveEnd( "character", 1 ) ;
|
// Force the selection to happen, in this way we guarantee the focus will
|
||||||
range.select() ;
|
// be there.
|
||||||
|
range = new FCKDomRange( this.Window ) ;
|
||||||
if ( range.boundingWidth > 0 )
|
range.MoveToElementEditStart( parentNode ) ;
|
||||||
{
|
range.Select() ;
|
||||||
range.moveEnd( "character", -1 ) ;
|
|
||||||
range.select() ;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function FCKEditingArea_Cleanup()
|
function FCKEditingArea_Cleanup()
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -38,6 +38,8 @@ var FCKElementPath = function( lastNode )
|
|||||||
this.LastElement = e ;
|
this.LastElement = e ;
|
||||||
|
|
||||||
var sElementName = e.nodeName.toLowerCase() ;
|
var sElementName = e.nodeName.toLowerCase() ;
|
||||||
|
if ( FCKBrowserInfo.IsIE && e.scopeName != 'HTML' )
|
||||||
|
sElementName = e.scopeName.toLowerCase() + ':' + sElementName ;
|
||||||
|
|
||||||
if ( !eBlockLimit )
|
if ( !eBlockLimit )
|
||||||
{
|
{
|
||||||
@ -46,8 +48,9 @@ var FCKElementPath = function( lastNode )
|
|||||||
|
|
||||||
if ( FCKListsLib.PathBlockLimitElements[ sElementName ] != null )
|
if ( FCKListsLib.PathBlockLimitElements[ sElementName ] != null )
|
||||||
{
|
{
|
||||||
// DIV is considered the Block, if no block is available (#525).
|
// DIV is considered the Block, if no block is available (#525)
|
||||||
if ( !eBlock && sElementName == 'div' )
|
// and if it doesn't contain other blocks.
|
||||||
|
if ( !eBlock && sElementName == 'div' && !FCKElementPath._CheckHasBlock( e ) )
|
||||||
eBlock = e ;
|
eBlock = e ;
|
||||||
else
|
else
|
||||||
eBlockLimit = e ;
|
eBlockLimit = e ;
|
||||||
@ -67,4 +70,20 @@ var FCKElementPath = function( lastNode )
|
|||||||
this.Elements = aElements ;
|
this.Elements = aElements ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if an element contains any block element.
|
||||||
|
*/
|
||||||
|
FCKElementPath._CheckHasBlock = function( element )
|
||||||
|
{
|
||||||
|
var childNodes = element.childNodes ;
|
||||||
|
|
||||||
|
for ( var i = 0, count = childNodes.length ; i < count ; i++ )
|
||||||
|
{
|
||||||
|
var child = childNodes[i] ;
|
||||||
|
|
||||||
|
if ( child.nodeType == 1 && FCKListsLib.BlockElements[ child.nodeName.toLowerCase() ] )
|
||||||
|
return true ;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false ;
|
||||||
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -393,9 +393,7 @@ FCKEnterKey.prototype._ExecuteEnterBlock = function( blockTag, range )
|
|||||||
// Get the current selection.
|
// Get the current selection.
|
||||||
var oRange = range || new FCKDomRange( this.Window ) ;
|
var oRange = range || new FCKDomRange( this.Window ) ;
|
||||||
|
|
||||||
var oSplitInfo = oRange.SplitBlock() ;
|
var oSplitInfo = oRange.SplitBlock( blockTag ) ;
|
||||||
|
|
||||||
// FCKDebug.OutputObject( oSplitInfo ) ;
|
|
||||||
|
|
||||||
if ( oSplitInfo )
|
if ( oSplitInfo )
|
||||||
{
|
{
|
||||||
@ -406,16 +404,32 @@ FCKEnterKey.prototype._ExecuteEnterBlock = function( blockTag, range )
|
|||||||
var bIsStartOfBlock = oSplitInfo.WasStartOfBlock ;
|
var bIsStartOfBlock = oSplitInfo.WasStartOfBlock ;
|
||||||
var bIsEndOfBlock = oSplitInfo.WasEndOfBlock ;
|
var bIsEndOfBlock = oSplitInfo.WasEndOfBlock ;
|
||||||
|
|
||||||
|
// If there is one block under a list item, modify the split so that the list item gets split as well. (Bug #1647)
|
||||||
|
if ( eNextBlock )
|
||||||
|
{
|
||||||
|
if ( eNextBlock.parentNode.nodeName.IEquals( 'li' ) )
|
||||||
|
{
|
||||||
|
FCKDomTools.BreakParent( eNextBlock, eNextBlock.parentNode ) ;
|
||||||
|
FCKDomTools.MoveNode( eNextBlock, eNextBlock.nextSibling, true ) ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if ( ePreviousBlock && ePreviousBlock.parentNode.nodeName.IEquals( 'li' ) )
|
||||||
|
{
|
||||||
|
FCKDomTools.BreakParent( ePreviousBlock, ePreviousBlock.parentNode ) ;
|
||||||
|
oRange.MoveToElementEditStart( ePreviousBlock.nextSibling );
|
||||||
|
FCKDomTools.MoveNode( ePreviousBlock, ePreviousBlock.previousSibling ) ;
|
||||||
|
}
|
||||||
|
|
||||||
// If we have both the previous and next blocks, it means that the
|
// If we have both the previous and next blocks, it means that the
|
||||||
// boundaries were on separated blocks, or none of them where on the
|
// boundaries were on separated blocks, or none of them where on the
|
||||||
// block limits (start/end).
|
// block limits (start/end).
|
||||||
if ( !oSplitInfo.WasStartOfBlock && !oSplitInfo.WasEndOfBlock )
|
if ( !bIsStartOfBlock && !bIsEndOfBlock )
|
||||||
{
|
{
|
||||||
// If the next block is an <li> with another list tree as the first child
|
// If the next block is an <li> with another list tree as the first child
|
||||||
// We'll need to append a placeholder or the list item wouldn't be editable. (Bug #1420)
|
// We'll need to append a placeholder or the list item wouldn't be editable. (Bug #1420)
|
||||||
if ( eNextBlock.nodeName.IEquals( 'li' ) && eNextBlock.firstChild
|
if ( eNextBlock.nodeName.IEquals( 'li' ) && eNextBlock.firstChild
|
||||||
&& eNextBlock.firstChild.nodeName.IEquals( ['ul', 'ol'] ) )
|
&& eNextBlock.firstChild.nodeName.IEquals( ['ul', 'ol'] ) )
|
||||||
eNextBlock.insertBefore( eNextBlock.ownerDocument.createTextNode( '\xa0' ), eNextBlock.firstChild ) ;
|
eNextBlock.insertBefore( FCKTools.GetElementDocument( eNextBlock ).createTextNode( '\xa0' ), eNextBlock.firstChild ) ;
|
||||||
// Move the selection to the end block.
|
// Move the selection to the end block.
|
||||||
if ( eNextBlock )
|
if ( eNextBlock )
|
||||||
oRange.MoveToElementEditStart( eNextBlock ) ;
|
oRange.MoveToElementEditStart( eNextBlock ) ;
|
||||||
@ -456,7 +470,6 @@ FCKEnterKey.prototype._ExecuteEnterBlock = function( blockTag, range )
|
|||||||
var elementPath = oSplitInfo.ElementPath ;
|
var elementPath = oSplitInfo.ElementPath ;
|
||||||
if ( elementPath )
|
if ( elementPath )
|
||||||
{
|
{
|
||||||
var eFocusElement = eNewBlock ;
|
|
||||||
for ( var i = 0, len = elementPath.Elements.length ; i < len ; i++ )
|
for ( var i = 0, len = elementPath.Elements.length ; i < len ; i++ )
|
||||||
{
|
{
|
||||||
var element = elementPath.Elements[i] ;
|
var element = elementPath.Elements[i] ;
|
||||||
@ -465,7 +478,11 @@ FCKEnterKey.prototype._ExecuteEnterBlock = function( blockTag, range )
|
|||||||
break ;
|
break ;
|
||||||
|
|
||||||
if ( FCKListsLib.InlineChildReqElements[ element.nodeName.toLowerCase() ] )
|
if ( FCKListsLib.InlineChildReqElements[ element.nodeName.toLowerCase() ] )
|
||||||
eFocusElement = eFocusElement.appendChild( FCKDomTools.CloneElement( element ) ) ;
|
{
|
||||||
|
element = FCKDomTools.CloneElement( element ) ;
|
||||||
|
FCKDomTools.MoveChildren( eNewBlock, element ) ;
|
||||||
|
eNewBlock.appendChild( element ) ;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -479,7 +496,7 @@ FCKEnterKey.prototype._ExecuteEnterBlock = function( blockTag, range )
|
|||||||
if ( FCKBrowserInfo.IsIE )
|
if ( FCKBrowserInfo.IsIE )
|
||||||
{
|
{
|
||||||
// Move the selection to the new block.
|
// Move the selection to the new block.
|
||||||
oRange.MoveToNodeContents( eNewBlock ) ;
|
oRange.MoveToElementEditStart( eNewBlock ) ;
|
||||||
oRange.Select() ;
|
oRange.Select() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
142
phpgwapi/js/fckeditor/editor/_source/classes/fckhtmliterator.js
Normal file
142
phpgwapi/js/fckeditor/editor/_source/classes/fckhtmliterator.js
Normal file
@ -0,0 +1,142 @@
|
|||||||
|
/*
|
||||||
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
|
*
|
||||||
|
* == BEGIN LICENSE ==
|
||||||
|
*
|
||||||
|
* Licensed under the terms of any of the following licenses at your
|
||||||
|
* choice:
|
||||||
|
*
|
||||||
|
* - GNU General Public License Version 2 or later (the "GPL")
|
||||||
|
* http://www.gnu.org/licenses/gpl.html
|
||||||
|
*
|
||||||
|
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
||||||
|
* http://www.gnu.org/licenses/lgpl.html
|
||||||
|
*
|
||||||
|
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
||||||
|
* http://www.mozilla.org/MPL/MPL-1.1.html
|
||||||
|
*
|
||||||
|
* == END LICENSE ==
|
||||||
|
*
|
||||||
|
* This class can be used to interate through nodes inside a range.
|
||||||
|
*
|
||||||
|
* During interation, the provided range can become invalid, due to document
|
||||||
|
* mutations, so CreateBookmark() used to restore it after processing, if
|
||||||
|
* needed.
|
||||||
|
*/
|
||||||
|
|
||||||
|
var FCKHtmlIterator = function( source )
|
||||||
|
{
|
||||||
|
this._sourceHtml = source ;
|
||||||
|
}
|
||||||
|
FCKHtmlIterator.prototype =
|
||||||
|
{
|
||||||
|
Next : function()
|
||||||
|
{
|
||||||
|
var sourceHtml = this._sourceHtml ;
|
||||||
|
if ( sourceHtml == null )
|
||||||
|
return null ;
|
||||||
|
|
||||||
|
var match = FCKRegexLib.HtmlTag.exec( sourceHtml ) ;
|
||||||
|
var isTag = false ;
|
||||||
|
var value = "" ;
|
||||||
|
if ( match )
|
||||||
|
{
|
||||||
|
if ( match.index > 0 )
|
||||||
|
{
|
||||||
|
value = sourceHtml.substr( 0, match.index ) ;
|
||||||
|
this._sourceHtml = sourceHtml.substr( match.index ) ;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
isTag = true ;
|
||||||
|
value = match[0] ;
|
||||||
|
this._sourceHtml = sourceHtml.substr( match[0].length ) ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
value = sourceHtml ;
|
||||||
|
this._sourceHtml = null ;
|
||||||
|
}
|
||||||
|
return { 'isTag' : isTag, 'value' : value } ;
|
||||||
|
},
|
||||||
|
|
||||||
|
Each : function( func )
|
||||||
|
{
|
||||||
|
var chunk ;
|
||||||
|
while ( ( chunk = this.Next() ) )
|
||||||
|
func( chunk.isTag, chunk.value ) ;
|
||||||
|
}
|
||||||
|
} ;
|
||||||
|
/*
|
||||||
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
|
*
|
||||||
|
* == BEGIN LICENSE ==
|
||||||
|
*
|
||||||
|
* Licensed under the terms of any of the following licenses at your
|
||||||
|
* choice:
|
||||||
|
*
|
||||||
|
* - GNU General Public License Version 2 or later (the "GPL")
|
||||||
|
* http://www.gnu.org/licenses/gpl.html
|
||||||
|
*
|
||||||
|
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
||||||
|
* http://www.gnu.org/licenses/lgpl.html
|
||||||
|
*
|
||||||
|
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
||||||
|
* http://www.mozilla.org/MPL/MPL-1.1.html
|
||||||
|
*
|
||||||
|
* == END LICENSE ==
|
||||||
|
*
|
||||||
|
* This class can be used to interate through nodes inside a range.
|
||||||
|
*
|
||||||
|
* During interation, the provided range can become invalid, due to document
|
||||||
|
* mutations, so CreateBookmark() used to restore it after processing, if
|
||||||
|
* needed.
|
||||||
|
*/
|
||||||
|
|
||||||
|
var FCKHtmlIterator = function( source )
|
||||||
|
{
|
||||||
|
this._sourceHtml = source ;
|
||||||
|
}
|
||||||
|
FCKHtmlIterator.prototype =
|
||||||
|
{
|
||||||
|
Next : function()
|
||||||
|
{
|
||||||
|
var sourceHtml = this._sourceHtml ;
|
||||||
|
if ( sourceHtml == null )
|
||||||
|
return null ;
|
||||||
|
|
||||||
|
var match = FCKRegexLib.HtmlTag.exec( sourceHtml ) ;
|
||||||
|
var isTag = false ;
|
||||||
|
var value = "" ;
|
||||||
|
if ( match )
|
||||||
|
{
|
||||||
|
if ( match.index > 0 )
|
||||||
|
{
|
||||||
|
value = sourceHtml.substr( 0, match.index ) ;
|
||||||
|
this._sourceHtml = sourceHtml.substr( match.index ) ;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
isTag = true ;
|
||||||
|
value = match[0] ;
|
||||||
|
this._sourceHtml = sourceHtml.substr( match[0].length ) ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
value = sourceHtml ;
|
||||||
|
this._sourceHtml = null ;
|
||||||
|
}
|
||||||
|
return { 'isTag' : isTag, 'value' : value } ;
|
||||||
|
},
|
||||||
|
|
||||||
|
Each : function( func )
|
||||||
|
{
|
||||||
|
var chunk ;
|
||||||
|
while ( ( chunk = this.Next() ) )
|
||||||
|
func( chunk.isTag, chunk.value ) ;
|
||||||
|
}
|
||||||
|
} ;
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
||||||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
|
* Copyright (C) 2003-2008 Frederico Caldeira Knabben
|
||||||
*
|
*
|
||||||
* == BEGIN LICENSE ==
|
* == BEGIN LICENSE ==
|
||||||
*
|
*
|
||||||
@ -32,9 +32,9 @@ FCKMenuBlock.prototype.Count = function()
|
|||||||
return this._Items.length ;
|
return this._Items.length ;
|
||||||
}
|
}
|
||||||
|
|
||||||
FCKMenuBlock.prototype.AddItem = function( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled )
|
FCKMenuBlock.prototype.AddItem = function( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData )
|
||||||
{
|
{
|
||||||
var oItem = new FCKMenuItem( this, name, label, iconPathOrStripInfoArrayOrIndex, isDisabled ) ;
|
var oItem = new FCKMenuItem( this, name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData ) ;
|
||||||
|
|
||||||
oItem.OnClick = FCKTools.CreateEventListener( FCKMenuBlock_Item_OnClick, this ) ;
|
oItem.OnClick = FCKTools.CreateEventListener( FCKMenuBlock_Item_OnClick, this ) ;
|
||||||
oItem.OnActivate = FCKTools.CreateEventListener( FCKMenuBlock_Item_OnActivate, this ) ;
|
oItem.OnActivate = FCKTools.CreateEventListener( FCKMenuBlock_Item_OnActivate, this ) ;
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user