Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (701 - 800 of 11754)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Ticket Summary Owner Type Priority Milestone Component
#256 inputting complete web page Bug Normal General
Description

I am having trouble inputting a complete html page in source mode (including <html> and <body> tags) and then switching back to design mode. When I do that I am losing almost all the code. Can this be fixed?

#257 Editor truncates data Bug Normal FCKeditor 2.4.1 General
Description

I edited some HTML and submitted the form. When I went back to edit again, 95% of the data was gone. Fortunately I had it on the clipboard. I pasted it in, and this time clicked the Source button to see the rendered version -- and again it got truncated. I even saw the correct data briefly flash and then FCKEditor destroyed it again. So yes, this is repeatable. I am using the interface supplied by CityMax.com, and have no idea what version it is or how to find out.

#258 ASP Boolean type localization bug Bug Normal FCKeditor 2.4.3 Server : ASP
Description

On non-english ASP servers the String representation of boolean types is localized, for example, the hungraian string representation of True is "Igaz" and False is "Hamis". This produces several bugs, for example in the Demo you can't select other language, only the Dafault. Because of this, Function EncodeConfig in fckeditor.asp should be corrected to something like this:

Private Function EncodeConfig( valueToEncode )
	        
        If vartype(valueToEncode)<>vbBoolean then 
          EncodeConfig = Replace( valueToEncode, "&", "%26" )
          EncodeConfig = Replace( EncodeConfig , "=", "%3D" )
	  EncodeConfig = Replace( EncodeConfig , """", "%22" )
	Else
          If valueToEncode=True Then
            EncodeConfig="True"
          Else
            EncodeConfig="False"
          End If 
        End if                           

      End Function

Best Regards
falco
falco1@…

#259 Easy way to change upload/browse fold New Feature Normal File Browser
Description

Hi,

i use fckeditor for my website and many users can connect to add articles but i dont want them to use the same fold

I work in php, here are the change i did..

in file fckconfig.js

FCKConfig.fckFold = FCKURLParams[ 'fckFold' ];

Browsers link become :

[blablabla]?Connector=connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension + '?fckFold=' + FCKConfig.fckFold;

In fckeditor_php4 & 5 :

if ( $this->fckFold != ) $Link .= "&amp;fckFold={$this->fckFold}" ;

before Render the linked hidden field.

In the filebrowser upload and download

config.php : $ConfigUserFilesPath? = '/Imgs/' . $_GETfckFold? ;

When i call the fckeditor :

include("../FCKeditor/fckeditor.php"); $oFCKeditor = new FCKeditor('article') ; $oFCKeditor->BasePath = '../FCKeditor/' ; $oFCKeditor->Value = $buffer; $oFCKeditor->Height = 500; $oFCKeditor->fckFold = $fck_fold; $oFCKeditor->Create() ;

$fck_editor is a md5 value and in the Imgs fold, i got many fold created with 32 chars :)

I hope you'll use it

THX for your job

Sorry for my english i'm french ;)

#260 Friendlier Errors on Image Upload New Feature Normal File Browser
Description

Uploading a file that is invalid gives the error 'Invalid File'. The error needs to be more meaningful i.e. the file is too big or the file is of the wrong type etc

#261 FCKeditor doesn't escape URLs for whitespaces Bug Normal FCKeditor 2.4.3 File Browser
Description

FCKEditor doesn't escape the URL when you insert and image, resulting in a

<img src="http://server/file with spaces.png" />.

Many web clients don't escape the URL for us and, as consequence, get a 404 for the image (like evolution viewing an HTML mail, with images enabled).

Little patch follows.


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

#262 EnterMode br doesn't work right with lists Bug Normal UI : Enter Key
Description

When you set EnterMOde to br then lists don't work. When you hit enter it inserts a list item before instead of after the last item. It's also impossible to finish the listview.

I tested this with FCKeditor 2.4 in Firefox 2.0.0.2

#263 error using the editor in internet explorer Bug Normal General
Description

I have implemented the editor on a site which works fine in firefox but in internet explorer it says unknown toolbar item "undefined". I thought i may have edited the config file incorrectly so i tried the download samples and the same error comes up.

#264 IE: Memory leak Bug Normal CKEditor 3.0 General
Description

Load the editor, with IE 6 on Windows XP. The memory usage of IE (indicated by windows task manager) continuously grows each page is refreshed, unless close the browser and restart it again. IE 6 will consume 600-800KB memory with each page refresh. This behavior can be reproduced

#265 Add attribute to fckstyles.xml to indicate that a style should "not" be wrapped New Feature Normal FCKeditor 2.5 Beta Core : Styles
Description

This is from the "styles configuration" page of the wiki => "We can also combine many styles over the same selection."

Wouldn't it be useful to have an extra attribute of the <Style> XML tag in the fckstyles.xml (or your custom fckstyles.xml) that would control whether that style would allow nesting or whether it would "replace" any other style applied to the line (like the fontformat does). eg, <Style name="Title H3" element="h3" replace="true" />

Thankfully since our organisation site does not use classes or other tag attributes much, I actually ended up using the fontformat list entirely in lieu of the styles, even though it's more basic. I found the nesting of the styles a problem rather than useful feature for our site; and although I discovered you can un-apply styles by reselecting them, I'm not sure that is very intuitive.

#266 Rowspan function Bug Normal General
Description

When creating a table and you choose to merge rows together in one column the software adds a new column at the end of the table with the top cell not useable. No extra column should be added

#267 <table> must be created outside <p> Bug Normal FCKeditor 2.5 Beta General
Description

When you create a table the software puts <p> tags around it which is not valid xhtml and thus the documents that are created fail validation checks

#268 & in Javascript being converted to ' Bug Normal FCKeditor 2.5 Beta General
Description

If you enter a link such as the following in the source view:

<a title="My Page" onClick="pop('/page?id=212&do=something', 372, 445); return false;" href="#">Test</a>

and then goto the preview mode and back to the source, you will find that the editor has changed the link to the following:


<a title="My Page" onClick="pop('/page?id=212'do=something', 372, 445); return false;" href="#">Test</a>

#269 Javascript error: FCKTools.GetElementWindow(A) has no properties Martin Kou Bug Normal FCKeditor 2.6 General
Description

Javascript error: FCKTools.GetElementWindow(A) has no properties fckeditor/editor/js/fckeditorcode_gecko.js Line: 80

Are using the Toolbar "out" setting.. works if it is not "out". Using firefox 2.0.0.2
Example: http://agda.strangeways.se/demo/
click on admin and log in as: root/toor

Then click on the pen(edit) icon.

#270 Delete Files Option New Feature Normal General
Description

Maybe you can to include a Delete Files Option for the resourses browser. Sometimes, when it upload files for error, we need to delete those files to clean the hosting space.

#271 Avoid using the deprecated <u> tag for underline Frederico Caldeira Knabben New Feature Normal FCKeditor 2.5 Beta Core : Styles
Description

The <u> tag was deprecated in the HTML 4.01 spec and is not supported at all by the XHTML strict DTD, therefore the claim on the homepage that FCK editor "Outputs XHTML 1.0" is false.

To reproduce:

  1. enter a line of text in FCK editor
  2. Underline the text by clicking on the "U" button.
  3. Verify that outputted text is formated using the <u> tag.
#272 Wrong Toolbar Height on multiple Instances in IE6 and IE7 Bug Normal FCKeditor 2.5 Beta UI : Toolbar
Description

If you use Multiple Editor Instances with one Toolbar the Toolbar is only one Row high. Even if there are more Elements. This only occurs in IE (tested on 6 and 7). Firefox is fine. It was working fine in Internet Explorer before FCK Version 2.4. You can easily reproduce it with the html-sample Files _samples/html/sample11.html and _samples/html/sample10.html

#273 Update default denied files extensions (sh, shtml, shtm, phtm) New Feature Normal FCKeditor 2.4.3 General
Description

For rising security this may help by adding this file extensions in denied list

sh, shtml, shtm, phtm

in array FCKConfig.LinkUploadDeniedExtensions in file fckconfig.js

#274 Upload inconsitancy in naming Alfonso Martínez de Lizarrondo Bug Normal File Browser
Description

With the change from 2.3 to 2.4 the upload directories was changed to lowercase to conform better to Unix. I have removed my old uploads and when I run FCK via the file browser, the uploads go to the right place. If I however use the upload tab in the Link dialog, the images are saved to the "root" upload dir. I switch the 'UseFileType' to true in config file of the upload connector, but the image does not get uploaded. The URL that is returned however has Images instead of images.

Where can I change the path of this correctly? I just need to add a tolowercase ..

#275 My solution for images automatic resizing New Feature Normal File Browser
Description

I add my own resizing utility functions in new file imgresize.php

this new file must be placed in editor/filemanager/upload/php/ and

editor/filemanager/browser/default/connectors/php/ dirs

In this file editor/filemanager/browser/default/frmupload.html i change form, added new fields with resize dimensions WxH and quality selector

On server side changed editor/filemanager/upload/php/upload.php
and

editor/filemanager/browser/default/connectors/php/commands.php

See changed source in attachments

#276 server didn't send back a proper XML response browsing server Bug Normal File Browser
Description

server didn't send back a proper XML response browsing server using php connector. Several files begin with hex "EE BB BF" before php tag. Also when i upload an image with the upload feature with $ConfigUseFileType? it is uploaded to userfiles/Image but when i try to browse the server it browse /userfiles/image. This doesn't work on linux because of the capital.

#277 Bulleted lists do not work as expected if alignment for the paragraph was changed. Martin Kou Bug Normal FCKeditor 2.5 Beta Core : Styles
Description

The bullet lists work as expected under normal circumstances. For example, you click on a line of text, select ordered or unordered bullets to make that line the first bullet. After that you can simply press enter at the end of the line and another empty bullet will appear and allow you to type in the appropriate text. This functionality does not work if the alignment was changed for the paragraph before turning on the bullets. If alignment has changed, then the bullet receives <div align="xxxx">xx</div> as its content. As a result, when enter is pressed, new paragraphs get created inside this div, and no new bullets appear.

#278 ColdFusion Tags Wrongly & Automatically Closed Bug Normal General
Description

I have downloaded the latest version of FCKEditor (2.4.1), and yet this same bug exists. Whenever I open up a coldfusion page that has any coldfusion tags (<cfset>, <cfcase>, etc.), it automatically inserts that tag's closing tag right after it (</cfset>, </cfcase>). Even after I take it out via the source button, I return back to the source page to find that closing tag I just deleted return right back where I got rid of it. As you can tell, it is seriously screwing up my code and the page's ability to execute. Why is this happening and can it be stopped? If so, how?

Tony

#279 UTF-8 BOM chars are being rendered on the page Bug Normal FCKeditor 2.4.2 General
Description

Hi,

The 2.4 interface - without any alterations to config or similar - loads without problems.

The 2.4.1 interface - without any alterations to the config or similar - loads with ASCII preceeding the editor.

Here's my implementation:

<div id="newPostBox">

<?php include("./cn-fckeditor/fckeditor.php"); $fcke = new FCKeditor('content'); $fcke->BasePath = "./cn-fckeditor/"; $fcke->Create(); ?>

</div>

Here are the ASCII characters preceeding the interface. Contact me if you want a screenshot.



I am using the latest FireFox 2 and latest upgrades to IE 7 on XP SP 2 Professional.

Untested on different OS / in different browser.

Keep up the awesome work.

Regards, Johannes

#280 The server didn't send back a proper XML respons Bug Normal File Browser
Description

The server didn't send back a proper XML respons

When image browsing in the new FCKeditor version 2.4.1 we have got a error message. We configured php and asp both not working.

#281 Firefox ToolbarButton bounces on mouse over Bug Normal FCKeditor 2.4.3 General
Description

Descriptive summary

After creating a FCKToolbarButton with a custom 16x16px image, on mouse over in Firefox 2.0.0.2 the button image bounces. Works fine in IE6/7.

Steps to reproduce

  1. Code:
    // Create the "CMSContent" toolbar button.
    // FCKToolbarButton( commandName, label, tooltip, style, sourceView, contextSensitive )
    var oCMSContentItem = new FCKToolbarButton( 'CMSContent', FCKLang["CMSContentBtn"], null, null, false, true ); 
    oCMSContentItem.IconPath = FCKConfig.PluginsPath + 'CMSContent/cmscontent.gif'; 
    
    // 'CMSContent' is the name that is used in the toolbar config.
    FCKToolbarItems.RegisterItem( 'CMSContent', oCMSContentItem );
    
  2. Setup the button to load on the menu bar.
  3. Open FCK and mouse over the button. Bounce!

Browser name and OS

Firefox 2.0.0.2 in Windows / Linux

#282 Assign a "title" to a hyperlink. New Feature Normal General
Description

Hello everyone.

First of all I want to say that this is a great tool to use!. I'm really amazed how powerful and easy to use is.

I just have a comment/request. I was wondering if it would be possible to add another field on the "Link Dialog" in order to assign a Title for that link. we know that when we create a link is somethink like this:

<a href="http://myurl">{myURL}</a>

I was wondering if we could assign {myURL} as dynamic......I was checking the code, but i'm not that good with Javascripts.. =(....

I know that i can change the title clicking on the "source" option and changing the title manually, but it requires some HTML background....do you think that can change that option from the Link dialog option?

#283 Persian language file Bug Normal FCKeditor 2.4.3 General
#284 Firefox: Additional <br /> tags removed from end of document Bug Normal FCKeditor 2.6 UI : Enter Key
Description

If additional <br /> tags are placed at end of document, they are removed one at a time each time you swap to Source view and back.
This problem occurs in Firefox 2.0.0.3 but works correctly in IE7.

I am using FCKeditor version 2.4.1 which is inserted into ASPX pages using FCKeditor.Net.

To replicate:

  • Set FCKConfig.EnterMode = 'br' ;
  • In the editor, type a word (eg. Hello)
  • Hit the Enter key numerous times (eg. 6 times)
  • Switch to Source view
  • Count the number of <br /> tags
  • Switch back to normal view
  • Switch back to Source view
  • Compare the number of <br /> tags to that above
  • Do this several times. Each time you switch to Source view and back, a <br /> tag will disappear.

In my case, I am inserting the html entered in the editor into another page dynamically and want to allow the <br /> tags to increase the distance between the html from the editor and the html in the rest of the page.

#285 Disappearing <br /> in a block tag (p or div) Bug Normal UI : Enter Key
Description
  1. Load demo @ http://www.fckeditor.net/demo or from SVN
  1. Switch to source mode and enter the following:
<div>line1</div>
<div>line2</div>
  1. Switch back to normal mode
  1. Use Shift-Enter to place a couple of <br /> at the end of line1
  1. Switch to source mode again
  1. the line breaks entered in normal mode was gone

This scenario happens very easily since I have both EnterMode and ShiftEnterMode set to 'br'. It's quite confusing to users since they thought the line breaks were already entered.

#286 special characters inserted before editor from nowhere -  Bug Normal General
Description

I've just implemented 2.4.1 over 2.4 in exactly the same way that was working fine with 2.4, but it seems to have inserted  just before the editor textarea.

This is the same in FF and IE.

#287 IE Ignores StartupFocus property Bug Normal General
Description

I have been using FCKeditor for some time, and this has always been a problem for me. I was hoping v.2.4.1 would fix it, but it hasn't. I am using a CFM implementation (creating an object, as such ... fckEditor=createObject("component", "#basePath#fckeditor");), and IE 7 (though it was happening in IE 6 as well). When I load the page with the editor in it, it immediately steals the focus REGARDLESS of whether I have StartupFocus set to true or false in the fckconfig.js file. This is highly annoying, because in the page I want to use the editor, it is halfway down the page, and there are text input items above it, which should be filled in first. The user cannot even see these, as when the page loads FCKeditor steals the focus, and drags the page down, so that users have to scroll up to see the fields at the top of the page (and some don't realise there are fields up there to fill in). In fact, I have had to write a small javascript to send the focus back to the TOP of the page, which fires like so ... onLoad="setTimeout('ReFocus()',1000)" (ReFocus being the js function I have written). This works OK, but sometimes you can see the page jump down to the FCKeditor, then back up to the top. When is this basic problem likely to be fixed ?

#288 Modify linker to allow internal CMS links. New Feature Normal General
Description

Internal Links Modification

I have been modifying the CMSContent plugin posted on the forums to work with the Drupal CMS.

While in development, I realized that this plugin would be a great addition to the core of FCK. Perhaps adding an option to specify something that should be prepended to CMS links so they are consistent after host or folder changes.

For example, in the default linker, there could be another tab for "Internal Link" which would display a list or tree of the pages in the site. The only difference between selecting one of these internal links and a regular link is that it would prepend, in Drupal's case, "internal:" to the url.

Areas to consider

  • A list a pages of the CMS is required. Perhaps calls a PHP, ASP, or whatever script that returns some JSON of Titles and URLs.
  • All internal links would need to have the proper structure appended, but this could be taken care of by the script call.
  • Anything in the preview would need to have the 'internal:' or whatever replaced to display correctly. The replacement string could be set in the FCK config at load time.

Requirements supplied to FCK

  • Script location to return list of Titles and URLs
  • Replacement for special string to allow previews to work ie 'internal:' => '/webdev/testing_drupal_site/'

I am just thinking aloud, so please feel free to chime in.

#289 Remove the error alert from LoadScript and LoadCss Task Normal FCKeditor 2.5 Beta General
Description

In fckeditor.html, there are alerts in the LoadScript and LoadCss function in case of error loading a file. The problem is that the error may get thrown if the page load is interrupted by the user, by click the browser's back button, for example.

Those alerts have only debugging value, mainly useful during a editor setup, but brings no effective value to it. We should either make it configurable, or simply remove those message, which would be the best option, as there are other tools to understand if a file loading is missing (Firebug and Fiddler, for example).

#290 Line breaks on tags may break links Frederico Caldeira Knabben Bug Normal FCKeditor 2.4.3 General
Description

Loading the following:

<a href=
      "My Test">My Test</a>

Results on the following after editor processing:

<a href="_fcksavedurl=">My Test</a>

This is a IE only issue.

#291 Paste button pastes outside FCKeditor Bug Normal FCKeditor 2.5 Beta UI : Context Menu
Description

i have some text in the clipboard. when I click outside of FCK window (for example on cell in some table or text on page) and then click paste the text from clipboard placed on this place!

maybe it is a new feature but i think this is a bug.

#292 Uyghur Language And FCK New Feature Normal General
Description

hi! anyone! Uyghur Language is Right To Left language same as Arabic And Persian Language

There is A sample webHTML editor

Sample:http://tarim.yulghun.com/src/utext/bedit.html

if I have a input method(one .js File) and it can work with Text area , hmm how do I apply with FCK editor?

#293 xhtml errors Bug Normal FCKeditor 2.4.3 General
Description

Hello

It's a good thing to use trac ! Bravo. New xhtml errors introduced in fck_paste.html : change : </$1> by <\/$1> at line 204

;-)

#294 ValidateRequest="true" problem how to avoid for ASP.NET developers... Frederico Caldeira Knabben New Feature Normal FCKeditor.Net 2.5 Server : ASP.Net
Description

Hello for all FCKeditor developer guys.

I interesting why nead ValidateRequest set to false using ASP.NET, why not simple integrate into Base64 encoded content, then this problem wasn't actually and all Base64 to do poor javascript, so on request GET or POST content would be encripted in Base64, also this no nead ValidateRequest to set to false, and Base64 decoded automaticly on server side. What do you think about that feature for ASP.NET developers?

P.S. sorry for my bad english :]

#295 Images saved in wrong location Bug Normal FCKeditor 2.4.3 Server : ColdFusion
Description

This bug exists in the 2.4.1 version on ColdFusion MX 7.

We upgraded to version 2.4.1 and discovered a new directory was being created on the root directory of the server (outside the web accessible directory structure) and our images were being loaded into that new directory. As a result we were always displaying broken image links in our content.

Per the documentation we were using the application variable perfectly to set the userFilesPath (we used <cfset application.userFilesPath = "/FCKeditorUserFiles/">).

After studying the code we were able to perform the following correction:

File: fckeditor/editor/filemanager/browser/default/connectors/cfm/connector.cfm

Approximate Line: 82

Changed content from: userFilesServerPath = serverPath & url.type & replace(url.currentFolder,"/",fs,"all")

Changed content to: userFilesServerPath = serverPath & replace(userFilesPath,"/",fs,"all") & url.type

Please let me know if you need any more detail. And thank you for this fantastic product and all your hard work!

Sincerely,

Charles Fahey

#296 Can't Remove Formatting in IE Bug Normal General
Description

Bug happens when using IE6 or IE7.

When the Style drop down is applied to a section of text to format that text. Using the eraser to remove the formatting does not work. Span tags are applied to the source, but not removed when the eraser (remove formatting) is clicked.

This works fine in firefox, only happens in IE.

See the attached screenshot...step 1 applies a style to the text. Step 2 shows that nothing happens when the text is highlighted and the eraser (remove formatting) is clicked.

#297 Missing alt="" with Smiley Bug Normal General
Description

I looked into this some more and the alt="" is definitely not getting added to the img tag in FF or IE.

After looking at the fck_smiley.html source, alt is never set in the InsertSmiley function. Line 51 should read:

oImg.alt = '';

I made this change locally and alt="" is now correctly added.

Mike

#298 DIV Tag deleted in IE when h1 is inserted Bug Normal FCKeditor 2.5 Beta Core : Styles
Description

Just use the demo site:

  1. click "source code"
  2. insert on first position <div id="news"> (just as an example)
  3. insert on last position </div>
  4. switch back to WYSYWIG mode
  5. insert or add somewhere any text, mark it as headline 1 (or 2,3,4...)
  6. if you look at the sourcecode now the DIV tag has been removed (begin and end tag)

The problem only exists for IE (tested on IE 6 - Version 6.0.2900.2180 only)

In FF it works fine (tested on Version 2.0.0.3 only)

#299 flash property dialog - minor optical bug (request for correction) Bug Normal FCKeditor 2.5 Beta General
Description

In the flash property dialog window the "Browse Server" button is not aligned with the input field. Please correct:
<td id="tdBrowse" style="DISPLAY: none" noWrap rowSpan="2">&nbsp; <input id="btnBrowse" onclick="BrowseServer();" type="button" value="Browse Server" fckLang="DlgBtnBrowseServer">
with:
<td vAlign="bottom" id="tdBrowse" style="DISPLAY: none" noWrap rowSpan="2">&nbsp; <input id="btnBrowse" onclick="BrowseServer();" type="button" value="Browse Server" fckLang="DlgBtnBrowseServer">

#300 CSS not valid - minor bug (request for correction) Bug Normal FCKeditor 2.4.3 General
Description

the file: /editor/css/fck_internal.css does not validate:
line 69 in version 2.4.1 is:

background-position: 1 center;

should be:

background-position: 1px center;

#301 When FCKConfig.EnterMode is set to 'br' ordered and unordered list do not function as expected in IE Bug Normal General
Description

if entermode is set to 'br' and you are using internet explorer, ordered and unordered list are create when you don't expext them to be for example:

If you type a line like this and then hit enter. Now on this line you click a list button the result are:

1. If you type a line like this and then hit enter.

Now on this line you click a list button the result are:

NOT

If you type a line like this and then hit enter.

  1. Now on this line you click a list button the result are:

as you might expect

#302 Firefox automatic hyperlink creation New Feature Normal General
Description

This is a continuation of bug 1314815 at http://sourceforge.net/tracker/index.php?func=detail&aid=1314815&group_id=75348&atid=543656


In Firefox, when a URL is entered (as visible text on the page), it is not automatically converted to an HTML hyperlink.

Confirmed that this remains a problem using FCKeditor 2.4.1 and WinXP/Firefox 2.0.0.3.

#303 Stylesheet link styles not applied in Firefox Bug Normal General
Description

This is a continuation of bug 1230485 at http://sourceforge.net/tracker/index.php?func=detail&aid=1314815&group_id=75348&atid=543656


In Firefox, styles for 'a' tags are not carried over into the editor window.

When specifying a stylesheet using the EditorAreaCSS configuration setting, link styling is not inherited when using Firefox. (IE works fine.)

For instance, if I have the same stylesheet set for both the page and the EditorAreaCSS as

a {text-decoration: none;}

the underlining is not applied to links in the main part of the page, but underlining IS still applied within the editor area.

(PS a:hover {text-decoration: underline;} doesn't work on either Firefox/IE6, but then I wouldn't expect them to really.)

Confirmed that this remains a problem using FCKeditor 2.4.1 and WinXP/Firefox 2.0.0.3.

Problem is known about by Mozilla developers; see: https://bugzilla.mozilla.org/show_bug.cgi?id=300358

#305 ToolbarSets cannot be set via script interface Bug Normal General
Description

It seems impossible to set ToolbarSets via the script interface. E.g. in PHP:

$config["ToolbarSets['toolbarname']"] => "[ ['Cut','Copy','Paste'] ] ;",
$instanceName->Config = $config;

Or perhaps different syntax is needed?

It would be nice to be able to set anything that can be set in fckconfig.js in the script interface, so that the .js need not be touched, making it easier to upgrade. This is one of the few that cannot currently be set.

#306 Patch (diff and zip) to implement subdirectory, regex, overwriting configurability in PHP connector Frederico Caldeira Knabben New Feature Normal Server : PHP
Description

This is a continuation of http://sourceforge.net/tracker/index.php?func=detail&aid=1457770&group_id=75348&atid=543655


This is a patch to FCKeditor 2.4.1, specifically the PHP connector.

It implements the following:

  • Configurability of subdirectories (i.e. so File/ , Image/ etc. can be changed)
  • Regular expression validation of uploaded files (e.g. to disallow spaces and other characters in filenames, or whatever you want)
  • Configurability of what behaviour to adopt when a file of the same name is uploaded (at present the new file gets a new name, which means that links to (e.g.) a new report version have to be changed, which is not good).

Patch was developed with PHP error_reporting at 2047 so no warnings/errors generated.

The changes which involve new items in the configuration file make an isset() check first that the config file includes them, and continues without problems if not. This means that an older config file can safely be used by people who don't have time to check out the new options.

The patch implements the following. This is roughly the order of the code shown in the patch. I hope this should be easy to merge into the source tree.

Full details:

1. REGULAR EXPRESSION VALIDATION FOR UPLOADED FILES

People creating filenames with spaces and other disallowed characters is a particular problem here.

The patch adds $Config['Regexp'] to each resource type. Checking against the regexp, if the configured value is not empty, is done in the same line of code as the check for allowed/disallowed extensions.

2. CONFIGURATION OF 'SAME FILE NAME' BEHAVIOUR

FCKeditor 2.4.1 and previous have the behaviour that, if a user uploads a file where the name of the file already exists, the new file becomes file(1).extension or file(2).extension etc.

We have found this to be extremely problematic, because it means that when a new version of a report is put online, the old one is kept there (and stays in google), and all links pointing to the report have to be changed to the new one.

What this patch does is enable configurability of what should happen when a file is uploaded that has the same name. There are four choices, clearly documented in the config file:

  • renameold - (default behaviour) backs up the version on the server to the same name + timestamp appended to the filename (after the extension)
  • overwrite - overwrites the version on the server with the same name
  • newname - gives the uploaded file a new name (this was the (unconfigurable) behaviour in FCKeditor2.2)
  • false - shows an error so that the file uploading fails

The first seems to me to be the most sensible, so that it set as the default, though we could change that if you disagree. I think 'newname' (i.e. the current behaviour) really is should not be the default.

The patch works as follows:

A check using if ( is_file( $sFilePath ) ) { is done to see if a clash is going to occur. If so, $sFilenameClashBehaviour is created by checking the config file value if one is supplied.

switch ($sFilenameClashBehaviour) { then takes the appropriate action, as one of the four options above. You'll recognise that the code for 'newname' is more or less as before - I've just added the other options as switch case statements.

New error numbers 204, 205, 206 have been added which gives the user a clearer idea of what happened if the names clashed. These are thus defined in OnUploadCompleted() in frmupload.html

3. CONFIGURABILITY OF SUBDIRECTORIES

This is a real problem at present. FCKeditor 2.4.1 assumes that images will be in Image/, files in File/ etc. There are *lots* of sourceforge requests for this to be changeable. This was easy to add:

$Config['Subdirectory'] has been added for each media type.

$GLOBALS['Subdirectory'] = $Config['Subdirectory'] ; is then done to import the values.

I then added a function GetResourceTypeSubdirectory ( $resourceType ) which returns the subdirectory based on the supplied resource type setting (or the default, as before).

Then in the two places where there is something like return $GLOBALS["UserFilesPath"] . $resourceType . $folderPath ;

this just becomes return $GLOBALS["UserFilesPath"] . GetResourceTypeSubdirectory ( $resourceType ) . $folderPath ;

4. PATCH TO CORRECT A PROBLEM IN CreateServerFolder()

mkdir() may fail on certain platforms when a $folderPath has in rather than /

So I've created a simple patch to remove these mistaken double slashes.

5. CORRECTION OF TWO TYPOS

in config.php:

- SECURITY: You must explicitelly enable this "connector". (Set it to "true"). + SECURITY: You must explicitly enable this "connector". (Set it to "true").

- user files directory. Usefull if you are using a virtual directory, symbolic + user files directory. Useful if you are using a virtual directory, symbolic

6. ADDITION OF A FEW COMMENTS TO THE CONFIG FILE

I've added some notes to clarify the meaning of two settings:

-$Config['UserFilesPath'] = '/UserFiles/' ;
+$Config['UserFilesPath'] = '/UserFiles/' ; // Set to / if you want filebrowsing across the whole site directory

-$Config['UserFilesAbsolutePath'] = '' ;
+$Config['UserFilesAbsolutePath'] = '' ; // Set to $_SERVER['DOCUMENT_ROOT'] if you want filebrowsing across the whole site
#307 Links that contain a question mark are corrupted Bug Normal General
Description

With Version 2.4.1, a hyperlink is created with the word link and the URL "www.geniisoft.com/showcase.nsf?OpenDatabase" (or one of several other variations). When saved, this is converted to "www.geniisoft.com/showcase.nsf&omega;OpenDatabase" and when saved again, the &omega; is replaced with an omega symbol and when saved again it disappears.

Please note, this does not happen with the daily build from March 27th, at least not when run from your site.

#308 FCKConfig.ProcessHTMLEntities didn't work Bug Normal General
Description

in 2.4.1 HTMLEntities are not stored correct in some cases. Seems to be depending from the browser charset (setting to UTF8 seems to work, ISO-8859-1 not).

"ä" is stored as "&#228;" instead of "&auml;"

Matthias

#309 Span with nonbreaking space added to button when adding paragraph break in IE Frederico Caldeira Knabben Bug Normal FCKeditor 2.6 UI : Enter Key
Description

Using IE, switch to source view, paste this code and then switch back to WYSIWYG view:

<p><button>1</button><button>2</button></p>

Placing the cursor between the two buttons and pressing enter to add a paragraph break adds a span with a non-breaking space inside the second button:

<p><button>1</button></p>
<p>&nbsp;</p>
<p><button><span>&nbsp;</span>2</button></p>
#310 Most files of Version 2.4.1 are corrupted Bug Normal General
Description

Most files of 2.4.1 are corrupted, wich means that at the beginning of a lot of files are stored additional signs wich causes issues and missfunctions when you try to use version 2.4.1. The problem ist that this additional signs in the most files only can be seen with a HEX Editor. Affected are a lot of .js, .html and .php files in the whole package.

The hex code wich should be deleted at the beginning of the affected files is:

ef bb bf

The related ASCII signs are:



Attention: In some files this code is stored mor then on time at the beginning of the files.

Additional Informations are also here: http://sourceforge.net/forum/forum.php?thread_id=1700889&forum_id=257179

A ticket wich i could solve with manually cleaning all files is here: http://dev.fckeditor.net/ticket/308

By the way, after manually changing all the affected files 2.4.1 is great.

Keep on that good work

Matthias

#311 Option to disable ContextMenu New Feature Normal FCKeditor 2.4.3 UI : Context Menu
Description

It would be nice to have an option to disable FCKEditor custom Context menu. This way, browsers spellcheckers (google toolbar or FF2) may be used, for example.

It may be done in fckeditor.htm, line 103:

// Initialize the editing area context menu.
FCK_ContextMenu_Init() ;

replaced by:

// Initialize the editing area context menu.
if ( FCKConfig.ContextMenu != null )
  FCK_ContextMenu_Init() ;

in fck_gecko.js, line 62:

// Reset the context menu.
if ( FCKConfig.ContextMenu != null )
{
  FCK.ContextMenu._InnerContextMenu.SetMouseClickWindow( FCK.EditorWindow ) ;
  FCK.ContextMenu._InnerContextMenu.AttachToElement( FCK.EditorDocument ) ;
}

and in fck_ie.js, line 129:

// Reset the context menu.
if ( FCKConfig.ContextMenu != null )
  FCK.ContextMenu._InnerContextMenu.AttachToElement( FCK.EditorDocument.body);

You just have to set FCKConfig.ContextMenu = null; in your custom config file to disable the custom menu in the editor area. Default context menu is still disabled on FCK toolbars. Most features are still available through toolbar buttons.

Proposed implementation tested on FF 2.0.0.3 and IE6.

#312 FATA ERROR: PHP Files contain bad characters Frederico Caldeira Knabben Bug Normal Server : PHP
Description

The 3 main PHP files (fckeditor.php, fckeditor_php4.php, and fckeditor_php5.php) each contain pad characters at their head:

<?php

#313 File Manager Connector for Perl connector.cgi Bug Normal File Browser
Description

since version 2.4.1 connector.cgi comes with an invisible char in first line first column, causing a 500 Server error (as do the windows CR-LF newlines. But the latter is a known problem - at least for me ;o)))

attached a working version both in unix fileformat and in dos fileformat.

if it works on other systems than mine (debian sarge linux) I'd propose to provide the unix fileformat of connector.cgi

#314 javascript inside html Bug Normal UI : Source View
Description

1) switch editor to source mode, enter the following code: <p><a onclick="doSomething(&rsquo;xxx&rsquo;);" href="http://www.fckeditor.net/">FCKeditor</a></p>

2)switch to WYSIWYG mode and back to source mode. Code gets converted as follows: <p><a onclick="doSomething(&amp;apos;rsquo;xxx&amp;apos;rsquo;);" href="http://www.fckeditor.net/">FCKeditor</a></p>

if you keep switching back and forth from one mode to another &amp;apos; will be multiplied

#315 Catalan Language File for FCKeditor 2.4.1 Bug Normal FCKeditor 2.4.3 General
Description

Updated Catalan language file for FCKeditor version 2.4.1. Adds a new string and corrects several other ones.

#316 FF: Impossible to position the cursor between two centered tables Bug Normal FCKeditor 2.6 General
Description

please see the second issue highlighted in this video (the first was CSS related and is fixed):

http://24-7-sales.com/wysiwyg/3-29.html

D.

#317 Bug in browser/upload Bug Normal General
Description

I just installed fckeditor. The php upload is working fine. Images are saved in the /Upload/ directory. When I click browse files, I can't see the uploaded images. He is looking in the image folder. The browser is also automaticaly creating the /Upload/image/ folder. When I try top upload in the /Upload/Images/ folder, the browser is still creating an image folder (capital I).

See also http://sourceforge.net/forum/forum.php?thread_id=1704488&forum_id=257180

#318 Multiple linked images are getting merged in a single link Alfonso Martínez de Lizarrondo Bug Normal FCKeditor 2.4.3 General
Description

If two or more images are placed side by side, with nothing in between, and seperate links placed on each image, all images are placed within a single anchor tag.

Example:

HTML desired:

<a href="image1_url"><img src="image1_path" /></a>
<a href="image2_url"><img src="image2_path" /></a>

HTML generated:

<a href="image2_url"><img src="image1_path" /><img src="image2_path" /></a>

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

#319 EditorMode br results in truncation Bug Normal General
Description

When configuring the enter key to do <br> and shift enter to do <p> the behavior of the editor is somewhat different. Inserting an image has no <p> tags around it like the other mode. If the only content of the page is that image tag, flipping into Source view gives you a blank slate. If there is other text, then it works okay.

This may be something like Ticket #257, but it still occurs in the 2.4.1 release which is after that ticket was closed.

#320 Firefox Flash Error Bug Normal General
Description

Folks,

I have a website where i am using FCKEditor 2.4.1 and have also now tried SVN 2.5. The problem that i am having is this.

On my main page www.add.ie, at the header, i have one Flash Swf file on the top right which i use for advertisement etc.

When i enter my site to create a test ad, i have a data HTML field which FCKEditor loads so i can input a description.

When FCKEditor loads, the Flash movie from my Header is displayed in the FCKEditor Region. I previously had my other header files as SWF Flash files but changed them to gif as they were taking up a bigger portion of the FCKEditor region

Apart from this, FCKEditor is working fine.

I am using Firefox Version 1.5.0.11.

The problem is not in IE 7.

Regards, Sully

#321 When FCKeditor loads in a "display:none" container it is not editable (FireFox/Gecko) Alfonso Martínez de Lizarrondo Bug Normal FCKeditor 2.5 Beta General
Description

I have a FCKeditor control that is hidden on normal page loads by placing it in a control that is styled with "display:none". The editor is dynamically displayed with script that sets the display back to either "block" or "", which works in Internet Explorer but doesn't in Firefox/Gecko. The focus won't go into the editing box unless you click "Source" and switch it into and out of source mode.

It seems as though the problem is that Gecko unsets the editor's <IFRAME> designMode when it is hidden, but doesn't re-set it when the <IFRAME> is unhidden.

I found a posting here that documents the same problem, which includes an example: http://fckeditor.biz/viewtopic.php?p=2151&sid=7376ab46d4ba8c73ac2d31a0d0f417b7

I poked around a bit more and found this in the FCKeditor Wiki: http://wiki.fckeditor.net/Troubleshooting#head-b3157703eeeef9d287b4c922f9b43eab9d551417

It describes various workarounds, ending in June 2006 with a mention that the problem was fixed for Firefox v2.x with FCKeditor v2.3 (I did not confirm that), but now the problem appears to have resurfaced.

#322 Google-bar & forms Bug Normal General
Description

Some of our (dutch) customers are using the Google bar on Dutch IE6 & 7, Windows XP. When they open their Contact-form in the editor, some fields are changed by the Google bar with a title like: "This can be filled in for you by the GoogleBar" and making the background yellow. After saving their changes the Google bar changes are also saved.

This looks very bad, is an unwanted add for Google and our customers don't know how to undo these changes.

Is there any solution for this (growing) nuisance?

Only tested on Dutch systems, but I'm sure it will also appear with other languages.

#323 why is there so much extra added for inline styling? Bug Normal General
Description

OK,

This isn't so much a 'bug', but I didn't know where else to put it.

I've got the div tag in the 'protected tags' bit.

($oFCKeditor->ConfigProtectedTags? = '<div>|<?php>|<?>'; this is how I'm doing it - is this right??)

I've also set FormatSource to false.

However, when I paste in a div with inline styling, it adds in loads of extra stuff that ruins it and isn't what I want at all.

I paste in this:

<div style="padding:50px 15px; background:url(images/pic.jpg) no-repeat; width:215px; height:275px;">Whatever</div>

When I switch to and from source, I've suddenly got this:

<div style="padding: 50px 15px; background: transparent url(images/pic.jpg) no-repeat scroll 0% 50%; width: 215px; height: 275px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">Whatever</div>

Now, why would I want all those mozilla filters, and why would I want 'transparent' put into the background bit, stopping IE from showing the background image on the div? What's the point in that? Also the 'scroll 0% 50%' - why add unnecessary bloat to the code, especially when I have no control over whether it adds it in or not?

#325 API: GetXHTML() temporarily distorts rendering Bug Normal General
Description

Steps to reproduce:

  1. Load demo page with Firefox
  2. Choose "Sample 8: Editor API usage" from the drop down
  3. Focus before "You are using" and hit enter 5 times
  4. Click "Get Editor Contents (XHTML)"

The call returns the proper XHTML, but the text in the editor jumps.

We are implementing an autosave feature which periodically calls this function to get the XHTML and send it back to the server using XMLHTTPRequest. It works perfectly except for the dancing text ;)

#326 Firefox: Lists + formatted text = undesired behavior Bug Normal General
Description
  1. Load demo page with Firefox
  1. Focus in editor, Control-A to select all, hit delete
  1. Click the "Numbered list" toolbar button
  1. Type three lines of text
  1. Hit Control-A to select all, change the font to Comic Sans
  1. Focus on item 2, and indent with the "Increase Indent" toolbar button
  1. Focus at the end of the line, and hit enter
  1. Bug 1: Notice that there is an extra newline at the end of the sublist
  1. Click the "Decrease indent" button
  1. Bug 2: The decrease indent function does not work

Note: This happens to normal lists as well, not just nested lists.

#327 Backspace Activates Back Button Bug Normal FCKeditor 2.5 Beta UI : Enter Key
Description

On FCKeditor 2.4.1 on IE 6 when you press the insert image button, select an image, and press okay, the image appears on the editor window like it normally should. Now, while the image is still selected, hit the backspace key. The browser will be taken back to the previous page instead of deleting the image. The only way to delete an image is to use the "del" key.

#328 whitespace trimming within pre tags Martin Kou Bug Normal FCKeditor 2.5 Beta General
Description

Leading whitespace within a pre tag is being trimmed. This is an issue because the text within the pre tag is expected to be preserved 'as is'.

  1. To reproduce this issue, paste the following into FCKeditor's Source view:
    <pre>
      /***
       * First line (above) has leading whitespace.
       * Some more text...
       */
       public void testFunction(){
         System.out.println( "abc" );
       }
    </pre>
    
  1. Next press the Source button to return to the normal view.
  2. Now press the Source button two more times and you will see that the leading whitespace on the first line has been removed.

This issue exists on Firefox 2.0.0.3 and IE 7.0.5730.11 (both on WinXP).

#329 New tool: Paragraph mode New Feature Normal General
Description

It would be nice with a tool to enable/disable showing paragraph tags like the one in MS Word.

#330 Inconsistent newlines Bug Normal FCKeditor 2.4.3 General
Description

The js files in the folder editor/js/*.js have inconsistant newlines. Sometimes unix style sometimes windows style. I did a dos2unix on all of them otherwise my subversion repository doesn't accept them:

svn: Commit failed (details follow): svn: File '/var/www/community/www/controls/FCKeditor/editor/js/fckeditorcode_gecko.js' has inconsistent newlines svn: Inconsistent line ending style

#331 PHP pages output to browser Bug Normal General
Description

I get errors because fckeditor.php gives a "output already started" php error. I can't find where it is though. If I use the fckeditor.php from version 2.4 everything works fine

#332 Hitting Enter after links continues the link in the new paragraph Martin Kou Bug Normal FCKeditor 2.5 Beta UI : Enter Key
Description

Handling of <a>-Tags within <li> is broken. Reproduction at the nightly build just right now :

  1. Hit return for a new line.
  2. Press "Insert Bulleted list" - Button
  3. Press "Insert Link" - Button
  4. enter www.blah.org as target and hit return to return back to gui
  5. Hit return to get new bullet.
  6. type "asd"

provides as source :

<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>
<ul>
    <li><a href="http://www.blah.org">www.blah.org</a></li>
    <li><a href="http://www.blah.org">asd</a></li>
</ul>
<p>&nbsp;</p>

Meaning, the <a>-Tag from the first bullet has been inherited by the second one, which is not what users expect, I guess.

#333 Upload doesnt check for ServerPath param like Browser does Bug Normal FCKeditor 2.5 Beta General
Description

We're using PHP for FCK...

Adding a ServerPath param to the Browser URLs works great so we can control what directory that gets browsed. At the same time, we'd like to make the Upload functionality go to the same folder, but it only checks the Config array, and doesnt try to override it with the GET param. Is this a bug, or a security concern? Seems odd that one does it and the other doesnt.

#334 loading fckeditor in firefox 2.0.0.3 in frameset never stops "loading" Bug Normal General
Description

load the fckeditor in a page that's loaded from a frameset never finishes loading which causes problems like preventing the onload functions from firing. I've attached a sample source of this happening.

#335 Bulleted List ul type="disc" and type="square" are rendered the same in IE Bug Normal General
Description

Bulleted list <ul type="disc"> and <ul type="square"> are rendered the same in IE in FCKeditor. (Both look like "square")

  1. Both are rendered correct in HTML in boht IE and FireFox.
  2. They are rendered correctly in FCKeditor in FireFox.
#336 Numbered List @type in dialog is NOT correct. Bug Normal FCKeditor 2.4.3 General
Description

Test step:

  1. create a numbered list
  2. set type="A" or "I"
  3. right click the list and select "Numbered List properties", the type in the type selection is "a" or "i".

Reason:
editor/dialog/fck_listprop.html

oActiveSel.value = oActiveEl.getAttribute('type').toLowerCase() ;

should be:

oActiveSel.value = oActiveEl.getAttribute('type') ;

I do not know why it change to lower case.

#337 Bring back FCKConfig.EnableXHTML and FCKConfig.EnableSourceXHTML New Feature Normal General
Description

Any chance of bringing back the FCKConfig.EnableXHTML and FCKConfig.EnableSourceXHTML options? The forced conversion to XHTML of source code causes no end of headaches. I am not clear on what the reasons for deprecating these are.

#338 Drag & drop do not honor ForcePasteAsPlainText Martin Kou Bug Normal FCKeditor 2.5 Beta General
Description

ForcePasteAsPlainText is set to true.

On drag & drop I get this HTML: <p class="huvudmall" style="MARGIN: 0cm -8.5pt 0pt 0cm; tab-stops: 65.2pt"><span lang="EN-GB" style="COLOR: red"><font size="3"><font face="Times New Roman">link<o:p></o:p></font></font></span></p>

On paste I get this HTML: <p>link</p>

#339 Speller Pages breaks html code when incorrect word is present in html tag Bug Normal FCKeditor 2.6 Server : ColdFusion
Description

When running spell checker in fck editor (cf implementation) if an incorrectly spelt word also appears in an html tag the spell checker attempts to insert it's code breaking the original html. This occurs in any supported browser/os.

We have overcome this issue and thought you might be interested in our solution to this.

E.g. <img src="whatever.jpg" alt="splling"> <p>Some text with splling error</p>

The spell checker returns "splling" as incorrectly spelt but when running the function writeBody in wordWindow.js it finds splling in the alt tag and alters this part of the html causing it to break.

We have resolved this by replacing the line begin_idx = wordtxt.indexOf( orig[i], end_idx ); in wordWindow.js on approximately ln 170 with var rExp = new RegExp ( orig[i] + '(?![<]*?>)' ); var searchStr = wordtxt.substr ( end_idx ); begin_idx = searchStr.search ( rExp ) + end_idx;

#340 Bug About the EnterMode='div' or 'br' Bug Normal UI : Enter Key
Description

(1)EnterMode='div' the operate flow: 1,press some lines with the 'enter'; 2,OrderList these lines; 3,UnOrderList these,then the 'div' change to 'p'; 4,and then every 'enter' generate 'p';

(2)EnterMode='br' the OrderList these lines generate only 1 li; and the same bug as EnterMode='div'.

#341 Issues with Spell Checker Bug Normal General
Description

I have attached a document that shows the behavior of the Spell Checker within the WYSIWIG white box. Our user(s) are locating hidden text spelling errors in the whitebox that doesn’t show up in the whitebox nor in the published document.

The attached document describes the error condition better with screen shots.

#342 Spell Checker errors Bug Normal General
Description

I have attached a document that shows the behavior of the Spell Checker within the WYSIWIG white box in IAManager. Basically an error message pops up every time I use spell checker to make a change in the document. Multiple error messages pop up there. The attached document describes the error condition better with screen shots..

#343 Image Properties - Preview --> Needed English Bug Normal UI : Toolbar
Description

Under Image Properites / Preview section --> Need an example text in English

#344 Werd character at the beginning of files Bug Normal General
Description

I have downloaded the 2.4.1 version of FCKEditor (ZIP archive). I have noticed that every file has 3 weird characters at the beginning of it

ASCII 239 ASCII 187 ASCII 191

and this cause problems with scripts (PHP), for example when using sessions.

#345 FckEditor inserts extra &nbsp; or <p>&nbsp;</p> Bug Normal General
Description

In first senario, this html source: <p><span>test1</span></p> <p></p> <p><span>test2</span></p>

becomes this when toggling the Source button: <p><span>test1</span></p> <p>&nbsp;</p> <p><span>test2</span></p>

Another senario, this html source: <p>test1</p> <p><hr /> test2</p>

becomes this when toggling the Source button: <p>test1</p> <p>&nbsp;</p> <hr /> test2 <p>&nbsp;</p>

I read that someone reported simiar issue in early March (#202, #201) and this has been fixed on version 2.41. I am using 2.41 but still have this issue.

Any help would be greatly appreciated.

#346 blank first line in PRE tag causes newline characters to be removed Martin Kou Bug Normal FCKeditor 2.5 Beta General
Description

This issue only affects Firefox (tested with 2.0.0.3).

When the first line within a PRE tag is blank, the newline characters in the remaining lines will be removed after clicking on the Source button several times.

  1. To reproduce this issue, paste the following into FCKeditor's Source view:
<pre>

  /***
   * First line (above) is blank.
   * Some more text...
   */
   public void testFunction(){
     System.out.println( "abc" );
   }
</pre>
  1. Next press the Source button to return to the normal view.
  1. Now press the Source button two more times and you will see that the lines within the PRE tag are mangled due to the missing newline characters.

This ticket may be related to ticket #328.

#347 Dropdown Lists don't close on second click Bug Normal CKEditor 3.0 UI : Toolbar
Description

None of the dropdown list close when they are clicked if they are currently open. The first click should open the list and a second click should close the list. If you click somewhere else it does close, but a user should not be required to move the mouse to close a list.

#348 Style span tags do not behave as expected after breaks (Happens in online demo too) Bug Normal UI : Enter Key
Description

Reproduce via: Type in 1 line of text Highlight that text and convert the style using the style box Put a line feed at the end of the line (go to the end of the line and hit enter) Type in more text on line 2. (The text on line 2 will be in the same style as line 1) There does not seem to be any way to remove the style from line 2 ... futhermore, after the above bug presents itself, there does not seem to be any way to remove the style from line 1 or 2 without erasing the code or the text and starting over.

#349 [FCKeditor Site] About "OpenFileBrowse" Function's bug in Maxthon browser Bug Normal FCKeditor 2.6 General
Description

Hello,

I'm a developer from China,and it's very thankful that you give us so perfect editor.But in my development with it i found some functions may not work as what we want. When i use the editor(2.4.1) in Maxthon (2.0) Browser,i open the image dialog and click the "Browse Server" Button,then the new window opened as a new tab in the browser while the image dialog still show on the top of the browser,which i have to close it if i want to choose some files in the opened browse server window.

Here is the way i change the function to solve this bug,hoping to give some suggestion to you:

/editor/dialog/common/fck_dialog_common.js

function OpenFileBrowser (...)
{
..
//at the bottom of the function
 if(oEditor.FCKBrowserInfo.IsIE)
        {
            window.showModalDialog(url+"&rdm="+new
Date(),window,"status:false;dialogWidth:"+width+"px;dialogHeig
ht:"+height+"px\"");
        }
        else
        {
            window.open( url, 'FCKBrowseWindow', sOptions ) ;
        }
}

Of course we should change the place where works with this function,such as:

editor/filemanager/browser/default/frmresourceslist.html

function OpenFile( fileUrl )
{
    if( window.dialogArguments)
    {
        window.dialogArguments.SetUrl( fileUrl ) ;
        window.close() ;
	    window.dialogArguments.focus() ;
	}
	else
	{	
	    window.top.opener.SetUrl( fileUrl ) ;
	    window.top.close() ;
	    window.top.opener.focus() ;	
	}
}

Also,we need to modify the function which receives the folder name when we Create New Folder for the method "prompt" doesn't work in dialog mode.

As this,our editor now work normal in browser no matter it bases on IE or FireFox.

#350 FF: <marquee> appends <p>&nbsp;</p> to the output Bug Normal FCKeditor 2.4.3 General
Description

There was a previous ticket regarding Firefox ignoring the IgnoreEmptyParagraphValue and putting

<p>&nbsp;</p>

whenever there was whitespace. We are encountering a similar, though likely unrelated problem, in the version that this bug was supposedly fixed in. Firefox ISN'T putting the empty paragraph tags in empty space, which is good. It's not supposed to. However there's an exception to this. If you use the marquee tag within the FCKeditor, it puts the empty paragraph tags before and after it. For example, we put in the following code into the FCKeditor:

<marquee scrollamount="4"><font size="4" color="#808000"><strong>Welcome!&nbsp; <a href="http://www.somewebsite.com">Click Here to ask about our Event Sponsorship Opportunities!</a></strong></font></marquee>
<p>Just some test text<br />
Hello?<br />
<br />
Okay</p>
<table width="400" cellspacing="1" cellpadding="1" border="0" align="center">
    <tbody>
        <tr>
            <td>Hello?</td>
            <td>Maybe</td>
        </tr>
        <tr>
            <td>Okay</td>
            <td>Sweet</td>
        </tr>
        <tr>
            <td>Well</td>
            <td>let's see</td>
        </tr>
    </tbody>
</table>

and, upon saving our changes to the database and coming back to the page, it turned it into this:

<p>&nbsp;</p>
<marquee scrollamount="4"><font size="4" color="#808000"><strong>Welcome!&nbsp; <a href="http://www.somewebsite.com">Click Here to ask about our Event Sponsorship Opportunities!</a></strong></font></marquee>
<p>&nbsp;</p>
<p>Just some test text<br />
Hello?<br />
<br />
Okay</p>
<table width="400" cellspacing="1" cellpadding="1" border="0" align="center">
    <tbody>
        <tr>
            <td>Hello?</td>
            <td>Maybe</td>
        </tr>
        <tr>
            <td>Okay</td>
            <td>Sweet</td>
        </tr>
        <tr>
            <td>Well</td>
            <td>let's see</td>
        </tr>
    </tbody>
</table>

This ONLY happens in Firefox (any version). It does not happen in Internet Exploder. We DO have version 2.4.1, which supposedly fixed the problem with FF and IgnoreEmptyParagraphValue. We could upgrade to 2.4.2 (and may soon), but according to "What's News", the only thing fixed in 2.4.2 was a problem with UTF, so I doubt that would fix this problem.

We are aware that the marquee tag is no longer supported in HTML specifications, but we thought it might indicate a problem somewhere and still be fixable, regardless of this lack of marquee support, and especially since it only happened in Firefox, so we thought we should submit this ticket.

Thanks,

Nicholas

#351 Inserted image gets deleted if the rest of the document is empty Bug Normal FCKeditor 2.4.3 General
Description

If creating a new document with FCKeditor and you insert an image and then attempt to save the document/submit the form, the result is that the image (and the HTML image tag) gets deleted. I can workaround this by typing in some text, then the image gets saved, but if the image tag/image is the only thing in the document, when saving, the image/img tag gets deleted. This shouldn't happen. A person may want to insert just an image into a document without any text or other tags surrounding it. This bug prevents that from being a possibility. Keep up the great work, FCKeditor is the best!

#353 ASP.net: Editor in ModalPopupExtender throws error in Firefox Bug Normal General
Description

I am using the ModalPopupExtender from the new AJAX Toolbox Controls.

  1. Create a custom control that adds FCKEditor
  2. Add that control to an asp panel
  3. Assign that panel to the PopupControlID property of the ModalPopupExtender
  4. Assign a button to load the MPE
  5. Fire up the app - click on the the button to load the Editor

This creates the following error in javascript - the editor isn't editable unless you switch to source mode and back:

uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLDocument.execCommand]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost/MyApp/script/fckeditor/editor/js/fckeditorcode_gecko.js :: anonymous :: line 31" data: no]

#354 Filebrowser : Delete files and folders New Feature Normal File Browser
Description

Hi FCK developers,

I've been using FCKeditor for a while and since a couple versions ago, the functionality to delete files and folders was taken out of the integrated filebrowser. (Why? Security issues?)

So, I coded the functionality myself in some newer versions, but every time I upgrade FCKeditor, I have to redo all the coding (and it seems to be different from version to version).

Is there any way to re-implement this functionality, possibly with a configuration property to "enable / disable" the delete button? That would be greatly appreciated !

Many thanks and keep up the wonderful work,

Wout

#355 Filemanager shows no files Bug Normal General
Description

Sometimes the filemanager shows no files. I run FCKeditor in a CMS on Apache with PHP5. Yesterday I got this to the third. I tried different things (3-4 hours) from the sourceforge forums, close the browser and relogin (in my CMS), clear the browser cache and so on. Nothing helps. Only a restart of the client (windows 2000), last 2 times it was the same, shows the files again. I think there is a connector problem. But why help a restart and not clearing browser cache? Is there a session or an ip cache? I don't know thinks about that :-)

Sven

#356 Unified find and replace dialog Martin Kou New Feature Normal FCKeditor 2.5 Beta General
Description

Changeset [244] changes the Find and Replace dialogs to allow using find/replace in Source View (bug #158), but also marges the Find and Replace dialogs into a combined Find/Replace dialog. Selecting Find or Replace from the toolbar merely changes which tab shows on startup. This allows you to go back and forth between Find and Replace on-the-fly.

At the moment, the dialog hides the default OK/Cancel buttons so that each tab uses its own, although this should really be changed eventually to allow the buttons to be imaged on-the-fly into the bottom frame.

#357 Anchor delete option on context menu New Feature Normal FCKeditor 2.5 Beta General
Description

At present, right-clicking on a hyperlink lets you remove the hyperlink as one of the options in the context menu. Anchors don't work this way, although you can remove the anchor from the anchor dialog by clearing it. [243] adds a Remove Anchor command on the context menu so that anchors and hyperlinks have the same UI on the context menu. This function should probably have an icon.

#358 CDATA processing adds extra CRLF in IE Bug Normal UI : Source View
Description

I found a strange problem with the handing of CDATA sections inside the Source View. It affects only IE:

step to reproduce the bug:

  1. Go to the test page (http://www.fckeditor.net/nightly/fckeditor/_samples/default.html)
  1. Go to source view and delete everything
  1. Paste into the source view the following text

<style type="text/css"><![CDATA[ .blah {

font-size: small;

} ]]></style>

  1. Go to the normal view and than back to the source view
  1. You get the following text:

<p><style type="text/css"> <![CDATA[ .blah {

font-size: small;

} ]]></style></p>

  1. If you reiterate the same switching between the views, FCKeditor adds a new line everytime.

That doesn't happen in Firefox

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
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