Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (601 - 700 of 11754)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Ticket Summary Owner Type Priority Milestone Component
#147 New Image Manager New Feature Normal General
Description

The current file manager (which includes the image manager) is very limited.

Implementing a new image browser/manager would be an enormous improvement. In fact, I'm sure that many users (including myself) would be willing to donate extra money for the development of this particular feature.

The current version cannot delete files, move files around, rename files... all a user can do is upload. I request that a fully functional image manager be implemented, including the aforementioned requests and those listed below:

  • Resize image
  • Scale image
  • Crop image

A decent image manager plugin, that doesn't require additional modding, does not exist; therefore, every time a new version of FCKeditor is available, anyone who uses a custom image manager must recode and reconfigure different parts of the editor and/or image manager.

A near seamless upgrade was possible (which included a powerful image manager) would be a major improvement. I realize that not all languages possess a package such as GD or ImageMagik, but what a powerful and worthwhile tool for those that do.

#148 Empty DIV Bug Normal Core : Styles
Description

I have had this problem more than once with FCKeditor v2.4:

I load a page that includes very basic content. For example, if viewing the source:

<b>Heading</b><br />
<p>This is the first paragraph</p>

Back on the WYSIWYG side, if I remove the formatting from the "Heading", and then reformat it to a "h1" (defined in the external .xml and .css files) from the Style combo box, then center the H1 text, the following is the result of the source:

<div align="center">&nbsp;</div>
<h1 align="center">Heading</h1>
<p>This is the first paragraph</p>

It's adding an empty DIV, which is most of the time not removable (without source code access).

#149 files (images, media...) management plugin New Feature Normal File Browser
Description

A plugin to manage (upload(already emplemented), rename, delete) files (images and others) on the server.

#150 flash embed properties not saved Bug Normal General
Description

When adding a flash movie, and editing the "Auto play", "repeat", "enable menu" and "style" options in the Advanced tab (unchecking all checkboxes, and filling in all fields), it is initially saved when you save it to a file, and the Flash movie works as expected.

After editing the file again these settings are back to default (checkboxes are
checked again, Stlye textbox is empty.

Does not apply to "ID", "Stylesheet class", "Title" and "Scale information" as this
information is shown as filled in the first time.

#151 Automated tests of FCKDomRange fails Frederico Caldeira Knabben Bug Normal General
Description

The automated tests using JsUnit fail in both IE and Firefox.

I think that the problem lies in a dependency on fckregexplib.js not stated in the fckscriptloader.js, but I don't have too much time to look at it properly and do the checks.

#152 ENTER key destroys part of the text Bug Normal FCKeditor 2.4.1 UI : Enter Key
Description

Enter the following code in the editor, put the cursor just behind www.xxx.be and press ENTER. Everything below this line is DELETED (serious bug if you ask me).

<p><font color="#993366"><font color="#000000">La zone:</font></font></p><p><font color="#000000">- le Règlement de police (<font color="#0000ff">dans ce site aussi</font>)</font><br /><font color="#000000">- un répertoire téléphonique</font><br /><font color="#000000">- des liens utiles </font><a href="http://www.polbru.beListe"><font color="#993366" /></a><br /><a href="http://www.xxx.be"><br />www.xxx.be</a><font color="#993366"><a href="http://www.polbru.beListe"><font color="#993366"><font color="#993366"><br />Liste des commissariats et services de garde</font><br /><font color="#000000">Direction générale<br />Rue Marché au Charbon 30<br />1000 Bruxelles<br />Tél. 02 279 77 11 – fax 02 279 77 15<br />Service de garde 24/24</font><br />&#160;<br /><font color="#000000">12ème division (Laeken)<br />Avenue Houba de Strooper 141<br />1020 Bruxelles<br />Tél. 02 279 82 10 – fax&#160; 02 279 82 09<br />Ouvert de 7 à 22:00<br />&#160;<br /></font></font></a><font color="#993366"><br /></font></font></p><p>District 1</p>
#153 fck_paste.html : CustomCleanWord : line 78 Bug Normal General
Description

line 78 of fck_paste.html should be:

sHtml = FCKTools.CustomCleanWord( oBody, document.getElementById('chkRemoveFont').checked, document.getElementById('chkRemoveStyles').checked ) ;

instead of:

sHtml = FCK.CustomCleanWord( oBody, document.getElementById('chkRemoveFont').checked, document.getElementById('chkRemoveStyles').checked ) ;
#154 Enhancements to the File Browser New Feature Normal General
Description

Maybe you have to allow to delete images into the "resourses browser", sometimes when you have a limited hosting package, you need this to delete unused files.

In the other side, maybe to this same feature, the posibility to see thumbnails or something like this. Actually I have an object or component to do that from .net, if you can add this options to fck, i can send you my component.

Thanks

#155 FCKListHandler should make use of FCKConfig.EnterMode Bug Normal General
Description

this is a simple change already noted as a TODO in the code. basically change

oDocument.createElement( 'p' )

to

oDocument.createElement( FCKConfig.EnterMode )

#156 [PATCH] Style combo changes for IE Bug Normal FCKeditor 2.5 Beta Core : Styles
Description

The following patch cleans up the style combox code under IE for us. I'm posting it here in case it gives anyone some good ideas. In 2.4, we could never get the style combo to apply styles to LIs, and had issues with visible items and selected style code on IE as well.

#157 Wrong empty tags generated Bug Normal FCKeditor 2.4.1 General
Description

Steps to Reproduce

  1. Paste the following code in Source:
<span></span>
  1. Switch back to WYSIWYG and then to Source again. The resulting code is:
<p />

Confirmed with IE6 and FF2.

Expected Result

<p>&nbsp;</p>
#159 Single Toolbar for multiple instances of the FCKeditor New Feature Normal UI : Toolbar
Description

I've dug, but not found, for documentation on configuring FCKeditor to use a single Toolbar for multiple instances of the editor.

Is this something you all would consider in the future?

Thanks.

Bill Rishsew WebApplication Developer North Idaho College Bill_Rishsew@…

#160 Unnecessary DIV's created when formatting Martin Kou Bug Normal FCKeditor 2.5 Beta Core : Styles
Description
  1. Load demo page at http://klug.pbwiki.biz/FCKeditor/2_4/_samples/default.html (this is from SVN, as of [179])
  1. Clear all content, and type five short lines of text.
  1. Switch to source mode
  1. Switch back to normal mode
  1. Select the middle three lines
  1. Click the "Justify Left" toolbar button

The source is:

<p>sdfsfdsdf</p>
<p align="left">sdfsdfsdf</p>
<div align="left">&nbsp;</div>
<p align="left">sdfsdfsdf</p>
<div align="left">&nbsp;</div>
<p align="left">sdfsdfsd</p>
<p>sddsfsdfsdf</p>
#161 Wrong position of toolbar panels for GWT Popups in Firefox Martin Kou Bug Normal FCKeditor 2.6 UI : Floating Panel
Description

I am using FCKEditor with Google Web Toolkit (GWT). And the floating panels which are popped up if we click on tool bars like Styles or Font etc are being wrongly positioned only if the editor is being used inside a Popup panel or a Dialog box. The GWT Dialogbox/Popup panels also contain scroll bars.

Otherwise it behaves fine, I mean if it is used inside normal browser window, positions of those panels are correct.

FCKEditor : 2.3.2

Build : 1082

GWT Version : 1.1.2

Browser : Firefox/2.0.0.2

OS : Windows XP

#162 Template library of useful formatting. New Feature Normal General
Description

I find myself inserting HTML from other areas of my sites to match existing elements or to create a new look. If a site prepares a set of templates for different functions than the web authors can just pull templates into their page as appropriate without switching to an HTML view.

#163 Set PHP as the default connector Task Normal FCKeditor 2.5 Beta General
Description

PHP developers are our main user base (we have numbers to prove it). So, by default FCKeditor must be target to PHP instead of ASP.

#164 Internet Explorer loses Break tags on saving or viewing source. Bug Normal FCKeditor 2.4.1 General
Description

Steps to reproduce.

Enter the following HTML then switch to source or save. The break tags will be gone!

<font size="+0"><span class="H3">

<p> </p> <p> </p> <p>

<font size="+0">Test line 1</font></p>

<p>

<font color="#cd5c5c">s<br> </font><font color="#483d8b">d<br> </font><font color="#dc143c">a</font></p>

</span></font>

#165 FCKListHandler.OutdentListItem must honor FCKConfig.EnterMode Bug Normal FCKeditor 2.4.1 General
Description

In FCKListHandler.OutdentListItem, if a list item doesn't have more "hierarchy" to outdent, it creates a <p> with the contents of the item.

Its behavior should instead be controlled by the EnterMode setting:

  • EnterMode = 'p' : a <p> is used (like today)
  • EnterMode = 'div' : a <div> is used (like today)
  • EnterMode = 'br' : the parent <ul>/<ol> is closed/broken and the <li> contents are moved right after it, without a block tag surrounding it.
#166 Viewing Source can change the order of elements in IE Bug Normal CKEditor 3.0 General
Description

Use the following source and toggle "View Source". On the first occasion the bottom item leaps to the top. Subsequent attempts to view source give a javascript error.

<p><span class="Normal"> <p>Line 1</p> </span><span class="Code">Line 2<br /> Line 3 <p>&nbsp;</p> </span></p> <div align="center">Line 4</div> <p>&nbsp;</p>

#168 InsertHTML removes <object> tag in IE Bug Normal General
Description

When calling the InsertHtml function in IE 6, I noticed that the <object> tag is stripped out, in IE only. It works fine in firefox.

#169 Nightly build demo is not working Bug Normal General
Description

From several days I noticed that the SVN Nightly build demo is not working. On demo page load it gives javascript error at line 123 char 2

#170 An easy way to add our own links to the toolbar, insert text where the caret is positioned Frederico Caldeira Knabben New Feature Normal General
Description

While using this editor I also require to integrate it with tools I build my self. For example I have built a custom file management system which allows users to insert, retrieve and search documents from the web. I would like to provide it as an attachment link in the tool bar. The user will be able to click on the link and get my popup window. I also require to pass some dynamic query string information also to it. My pop up window will create a hyperlink to the inserted file and set it where the caret was last positioned. Though I have already achieved it but it was very tough and if you can provide support for such features in your tools, it would be easier to use the editor in an integrated environment.

#172 Cannot apply format to a select list of bullets Bug Normal FCKeditor 2.5 Beta Core : Styles
Description
  1. Create a list of bullets:
<ol>
	<li>Bullet 1</li>
	<li>Bullet 2</li>
	<li>Bullet 3</li>
</ol>
  1. Select bullets in WYSIWYG view.
  1. Select Normal from Format drop down menu.
  1. Get the following:
<ol>
	<li>
		<p>Bullet 1Bullet 2Bullet 3</p>
	</li>
	<li>&nbsp;</li>
	<li>&nbsp;</li>
</ol>
  1. Would expect to get:
<ol>
	<li><p>Bullet 1</p></li>
	<li><p>Bullet 2</p></li>
	<li><p>Bullet 3</p></li>
</ol>
  1. My expectations are based on the use of tools such as DreamWeaver.

Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1650057&group_id=75348&atid=543653

#173 Error when both instances share the same toolbar Frederico Caldeira Knabben Bug Normal Server : PHP
Description

FCKeditor - JavaScript - Sample 10
This sample shows a form with two FCKeditor instance. Both instances share the same toolbar, available in the top.

When change this JavaScript Sample to PHP Version.

Error: oEditor.GetParentForm is not a function
Source:http://192.168.168.1/fckeditor/editor/js/fckeditorcode_gecko.js
Line:36


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1649545&group_id=75348&atid=543653

#174 "Maximize the editor size" button can't handle relative DIVs Martin Kou Bug Normal FCKeditor 2.5 Beta General
Description

The "maximize the editor size" button isn't working perfectly. It won't position the editor top left when it's in a relative positioned div. See my test page for the wrong behavior:
http://www.saulmade.nl/FCKeditor/FCKTest.php

Just scroll down or click 'demo' and click the maximize button.

I also encountered this problem when first developing the button. The button as it was first released as a plugin (http://www.saulmade.nl/FCKeditor/FCKPlugins.php) does position the editor properly. Maybe this code can still be of any use...


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1648925&group_id=75348&atid=543653

#175 Percent sign in mailto: link breaks link tool Bug Normal FCKeditor 2.5 Beta General
Description

I tested this on multiple versions of FCKeditor i have back to around 2.0 and all exhibit the same behavior.

I recreated this error like so:

  1. Open new FCKeditor and switch to source view.
  1. Enter html mailto: link where the email address contains a percent sign (we use % signs for macros). Example:
<a href="mailto:useruser%name@host.com">E-Mail me!</a>. here is more text.
  1. Switch back to html view.
  1. Select and try to link some of the other text, like the word "more" to a website. the dialog box comes up, lets you type in the url, and then when you save it, it throws a js error, and in your html code, it puts in javascript code like the following:
<a href="mailto:useruser%name@host.com">E-Mail me!</a>. here is 
<a href="javascript:void(0);/*1168555255689*/">more</a> text.

Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1633584&group_id=75348&atid=543653

#176 Unterminated A tags sometimes break paragraphs on save Bug Normal General
Description

If the content looks like this:

<p><a href="linky">Text</p>
<p><a href="linky2">More Text</p>

Then saving with FCKeditor (IE version) will produce the following:

<p><a href="linky">Text<a href="linky2">More Text</p>
<p>&nbsp;</p>

This bug appears to only appear under the Internet Explorer version of IE (tested IE6). It does not happen under Firefox.

Steps to Reproduce:

  1. Open FCKeditor in IE and paste the above initial content (make sure that FCKeditor doesn't add back in the </a> tags on paste. If so, delete them).
  2. Save to a file/database and reload it in IE. It looks ok.
  3. Click source. Code becomes corrupted (I also believe it corrupts with any style changes on the page, but I have not tested this).

Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1631643&group_id=75348&atid=543653

#177 ProtectedSource content is not printed Bug Normal General
Description

ProtectedSource content is displayed correctly on preview but it is not printed. Both in IE6/7 and Firefox 1.x/2.x.

Can't say if this is a bug or a feature but, reading the documentation, I was expecting it to be printed.


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1624525&group_id=75348&atid=543653

#178 Right-click in table cell messing up in Firefox Bug Normal UI : Context Menu
Description

When you right click inside a table cell in Firefox, the menu flickers a few times, the whole editor flickers once, then the context menu appears.

Here's the kicker, if you have a custom plugin that uses the context menu, right click does not work at all in Firefox.

Tested in Firefox version 1.5.0.9 and 2.0.0.1


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1622484&group_id=75348&atid=543653

#179 Undo suffering from short term memory loss Bug Normal FCKeditor 2.5 Beta Core : Undo & Redo
Description

If you type in the sentence:

"you cant always get what you want"

Highlight it then hit any key to erase, now hit undo and you are left with:

"you cant always get what"

Ironic really.

This happens for other sentences.

Bug is in IE6, IE7 not in Firefox. Running Windows XP Pro intergrated latest FCKeditor with APS web app written in c#.


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1606670&group_id=75348&atid=543653

#180 Backwards compatibility with older PHP versions Wiktor Walc Bug Normal FCKeditor 2.5 Beta Server : PHP
Description

I use v2.3.1 and I only got it to work after added several lines of codes to let it work not only with $_GET but also with $HTTP_GET_VARS. This also is for $_FILES, $_POST, etc.

I use this code:

global $HTTP_GET_VARS;
if (!isset($_GET))
    $_GET = &$HTTP_GET_VARS;

This prevent my from upgrading to the latest version because I have to go trough all code again.

It would be nice if in the future release this could be solved.

--
Paul


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1603204&group_id=75348&atid=543653

#181 Comments before <html> tag lead to source display on IE Bug Normal General
Description

Because of the comment in fckeditor.html before the starting <html> tag my Internet Explorer 6.0.299.2180.xpsp_sp2_gdr.050301-1519 the file source is shown in the editor.

This has been discovered only with my browser (did not check the versions of colleagues).

The bug was encountered with OpenCms which integrates FCKeditor.

I patched the file as follows:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2006 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* "Support Open Source software. What about a donation today?"
*
* File Name: fckeditor.html
* Main page that holds the editor.
*
* File Authors:
* Frederico Caldeira Knabben (fredck@fckeditor.net)
-->
<head>
...

With this change the behavior disappears.

Kind regards,
Achim


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1601747&group_id=75348&atid=543653

#182 Percent signs don't get escaped on URLs Bug Normal FCKeditor 2.4.3 File Browser
Description

Filenames like 'some%20test.png' (where %20 is really a part of the filename, not a space) don't get escaped when linked to.

This results in links like '<a href="/some%20test.png">' instead of '<a href="/some%2520test.png">'.


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1600426&group_id=75348&atid=543653

#183 Unloads too early from hosted IE control Bug Normal FCKeditor 2.5 Beta General
Description

When IE is hosted inside another application it fires unload events when control hides. FCKeditor unloads and when control is visible again editor's unusable. The following page describes the problem:
http://support.microsoft.com/default.aspx?scid=kb;en-us;199155

The best way to fix this is to handle onbeforeunload event to verify that page is unloading and unload only then. this should be quite easy to fix.


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1597845&group_id=75348&atid=543653

#184 Right click on toolbar lead to wrong location of new element Alfonso Martínez de Lizarrondo Bug Normal FCKeditor 2.5 Beta UI : Toolbar
Description
  1. Execute right click on free space in toolbar, or double right click on button in toolbar;
  1. Press "Insert horizontal line" button;

New line been insert in top of toolbar.

  1. Click in edit area for focus;
  1. Repeat step 1;
  1. Press "Number list button".

Horizontal line is to number :)


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1596937&group_id=75348&atid=543653

#185 .Value property vs .Text property New Feature Normal Server : ASP.Net
Description

I noticed the FCKeditorV2 dll uses the .Value property to represent the text in the textbox. This makes integrating the editor into existing applications difficult because I have to change all instances of myTextBox.Text to myTextBox.Value.

As far as the code-behind, it really should operate like a standard textbox.


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1592309&group_id=75348&atid=543653

#186 Font & bg colorpickers display cut when ToolbarLocation=out Bug Normal General
Description

Hey there,

Nice work all of you !!

Just to report that the FONT & BACKGROUND colorpickers do not display correctly (get cut) when first click on it in PHP mode when 'ToolbarLocation' set to Out & using multiple textareas.

After the first click on the colorpicker the display of the colorpicker become ok.

(1 new click is needed for each new focus textarea)

This happen in IE as well as Firefox

Best Regards, OP


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1590370&group_id=75348&atid=543653

#187 fckeditor.cfc doesn't set imageUpload variables Bug Normal FCKeditor 2.4.3 Server : ColdFusion
Description

The fckeditor.cfc implementation seems to be missing the following line of code, which I inserted at line 199 of version 2.3.2:

lConfigKeys = lConfigKeys &
",ImageUpload,ImageUploadURL,ImageUploadWindowWidth,ImageUploadWindowHeight
,ImageUploadAllowedExtensions,ImageUploadDeniedExtensions";

Without this line, I'm unable to customize the quick upload features within FCKeditor.


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1590851&group_id=75348&atid=543653

#188 z-index of Image in editor prevents toolbar action Frederico Caldeira Knabben Bug Normal CKEditor 3.6.1 General
Description

Steps:

  1. Add image to the Editor.
  2. Resize if necessary so that height and width extend beyond editor input.
  3. Use scroll bar so that top image size handles overlay the toolbar icons.
  4. Click any toolbar icon.

You will see that nothing happens. I've tried to change the z-index, but inline styles are removed or replaced in editor (i.e. when toggling between design and html mode).

Thanks!


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1589572&group_id=75348&atid=543653

#189 Flash integration : align center -> tag broken Bug Normal General
Description

When you manually (using source) insert all the needed tags for inserting a flash animation (embed + object), if you center the flash (or a block that contains a flash) it inserts some tags between the embed and object tags... which makes the flash fails!


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1587913&group_id=75348&atid=543653

#190 Toolbars jums to the right as editor width changes Bug Normal FCKeditor 2.4.1 General
Description

Different toolbar items have different height. In general toolbar is 24px high, but toolbar with drop-down (format, font, size) is 23px size. because of this some toolbar items can jump to be stacked under toolbars with dropdowns (there's 1px more space for them there).

All toolbars should be fixed to have the same height.

.TB_Toolbar
{
height: 24px;
}

Style fixed the problem for me.


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1587447&group_id=75348&atid=543653

#191 FF Mac: scrollable combos have no scrollbar Martin Kou Bug Normal FCKeditor 2.6 UI : Toolbar
Description

Firefox 1.507 and 2.0
Mac OSX 10.4.8

Scrollable combos (format, size) have no scrollbar. They can still be scrolled using the mouse wheel, but that is tricky on a iBook...

Works fine on windows.

See attached image.


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1586670&group_id=75348&atid=543653

#192 FCKeditor JavaScript API has Undo issues Bug Normal FCKeditor 2.5 Beta Core : Undo & Redo
Description

Goto the latest JavaScript API sample:
http://www.fckeditor.net/nightly/fckeditor/_samples/html/sample08.html

Problems in FireFox version 1.5.0.7:

Action: Press the 'Insert HTML' button.
Problem: No new Undo registered.

Action: Press the 'Set Editor Contents' button.
Problem: No new Undo registered.

Action: Press the 'Execute "Link" Command' button. And add a link.
Problem: Two Undo's are registered. The first undo undo's the link command, the second seems to do nothing.

Problems in Internet Explorer version 6.0.2900.2180.xpsp_sp2_gdr.050301-1519:

Action: Press the 'Insert HTML' button.
Problem: An Undo seems to be registered, but the button is still grayed out. If you try to edit something after this action, you will get two undo's.


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1579532&group_id=75348&atid=543653

#193 Hyperlink incorrect when pasting in Firefox Martin Kou Bug Normal FCKeditor 2.6 General
Description

When a hyperlink is pointing to the same site as the page in which FCKeditor is embedded, and it is pasted into the editor using ctrl-v, the url gets mangled.

For example:

  1. Go to http://www.fckeditor.net/demo in Firefox.
  2. Open Word or OpenOffice and create a hyperlink pointing to "http://www.fckeditor.net/demo" (or anything else on the http://www.fckeditor.net site).
  3. Copy this hyperlink and paste it into the editor.
  4. Now, click the source button. The url will have changed to "../../../../demo".

This doesn't happen when using the "Paste from Word" feature, which may be why it doesn't happen in IE. However, in the version of FCKeditor I have (2.2), it will happen in Firefox even if using "Paste from Word," but it still doesn't happen in IE.


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1570832&group_id=75348&atid=543653

#194 Implement the "Data Processor" Frederico Caldeira Knabben New Feature Normal FCKeditor 2.5 Beta General
Description

Implementation of the new "Data Processor", responsible for transforming the input and output data in the editor.

More info about it can be found here?.

#195 installation failure with the following text at the top of the screen: Bug Normal General
Description

Windows xp pro uploaded via joomla to a linux hosting acct at godaddy.com. Tried to install twice and got the same error. Using new joomla installation.

Warning: Invalid argument supplied for foreach() in /home/content/g/r/o/growing2188/html/includes/joomla.php on line 5142

Warning: Invalid argument supplied for foreach() in /home/content/g/r/o/growing2188/html/includes/joomla.php on line 5169

Warning: asort() expects parameter 1 to be array, string given in /home/content/g/r/o/growing2188/html/includes/joomla.php on line 5182 MA DB function failed with error number 2006 MySQL server has gone away SQL=SELECT id, title, module, position, content, showtitle, params FROM jos_modules AS m WHERE m.published = 1 AND m.position = 'header' AND m.client_id = 1 ORDER BY m.ordering SQL =

SELECT id, title, module, position, content, showtitle, params

FROM jos_modules AS m WHERE m.published = 1 AND m.position = 'header' AND m.client_id = 1 ORDER BY m.ordering

SQL error: DB function failed with error number 2013 Lost connection to MySQL server during query SQL=SELECT id FROM jos_mambots WHERE element = 'JoomlaFCK' SQL =

SELECT id

FROM jos_mambots WHERE element = 'JoomlaFCK'

#196 Ver 2.4: 'FCKlang' is not defined ... Editor not appear in IE Bug Normal General
Description

This happened when using IE6 for some of my users (not all). Cleared cached, problem still persist.

Firefox no problem.

#197 extra option to edit flashvars New Feature Normal CKEditor 3.0 General
Description

Dynamic movies which use external variables are passed with the Flasvars property of a flashmovie.

For now it can be manually entered as html code using the code-viewer in FCK, but not yet in WYSIWYG mode, which would be a great feature.

#198 Loading 'fck_editorarea.css' two times per instances Bug Normal General
Description

I don't think it's really a bug, but i sure think it should be solved someday.

I was trying to improve the loadingtime of fckeditor, since in a application I use 14 plugins. Studying the logfiles of my server i discovered that fck_editorarea.css is loaded two times per instance (in that specific CMS I use five instances, which makes 10 requests for fck_editorarea.css). With an empty cache the server gives a '200' at the first two request, at the other eight request the server generates a '304'. Well, although a '304' doesn't generate traffic, it still does take some time.

So i think it would be better that fck_editorarea.css is only asked for once per instance, instead of twice. I was looking at the code, but could not figure out why it's called two times.

By the way: this only happens with IE 6 and IE 7.

Regards, Koen Willems

#199 Ability to turn on and off the ability to upload files New Feature Normal FCKeditor 2.5 Beta File Browser
Description

From what I have seen in the documentation, I cannot seem to find a way to prevent a user from being able to upload a file gracefully.

What I would like to be able to do is set a flag or property @ runtime that would allow me to not only decide where the user is uploading their files to, but also if the ability is even offered to them.

#201 HR in input "source" completely destroys document structure Bug Normal General
Description

Hi all,

This can be easyly re-produced in current demo page (2.3.1). Please try the following:

  1. Create three <p>'s with bold title an text in editor view:
<p><strong>title1<br />
</strong>text1 text1</p>
<p><strong>title2</strong><br />
text2 text2</p>
<p><strong>title3<br />
</strong>text3 text3</p>
<p>&nbsp;</p>
  1. Then put <hr>'s at the beginning of title2 and title3 in editor view:
<p><strong>title1<br />
</strong>text1 text1</p>
<p><strong><hr />
title2</strong><br />
text2 text2</p>
<p><strong><hr />
title3<br />
</strong>text3 text3</p>
<p>&nbsp;</p>
  1. Then switch twice between source and editor view. As a result - the structure of document is completely destroyed:
<p><strong>title1<br />
</strong>text1 text1</p>
<p><strong></strong><br />
text2 text2
<p>&nbsp;</p>
<p><strong></strong>text3 text3
<p>&nbsp;</p>
<p>&nbsp;</p>
</p>
<hr />
title3<br />
</p>
<hr />
title2

Regards, /Alexander


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1552552&group_id=75348&atid=543653

#202 <HR> tag breaks source Bug Normal FCKeditor 2.4.3 General
Description

If html source is followed

<p>TEST1</p>
<p><hr /></p>
<p>TEST2</p>

Switch to source editing mode and WYSIWYG mode some times..

then the source of above is changed to below..

<p>TEST1</p>
<p>&nbsp;</p>
<hr />
<p>&nbsp;</p>
<p>TEST2</p>

<p>&nbsp;</p> tag is appended ...


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1339441&group_id=75348&atid=543653

#203 Instert Template FireFox Bug Normal General
Description

When you have a big template file (23000 characters) and you want too insert that template, I get an unresposive script error with FireFox 2.0.0.2. This goes both bad on Windows and Mac with FireFox. With IE it goes without any problem.

#204 JS error: adding hyperlinks with '%' Bug Normal General
Description
  1. select some text, and choose: add hyperlink.
  2. Choose <other> and type '%PERS_4%' (my case) and click OK
  3. now, select some other text, occuring later than the first text, and choose again: add hyperlink
  4. Choose <other> and type '%PERS_4%' and click OK
  5. Now there occurs a javascript error: line 108, char 2, "objet doesn't support this property or method", url: 'mydomain.com/admin/functions/editor/editor/fckdialog.html'. "Do you want to continue running scripts?"
  6. Choosing either yes or no results in wrong hyperlink code in the html source.
#205 IE: <br> removed from the end of paragraphs Martin Kou Bug Normal FCKeditor 2.5 General
Description

If you have the following code in the WYSIWYG

<p>line one</p> <p>line two</p>

If at the end of line one you try and insert a <br> it gets removed when you view the source. However if you insert it at the start of line two then it is fine.

This has been replicated in IE 6 & 7 Works fine in Firefox

#206 InsertHtml and ProtectedTags mismatch Bug Normal FCKeditor 2.4.1 General
Description

When using FCK.InsertHtml(var) method it automatically cleans up all custom html tags, though they are declared in Config's ProtectedTags option.

(Want to create a new command inserting <my_user username="Userlink">Username</my_user> to HTML-code, declared "my_user" as ProtectedTags, but it doesn't work out with FCK.InsertHtml method)

#207 Wrap an arbitrary html tag around a selection Frederico Caldeira Knabben New Feature Normal FCKeditor 2.5 Beta Core : Styles
Description

I would like to request a feature that would wrap html tags, with attributes, around a user's selection. For instance, if the user selects some text in the edit pane and presses a button, I want to wrap the selection in a span, with a class and title. We need this feature for adding instructor comments to student writing assignments.

I have found and tried several examples, and they work fine as long as the selection is just text. However, to be useful, the inserted tags need to work properly with other tags in the text.

A simple example, starting with this:

<p>Here's some text</p> <p>Here's some more text</p>

Now, if the user's selection starts with the word 'text' in the first paragraph, and ends with the word 'more' in the second paragraph, here's what I'd expect to see:

<p>Here's some <span class="foo" title="bar">text</span></p> <p><span class="foo" title="bar">Here's some more</span> text</p>

What I'm actually getting with the examples I've tried is something like this:

<p>Here's some <span class="foo" title="bar">textHere's some more</span> text</p>

I'd be happy to help work on this, if someone can help me out or point me in the right direction, or let me know anyone is already working on something similar.

#208 IE remove <br /> after any ending tag Bug Normal General
Description

I found out that doesn't matter what you do right after any closing tags (ex: </font>, </strong> ....) <br /> is removed. For Example: In Editor mode Typing following FCKEditor Give 'FCK' A <strong> tag, then right after K "SHIFT-ENTER" Now switch to Source View It should give this => <p><strong>FCK</strong><br>Editor</p> but is actually gives <p><strong>FCK</strong>Editor</p> without <br /> I tried with all different kinds of the closing tags ex: </font>, </em>, </u>.....

#209 Netscape 7.1: URL portions in links are replaced with $5 Bug Normal FCKeditor 2.4.1 General
Description
  1. Download Netscape 7.1 @ http://www.oldapps.com/netscape.htm
  1. Load editor at http://www.fckeditor.net/demo or http://klug.pbwiki.biz/FCKeditor/2_4/_samples/default.html
  1. Switch to source mode

The HTML has been corrupted:

<a href="http://www.fckeditor.net/$5">FCKeditor</a>

If you switch back to normal mode, and back again, it will keep adding $5$5. Sometimes, it will add $4 to the beginning of the URL and similar bugs.

#210 More Flexible Upload Directory Control New Feature Normal File Browser
Description

I am using FCK2.4 under cold fusion. I appreciate that one can control the image upload directory on a "per-session" basis and indeed have previously done just this.

However there are occasions when it is absolutely necessary to have each browser instance have its own unique image directory. Say, for example that a CMS manager operator opens one window (with image directory "a/") and then opens another with image directory "b/" to cut and paste some text from that window to the first one. On a session basis the window "b" will hijack the upload directory of window "a" and so any subsequent file activity on window will go to the wrong place. The user might not even notice.

I regard this as bizarre and unnecessary behaviour. I have modified FCK so that it behave the way I want and I am hoping my modifications will be integrated by someone who knows what they are doing in a more clinical and correct manner!!

This is what I did:

After creating the CF object with:

fckEditor = createObject("component", basepath & "FCKeditor");

I added:

fckEditor.Config["UserFilesPath"] = FCKUserFiles;

where FCKUserFiles is my control directory variable

In fckeditor.cfc line 205 ",UserFilesPath" added to end of lconfig. This is where it picks up the variable passed above. The result of this is that the html line (where my instance is called "pageText" is added to the form instance calling FCK. You can see my custom path.

<input type="hidden" id="pageText_Config" value="CustomConfigurationsPath=/fishing2006/FCKeditor/myconfig.js&amp; ToolbarStartExpanded=true&amp;UserFilesPath=fishing2006/userfiles/charters/69&amp; EditorAreaCSS=/fishing2006/include/site.css" style="display:none" />

Now it gets difficult because IE calls up the file browser with showModaldialog whereas gecko spawn another browser. I had to get the UserFiles data over to this window somehow. It then has to be passed to he actual file browser connector.

In editor/js/fckeditorcod_ie.js

On about line 92 (since this code is obfuscated) Look for the showModalDialog on about line 92 and then insert this line before it assuming that the letter A refers to the second argument showModalDialog. For the gecko version it is easier and handled later.

A.UserFilesPath =FCKConfig.UserFilesPath;

In editor/editor/fckdialog.html Line 37 add

var UserFilesPath (create variable)

and then line 45-47

UserFilesPath =  window.dialogArguments.UserFilesPath;
if (window.opener) UserFilesPath = window.opener.FCKConfig.UserFilesPath;
//(this is for gecko because on IE it uses a showModalDialog box and there is no window.opener)

In editor/_source/internals/fckdialog.js Line 90-91

if ( sKey == 'UserFilesPath' )	// My new userfiles path.
	FCKConfig[ sKey ] = sVal ;

In editor/filemanager/browser/default/browser.html Line 50

var sConnUserFilesPath =  window.opener.top.UserFilesPath;

Line 70,74

var sUrl = this.ConnectorUrl + 'Command=' + command ;
sUrl += '&Type=' + this.ResourceType ;
sUrl += '&UserFilesPath=' + encodeURIComponent(sConnUserFilesPath) ;
sUrl += '&CurrentFolder=' + encodeURIComponent( this.CurrentFolder ) ;

In editor/filemanager/browser/default/frmupload.html Line 38-39

sUrl += '&Type=' + resourceType ;
sUrl += '&UserFilesPath=' + encodeURIComponent(window.top.sConnUserFilesPath);
sUrl += '&CurrentFolder=' + encodeURIComponent( folderPath ) ;

In connectors/cfm/connector.cfm Line 46

<cfparam name="url.UserFilesPath" default="thisdirectoryhere">

Line 52-53

userFilesPath = URLDecode(url.UserFilesPath);
//	userFilesPath = config.userFilesPath; (commented out the original)

I hope you are all as confused as I was. Well you get the general idea. Pass the userfiles directory right from the form instance calling FCK up to the file browser connector. Believe it or not this works and I believe should be incorporated as an official change it is so useful!!

#211 Firefox: Unclosed <p> tag results in cursor not showing up and can't focus into editor Bug Normal FCKeditor 2.4.1 General
Description
  1. Load demo @ http://www.fckeditor.net/demo or from SVN
  1. Switch to source mode and enter the following:
<p>
  1. Switch back to normal mode

The cursor disappears. You can't focus into editor.

Do I win a prize for "shortest markup that causes a bug"? :)

#212 Paragraph/return marks Martin Kou New Feature Normal FCKeditor 2.5 Beta General
Description

It would be nice if you could show paragraph and/or new line marks, just like in Word.

#213 Enter key does not preserve formatting between paragraphs Bug Normal FCKeditor 2.4.3 UI : Enter Key
Description
  1. Select a text size (small in this)
  2. Type 'This is a test'
  3. Press Enter key
  4. Type 'to see if this works'

Upon the second paragraph the size selection gets lost. Below is the source this was created from above: <p><font size="3">This is a test</font></p> <p>to see if this works<font size="3"></font></p>

One note is that upon entering the second paragraph, the Size combo goes blank and the Format combo becomes Normal.

IMHO if the user manually selects a size it should have persistance until changed again.

#215 Insert Smiley does not include required alt attribute Bug Normal General
Description

When inserting a smiley, the editor does not include the required alt attribute. This does not impact functionality but causes html validation errors. Ideally it just needs to add alt="" when inserting.

#216 js error in fckeditorcode_ie.js Bug Normal General
Description

JS ERROR: Line 22 length is null or not an object fckeditorcode_ie.js

#217 Can't change the formating of text copied from other websites Bug Normal FCKeditor 2.5 Beta Core : Styles
Description

With any browser...

  1. Copy richtext from GMail that has been bolded or underlined.
  1. Paste it into FCKeditor
  1. Try to unbold or un-underline the text. You can't.

Note: The bug happens with other types of formatting as well.

This happens because GMail uses the style attribute instead of presentational tags like <b> or <u>. More and more websites are using CSS to markup text these days.

This is an important issue because it is very common for people to cut & paste richtext from a webpage into the editor.

Ideally, we'd convert and sanitize all paste operations.

#218 Word-formatted text fails to paste with Firefox for Mac Bug Normal FCKeditor 2.6 Plugin : Paste from Word
Description

Have tried to copy & paste from Word into FCKeditor numerous times using the toolbar button for "paste from Word" (and resulting popup window). All bold, italicized, and underlined text loses any/all of those attributes under Firefox 2.0.0.2 (current) for OS X. Problem does not occur with same browser version for Windows.

Steps to reproduce: Create a file in Word 2004 for Mac (v11.3, current) with text that has underlining, bold, and/or italicized text (or combinations thereof). Copy text, move to Firefox and try to paste with Word toolbar button in FCKeditor. A Demo file is attached. In addition, all paragraph indents are lost as well.

Working with Firefox 2.0.0.2 for OS X on a MacBook Pro with OS X 10.4.8 installed, and Word 2004 for Mac v11.3.

#219 IE: Can't paste Bug Normal FCKeditor 2.4.1 General
Description

With MSIE...

  1. Load editor @ http://www.fckeditor.net/nightly/fckeditor/_samples/default.html
  1. Paste some text (any text) - it doesn't work

(Is the above URL the nightly build from the new hosted-projects.com SVN, or the old sourceforge SVN?)

#220 Link/Anchor multiple paragraphs create buggy links Frederico Caldeira Knabben Bug Normal FCKeditor 2.4.3 General
Description

Original html:

<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>
<p>Testing</p>
<p>One Two Three</p>

Select all content and add an anchor or link, then the html is changed to:

<p><a name="anchor1">This is some <strong>sample text</strong>. You are using FCKeditor.</a></p>
<p><a href="javascript:void(0);/*1173334815335*/">Testing</a></p>
<p><a href="javascript:void(0);/*1173334815335*/">One Two Three</a></p>
#221 Background color tool does not work for table cells Bug Normal General
Description
  1. Create a table
  2. Click on a cell
  3. Apply background color using "Background color" tool in toolbar.
  4. No color is applied.

Using Firefox on Mac OS X.

#222 extraneous tags are left when selecting styles Frederico Caldeira Knabben Bug Normal FCKeditor 2.5 Beta Core : Styles
Description

When applying a predefined style from the dropdown box it leaves behind or adds tags that make the code invalid.

Say I have <h1>This is a heading</h1> and I want to change it to heading style_2.

I highlight 'This is a heading' and select 'heading style_2' from the dropdown box.

I expect to get <h1 style="style_2">This is a heading</h1>.

What I actually get is <h1><h1 style="style_2">This is a heading</h1></h1>

The same seems to happen with other tags so if I start with <p>This is a heading</p> I get <p><h1 style="style_2">This is a heading</h1></p> which obviously isn't valid.

If I go to source view and back again it will sometimes change to: <h1></h1> <h1 style="style_2">This is a heading</h1> which isn't quite as bad but still not ideal.

I've already taken out font sizing and font face from the user as this used depreciated tags and left an invalid mess of code behind. It'd be great to have a time when all code from the editor is always going to remain 100% valid. Thanks for supporting this mostly great project.

#224 Use pictures from another domain Task Normal File Browser
Description

Is it possible to browse through a directory on another domain, when searching for a picture? I want to use FCKeditor as base for my CMS system. I want the CMS to run on my server, but want the pictures to be hosted on the server of my customer.

#225 CF uploaded does not create directories as specified in the docs Bug Normal FCKeditor 2.4.3 Server : ColdFusion
Description

The docs clearly state that directories for user files will be created when needed. While this does work for the file browser, it does now work for the uploaded. To fix this you need to add this code:

<cfif not directoryExists(currentFolderPath)>

<cfdirectory action="create" directory="#currentFolderPath#"/>

</cfif>

after this line of code on about line 93 of the upload.cfm file in /filemanager/upload/cfm/

<cfset currentFolderPath = userFilesServerPath & url.type & fs>

Please note that this is probably a quick fix and will create the whole directory structure if non existant. For example if you accidentally put 'useFiles' instead of 'Userfiles' it will create the folder 'useFiles'. This is the nature of the cfdirectory tag as it will create the whole path. If you want it to merely create the directory in the last of the list (for example the 'Image' in 'Userfiles/Image' I can create that code for you and have it throw and error if the 'UserFiles' directory is non existant.

I however find this needless since the directory structure should not be dynamic (with the exception of user directories, which i like the method I used since it only created the user directory when that user stores a file and doesn't force me to create a user directory when that user is created).

#226 <cf tags are not removed by the editor, neither are ASP (<%) or (<asp:) tags removed Bug Normal General
Description

I see that in the config file you can set protected sources like php and asp. I run my site on a CF server and need to limit the users from putting <cf tags in the editor. Perhaps a good fix would be to allow you to specify (using regex) tags you don't want. Basically the reverse of protected sources.

During my testing I noticed that though in the config it has commented out sections for the asp and asp.net tags, it also allowed them into the page.

Though for database stored pages, this wouldn't be a huge bug (at least on a CF server since CF wouldn't evaluate it) I am currently using this to store pages directly to files and need to have it strip out all CF code.

On a side note, it does seem to be working for php and stripping out that ('<?' or '<?php').

If you need to know, All CF tags start with '<cf' so stripping them out shouldn't be a problem using regex.

#227 Problem with Filemanager in PHP Bug Normal File Browser
Description

I have tested the editor and everything is ok.

As I tried to make a link an for this, to upload a file, the system said: "The server didn't send back a proper XML response." If I try to create a new folder, the same message appears.

I have tested on my "local server" with XAMP under windows XP and also under my Webspace (hosteurope).

Can anybody help me, because I need the function for an project work at school!

#229 Safari: Dragging links appends style attribute to <a> Bug Normal Safari Compatibility General
Description

When dragging a linked text, the following attribute is appended to the <a> element:

style="color: rgb(0, 0, 255) -webkit-text-decorations-in-effect: underline; "
#230 Change the default <br> when pasting plain txt with CRLF New Feature Normal General
Description

Sirs, I may seem a pest after my request for more flexible instance directory control but my bosses also asked me to change the paste text behaviour from inserting <br> for line breaks to in this case a <p> or maybe a <div>

I added this to FCKConfig.js (v2.4)

FCKConfig.EntityForCR = "<p>";

And then modified the following files:

fckeditorcode_ie.js approx line 31

FCKTools.HTMLEncode(A).replace(/\n/g,FCKConfig.EntityForCR)

fckeditorcode_gecko.js approx line 34

where it says FCKTools.HTMLEncode just after that tack this at the end A=A.blah bit

A=A.replace(/\n/g,FCKConfig.EntityForCR);return A;

Heaven knows it works! Is this a good idea? Probably not!!

Julian

#231 Using <p><center></p> causes extra spacing in Firefox Bug Normal FCKeditor 2.4.1 General
Description

Let's say you have this code:

<p>text text text text</p>
<p><center>text text</center></p>
<p>text text text text</p>

Every time you save the code, it adds

<p>&nsbp;</p>

before and after the

<p><center>text text</center></p>

So if I save it 5 times, you end up with this:

<p>text text text text</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><center>text text</center></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>text text text text</p>

Removing the <center> tag fixes the problem.

#232 New code for PHP classe of FCKeditor New Feature Normal Server : PHP
Description

Hello,

This ticket is here, for propose a new version of classe for PHP 5.x. This new classe using singleton, less ressource asked, and an implementation more easy in our script file.

We can to speak about it with that ticket and check how to ameliorate it.

The new code :

<?php 
/*
 * FCKeditor - The text editor for internet
 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
 * 
 * Licensed under the terms of the GNU Lesser General Public License:
 * 		http://www.opensource.org/licenses/lgpl-license.php
 * 
 * For further information visit:
 * 		http://www.fckeditor.net/
 * 
 * "Support Open Source software. What about a donation today?"
 * 
 * File Name: fckeditor.php
 * 	This is the integration file for PHP.
 * 	
 * 	It defines the FCKeditor class that can be used to create editor
 * 	instances in PHP pages on server side.
 * 
 * File Authors:
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
 * Modification Authors : 
 * 		Alexandre Joly (webmaster@game-anime.com)
 * 		Modification description : Using Singleton
 * 		For PHP > 5.x		
 */

class FCKeditor
{
	private static $Config ;

	private function __construct(){}

	static function CreateHtml($InstanceName, $BasePath='/fckeditor/', $ToolbarSet = 'Default', $Value = '', $Width = '100%', $Height = '200')
	{
		self::$Config = array();
		$HtmlValue = htmlspecialchars( $Value ) ;

		$Html = '<div>' ;
		
		if ( self::IsCompatible() )
		{
			if ( isset( $_GET['fcksource'] ) && $_GET['fcksource'] == "true" )
				$File = 'fckeditor.original.html' ;
			else
				$File = 'fckeditor.html' ;

			$Link = $BasePath.'editor/'.$File.'?InstanceName='.$InstanceName;
			
			if ( $ToolbarSet != '' )
				$Link .= '&amp;Toolbar='.$ToolbarSet;

			/* 
			 * First field : Render the linked hidden field. 
			 * Seconde field : Render the configurations hidden field.
			 * Third field : Render the editor IFRAME.
			 */
			$Html .= 
			'<input type="hidden" id="'.$InstanceName.'" name="'.$InstanceName.'" value="'.$HtmlValue.'" style="display:none" /> 
			<input type="hidden" id="'.$InstanceName.'___Config" value="" '.self::GetConfigFieldString().' style="display:none" />
			<iframe id="'.$InstanceName.'___Frame" src="'.$Link.'" width="'.$Width.'" height="'.$Height.'" frameborder="0" scrolling="no"></iframe>';
		}
		else
		{
			if ( strpos( $Width, '%' ) === false )
				$WidthCSS = $Width . 'px' ;
			else
				$WidthCSS = $Width ;

			if ( strpos( $Height, '%' ) === false )
				$HeightCSS = $Height . 'px' ;
			else
				$HeightCSS = $Height ;

			$Html .= '<textarea name="'.$InstanceName.'" rows="4" cols="40" style="width: '.$WidthCSS.'; height: '.$HeightCSS.';">'.$HtmlValue.'</textarea>';
		}

		$Html .= '</div>' ;
		
		return $Html ;
	}

	private static function IsCompatible()
	{
		$sAgent = $_SERVER['HTTP_USER_AGENT'] ;

		if ( strpos($sAgent, 'MSIE') !== false && strpos($sAgent, 'mac') === false && strpos($sAgent, 'Opera') === false )
		{
			$iVersion = (float)substr($sAgent, strpos($sAgent, 'MSIE') + 5, 3) ;
			return ($iVersion >= 5.5) ;
		}
		else if ( strpos($sAgent, 'Gecko/') !== false )
		{
			$iVersion = (int)substr($sAgent, strpos($sAgent, 'Gecko/') + 6, 8) ;
			return ($iVersion >= 20030210) ;
		}
		else
			return false ;
	}

	private static function GetConfigFieldString()
	{
		$sParams = '' ;
		$bFirst = true ;

		foreach ( self::$Config as $sKey => $sValue )
		{
			if ( $bFirst == false )
				$sParams .= '&amp;' ;
			else
				$bFirst = false ;
			
			if ( $sValue === true )
				$sParams .= self::EncodeConfig( $sKey ) . '=true' ;
			else if ( $sValue === false )
				$sParams .= self::EncodeConfig( $sKey ) . '=false' ;
			else
				$sParams .= self::EncodeConfig( $sKey ) . '=' . self::EncodeConfig( $sValue ) ;
		}
		
		return $sParams ;
	}

	private static function EncodeConfig( $valueToEncode )
	{
		$chars = array( 
			'&' => '%26', 
			'=' => '%3D', 
			'"' => '%22' ) ;

		return strtr( $valueToEncode,  $chars ) ;
	}
}

?>
#233 JScript implementation of FCKEditor New Feature Normal Server : ASP
#234 Microsoft Asp.net 2.0 AJAX UpdatePanel Bug Frederico Caldeira Knabben Bug Normal FCKeditor 2.6.3 Server : ASP.Net
Description

Hi,

I'm made a basic asp.net 2.0 Form with a FormView to edit a simple "text". -> My formview works with a FckEditor or a TextBox editor in it.

If I surround the formview with an UpdatePanel, Then It doesn't works anymore. The Text Inside the FckEditor is not recorded into the database. Neither when using insert nor update method. If I replace the FckEditor by a TextBox, then it works well again.

Does FckEditore don't support Microsoft Asp.net AJAX, or UpdatePanels, or I have to do something to the FckEditor to support it?

Thanks for helping me...

#235 FF: Toolbar icons are now displayed correctly on Mac OS X Bug Normal General
Description

The Images on Firefox for Mac OS X don't work. See attached screenshot. It was taken from http://www.fckeditor.net/demo/.

The system used is
Firefox 1.5.0.4 on Mac OS X 10.3.9 (7W98)


Moved from SF:
https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1523869&group_id=75348

#236 Support for shared toolbar in a different frame Martin Kou Bug Normal FCKeditor 2.5 Beta General
Description

Hello,

There are some issues when we use shared toolbar in a separate frame, could you please have a look at that and see if you can fix or add support for those?

We use toolbar location: "Out:parent.frames['edittoolbar'](FCKToolbar)" and <div id="FCKToolbar"></div> within the target frame

Everything works fine, but:

In Firefox, the popup dialog (like color selection) does not overlap the frame border and it is useless for that reason. In IE works fine. We have made the quick fix to support displaying the dialogs within different frame and I think it would be wise to include that in your code, here are the changes:

In function: var FCKPanel = function( parentWindow ) at classes/FCKPanel.js change

this._Window.document.body.appendChild( oIFrame );

to

if ( (FCKConfig.PopupWindowFrameName != null) && (FCKConfig.PopupWindowFrameName != ) && (this._Window.parent != null) && (this._Window.parent.frames[FCKConfig.PopupWindowFrameName] != null) )

this._Window.parent.frames[FCKConfig.PopupWindowFrameName].document.body.appendChild(oIFrame);

else

this._Window.document.body.appendChild( oIFrame );

And add the configuration setting FCKConfig.PopupWindowFrameName as a string which determines target frame name for the popup windows.

The second issue is that in IE displaying the very same popup dialogs it seems like the editor area is loosing the focus. This seems to occur ramdomly, but mostly the focus is lost and the chosen format is not applied. This works fine in FF, focus is kept over there.

I would be really glad if you could have a look at the whole "different frame toolbar" problematics, I am sure it would actually help many users using your product.

Thank you for your time, your product is great.

Best regards Martin Hejtmanek

  • Kentico Software
  • Kvetna 4, 603 00 Brno, Czech Republic
  • Phone: +420 544 527 146
  • U.S. Toll Free: 1-888-225-2767
  • E-mail: martinh@…
  • WWW: http://www.kentico.com
  • we help you deliver better web sites
#237 BaseHref doesn't appear to be working as expected (allowing full URL instead of relative) New Feature Normal General
Description

By my understanding, adding BaseHref would allow a default, alternative URL to precede a file link. I suspect I've misunderstood I've been through 20 pages of google searches to find how to create a full URL for an image address, but with no luck. In some cases a user will NEED to include a full URL (perhaps they, as I, will want to format html emails with images?)

In the end the only way I could do this was to modify editor/filemanager/browser/default/frmresourcelist.html - line 87 from: window.top.opener.SetUrl( fileUrl ) ; to: window.top.opener.SetUrl( "http://www.mydomain.co.uk" + fileUrl ) ;

I really think you should set up a forum outside of sourceforge. There are a lot of people looking for help out there and there's no definitive place to get it. If there is, it doesn't work well in google :)

#238 Case insensitve onClick for popup-windowns Bug Normal FCKeditor 2.4.1 General
Description

Hi would be nice if the regex in 'fck_link.js' not only match 'onClick', but also on 'onclick'. I use to clean the prodced HTML-code with HTML Tidy that changes all attributes to lowercase.

Here the part that could be changed: Accesible popups oRegex.OnClickPopup = new RegExp() ; oRegex.OnClickPopup.compile( "
s*on[cC]lick=\"
s*window.open
(
s*this
.href
s*,
s*(?:'([
']*)'|null)
s*,
s*'([']*)'
s*
)
s*;
s*return
s*false;*
s*\"$" ) ; or maybe make the regex case insensitive at all.

Thanks for your work. Stefan

#239 <xml> in html make IE truncate paragraphs (solution included) Bug Normal FCKeditor 2.4.3 General
Description

Example: IE6 or IE7, go to http://www.fckeditor.net/demo, Source, insert "<xml>toto</xml>" before "You", Source, Source.

Result: Everything has disappeared after the newly-introduced "<xml>" (well, it was transformed to an "<!-- Element not supported - Type: 9 Name: #document-->").

Analysis: While generating the DOM for something like "<p><span>s</span><xml>x</xml><span>s</span></p>", IE creates a document node in which it incorrectly includes, not only "<xml>", but its nextsiblings too. Thus FCK receives it as "<p><span>s</span><!-- Element […] --></p>".

Solution: Filter out those. On line 299 of internals/fck.js (revision 203), add "|XML" to sTags.

Why, oh why: Because we had a Word-generated HTML that included some "<xml><o:OLEObject>[…]</o:OLEObject></xml>", sometimes embracing the OLE into IE-specific conditional comments.

#240 "Remove Format" doesn't remove styles Bug Normal Core : Styles
Description

I found an ennoying bug with IE6 using css to format the text

To reproduce it, go to the official demo page http://www.fckeditor.net/demo select "This is some sample text" and apply the 'title' style, click elsewhere. Come back to this text, try to 'remove format' or change the style to anything else: none of the below are working.

when you change the style it keeps adding <span > tags around the selected text.

Indeed it's workign perfectly with Firefox, it seems to be a IE bug only. (Unfortunately most of my clients are Microsoft addict..)

#243 Form Empties Contents (due to nested <p>'s) Frederico Caldeira Knabben Bug Normal FCKeditor 2.5 Beta UI : Enter Key
Description

Here's an issue that appeared to be fixed in 2.4 after Frederico noticed it, but it is back to needing repair in 2.4.1. I was JUST getting ready to put out the new version... :)

  1. Go to the demo. http://www.fckeditor.net/demo
  2. Press ENTER after the text that is already in the editor.
  3. Click the form button to add a form container (any data is fine).
  4. Put the cursor inside the form container and add a text field (any data is fine)
  5. Press ENTER after the text field.
  6. Now click the source button off and on twice to watch the form container "shake out" the element.

I believe it has to do with the form being creatd inside <p> tags and then the form element being placed inside nested <p> tags once ENTER is pressed after it. So when the <p> nesting is being repaired (to make valid) by the editor, it takes the contents with it...not good.

I tried to look up the 2.4 testing forum to find my original post and Frederico's fix post, but I couldn't find the thread (removed?).

Anyway, please, please, repair that again, Frederico.

Thank you, Tom

#244 ID in form fields for validation, or an alternative method New Feature Normal General
Description

Hi, I'm currently trying to come up with a generic method to add validation to forms created in my cms with fckeditor. I've found many scripts that are great like this one, but work by creating a hidden field that lists the names of the fields requiring validation. This is all fine except the javascript finds the hidden field by ID, which can't be added using the standard fckeditor interface.

I've been trying to find a script that can find the hidden field by name (that IS editable by fckeditor) but I can't find one and don't know enough javascript to manipulate a script myself. I understand the getElementById() and getElementsByName() functions work differently, otherwise I'd just interchange all the instances in the script.

Ideally, can anyone recommend their way of creating forms with validation in FCKeditor. If not is there any chance you could add the ID field to the hidden field dialogue in the next release please?

Many thanks

#245 "14 March 2007: quick fixes and checked throught" thai lang update (th.js) Bug Normal FCKeditor 2.4.1 General
Description

"14 March 2007: quick fixes and checked throught" thai lang update (th.js)

Latest UPDATE "quick fixes and checked throught" 14 March 2007 12.17 Chiang Mai Thailand

#246 EnterMode=div can lose tags in Firefox Bug Normal FCKeditor 2.5 Beta Core : Styles
Description

Browser: Firefox 2.0.0.2

The following causes <div> tags to be lost when EnterMode=div and text to be corrupted (eg whitespace is lost and lines are joined together)

  1. Go to http://www.fckeditor.net/nightly/fckeditor/_samples/default.html and switch to the "Enter key behaviour" editor
  2. Switch "When [Enter] is pressed" to "Create new <div>"
  3. Type a<enter>b<enter>c<enter>
  4. Go to view source mode. Note lines are correctly created with divs (eg. <div>a</div>, etc)
  5. Switch back to wysiwig mode
  6. Ctrl-A to select all
  7. Click the "center text" toolbar icon (nothing happens)
  8. Go to view source mode. Note that there is only 1 div, and after "a" there is a <br />, and b and c are now together with no tags between them
  9. Go back to wysiwyg mode. Note that b and c are now together on the same line with no spacing between them.

It basically seems that some editor commands completely break the <div>'s. From some testing this appears related to alignment (left/right/center/justify) and changing to list items/back from list items.

#247 IE : Delete all breaks EnterMode=div Martin Kou Bug Normal FCKeditor 2.5 Beta UI : Enter Key
Description

Browser: IE 7.0.5730.11

EnterMode=div does not appear to have any effect on IE7, instead using EnterMode=p instead.

  1. Go to http://www.fckeditor.net/nightly/fckeditor/_samples/default.html and switch to the "Enter key behaviour" editor
  2. Switch "When [Enter] is pressed" to "Create new <div>"
  3. Type a<enter>b<enter>c<enter>
  4. Go to view source mode. Note that each letter is surrounded by <p>a</p>, no <div>'s in sight
#248 Terminator backspace Bug Normal FCKeditor 2.4.1 UI : Enter Key
Description

Summary: Backspace conglomerates blocks, without being smart.

Example: http://www.fckeditor.net/demo Source <div><br/><h1>Machin</h1></div> Source click before the « M » backspace

Effect: « Machin » disappears

Cause: fckenterkey.js, line 202 (revision 203): when hitting backspace, except in some rare cases, the current element is merged within the previous one. In the example "crasher", <div><br/><h1>Machin</h1></div> became <div><br>Machin</br></div> oops!

Same with an image, and so on.

Priority: if not for the line asking not to play on Priority on bug reports, I would have set this to High.

#249 Normalize the order of tags' attributes New Feature Normal General
Description

Open up an instance of the editor in Firefox and switch to SOURCE view.

Paste the following into the source window (overwriting anything in there):

<img id="resort_main_image" height="200" alt=""
    width="260" border="1" name="resort_main_image"
    src="full_10.jpg" />

Click OK to close the source window.

Open the SOURCE view again. Notice it has rearranged the ID and ALT attributes within the tag.

Click OK to close the source window, and then open it again.

The IMG tag is changed again, with the attributes in a different order. Rinse, repeat. It's always a different order.

This is causing us trouble because we are unable to compare submitted text against the database to check if it has been changed or not. There's no way to perform a "diff" on the page, as it will always be different in Firefox if it includes an image tag.

IE reorders it once, but then sticks with the ordering.


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1430330&group_id=75348&atid=543656

#250 ignoreSpaceTextOnly ignored? Task Normal General
Description

Summary: ignoreSpaceTextOnly seems to be ignored in GetPreviousSourceElement and GetNextSourceElement

Analysis:

if ( ignoreSpaceTextOnly && currentNode.nodeType == 3 && currentNode.nodeValue.RTrim().length > 0 )
                break ;
[…]
return null ;

So, when hitting some text with ignoreSpaceTextOnly, Get…SourceElement will return null. Shouldn't it return currentNode instead of break (that is, when ignoreSpaceTextOnly == true, do not ignore what is not SpaceTextOnly)?

Problem: This function is only called in backspace/delete handling, and it doesn't harm there (it returns no previoussourceelement, so the event gets passed to the browser, which handles the key correctly). On the other hand, making the behaviour match what the parameter's name suggests breaks a lot of things.

Solution: Rename the variable to something significant?

#251 Inconsistent Tab behavior Bug Normal General
Description

The Tab key doesn't seem to behave as expected. In FF it moves the text 2 characters. In IE, the Tab key actually cycles between the web page elements and has no effect in the editor itself.

With FF 2.0.0.2

  1. Go to http://www.fckeditor.net/nightly/fckeditor/_samples/default.html
  2. Create a second line of text underneath "This is some sample text. You are using FCKeditor." with 1234567890
  3. Cursor to beginning of "This is some sample text. You are using FCKeditor."
  4. Press Tab key. The line "This is some sample text. You are using FCKeditor." shifts to right 2 spaces to position above '3' in second line.
  5. Source does reveal "<p>&nbsp;&nbsp;&nbsp; This..."

With IE 7.0

  1. Go to http://www.fckeditor.net/nightly/fckeditor/_samples/default.html
  2. Cursor to beginning of "This is some sample text. You are using FCKeditor."
  3. Press Tab Key. Cursor moves to Submit button
  4. Pressing Tab again cursor cycles to next html element on sample page and so on

Additionally with FF, the FCKConfig.TabSpaces setting seems to be ignored. I duplicated the above behavior with 2.4.0 on my site. The above behavior has FCKConfig.TabSpaces = 0;. Setting FCKConfig.TabSpaces = 8; makes no difference. You still get "<p>&nbsp;&nbsp;&nbsp; This..."

#252 Pasting invalid markup generate empty paragraphs with IE Bug Normal CKEditor 3.0 General
Description

I have a customer experiencing problems pasting html code generated by FrontPage into the editor. Taking the following snippet:

<span style="background-color: #FFFFFF">
<div align="center">
<p align="justify"><span style="FONT-WEIGHT: 400"><font size="1"><u><strong>
<font face="Tahoma" color="#cc0000" size="2">Attention</font></strong></u><strong><font face="Tahoma" color="#cc0000" size="2">:</font></strong></font><font size="2" face="Tahoma"> </font>
<font style="MARGIN: 0px" face="Tahoma" size="2"><span style="FONT-WEIGHT: 400; BACKGROUND-COLOR: #ffff00"> Avoid The </span><span style="FONT-WEIGHT: 700; BACKGROUND-COLOR: #ffff00">Costly-Mistakes</span><span style="FONT-WEIGHT: 400; BACKGROUND-COLOR: #ffff00"> That Beginning Real Estate Investors Make When Buying Minnesota Investment Property!</span></font><font face="Tahoma" size="2">
</font> </span></p>
<p align="center"><font size="1"><font color="#CC0000">
<span style="font-weight: 400"><font face="Tahoma" size="4"><strong>&quot;Free 
Investor's Guide Reveals Everything <u>You</u> <em>Need <br>
To Know</em> About Investing In Minnesota Real Estate!&quot;&nbsp;</strong></font></span></font><font style="FONT-SIZE: 1pt" face="Tahoma" color="#283193"><br>
&nbsp;</font><span style="FONT-WEIGHT: 400; FONT-STYLE: italic"><font style="FONT-SIZE: 2pt" face="Tahoma">
</font></span></font></p>
<p align="justify"><font face="Tahoma" size="2">&quot;The Key To <b>Building Wealth</b> And<b> Preparing For Retirement</b> 
By Investing In Minnesota Real Estate -&nbsp;Depends On 
<b>Where</b> You Invest And <b>How</b> <b>Effectively</b> You Manage Your Properties...&quot;&nbsp;</font><br>
<font size="1"><span style="FONT-WEIGHT: 400"><strong style="font-weight: 400">
<font color="#000000" size="2" face="Tahoma">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ~&nbsp;Alex Anderson - Minnesota Investment Property Specialist</font></strong></span></font><font size="2" face="Tahoma">
</font></p>
  1. With IE (7.0) paste above code in source mode
  2. Switch to wysiwyg mode. Text is fine.
  3. Go to source. Beginning source is
    <p><span style="background-color: #ffffff">
    <div align="center">
    <p align="justify">
    
  4. Switch out of source mode. Text still looks right.
  5. Go back to source mode. Beginning source is now
    <p>
    <p>&nbsp;</p>
    </p>
    <div align="center">
    
  6. Switch out of source mode. Text is now 2 lines down
  7. go back to source mode. Beginning text is
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <div align="center">
    
  8. Wysiwyg now shows text 6 lines down.
  9. Toggling back and forth stops the behavior with
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    

With FF 2.0.02 Performing the above tests with FF works correctly. Source reveals:

<p><span style="background-color: rgb(255, 255, 255);">
<div align="center">

with no bizarre behavior as with IE. One small issue though is the above code in FF has the wysiwyg text starting with one blank line at the beginning. With IE in step 2 above, the text was flush at the editor top.

Good one, huh? :-)


                    
#253 Styles don't become active when applied to collapsed selections Bug Normal FCKeditor 2.5 Beta Core : Styles
Description

Good news is that Font, Size, and Format work correctly now in both IE and FF.

The Style selection is having problems.

Firefox

  1. Select Style and type text. Style not used.
  2. Press enter (new <p>), select a style, type text, style is not used.
  3. Put cursor in middle of line that has text.
  4. Type some more text. Style is not used.
  5. Press Enter. Style is used for new paragraph, but only for newly typed characters.

IE

With IE it still doesn't work, but it doesn't work differently. The only time you can get the Style applied is that actually highlight text then apply a style.

  • If you highlight text in the middle of a line, only that text has the style applied. All new text uses previous normal format
  • If you highlight text at the end of a line, that text applies the style, but additionally, if Enter is pressed, the following paragraph uses the new Style.
#254 FF: IgnoreEmptyParagraphValue is not honored Bug Normal FCKeditor 2.4.1 General
Description

When running the editor under FF, it starts with <p>&nbsp;</p> in the code.

The same problem occurs if deleting all text.

FF

  1. In wysiwyg mode, type some text.
  2. Select All (Ctrl+A).
  3. Press Delete (Text is gone)
  4. Go to source mode, <p>&nbsp;</p> is present

IE

  1. Perform steps 1-3 above
  2. Go to source mode, source is empty

One final note, with FF, if you delete all the text in source mode and then switch to wysiwyg mode and back to source mode, the source is empty.

#255 IE with a <meta> not in a <p> tag wipes out editor Bug Normal FCKeditor 2.4.1 General
Description

This is a stupid bug but I thought I'd report it.

Inserting a meta tag in IE wipes out the document. FF works fine.

  1. Enter some text
  2. Go to source mode
  3. At the top of the editor enter
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    
  4. Go to wysiwyg mode, text is there
  5. Go back to source mode, all that exists is <p><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"></p> Everything else is wiped clean.

If you perform the above but put a </meta> right after <meta...> in step 3, FCK works correctly. It encloses the <meta> in <p>, strips the </meta> and everything else is there.

This problem was found when pasting output from FrontPage (either directly into the wysiwyg mode or into source mode). With FireFox it handled this correctly. Note: that FrontPage also includes <head>, <title> and <body> tags that FCK correctly handled and stripped out.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Note: See TracQuery for help on using queries.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy