Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (2401 - 2500 of 11754)

Ticket Summary Owner Type Priority Milestone Component
#2180 Display simple textarea if javascript is disabled New Feature Normal General
Description

If javascript is disabled in FCKeditor compatible browser, most of the time nothing appears to the end user (neither FCKeditor nor simple textarea).

The only example that works with javascript disabled is sample02.html.

I belive that many people use server side integration and are unaware of this problem. Below is a simple work-around for this issue:

public function CreateHtml()
{
	$HtmlValue = htmlspecialchars( $this->Value ) ;

	$Html = '' ;

	if ( strpos( $this->Width, '%' ) === false )
	$WidthCSS = $this->Width . 'px' ;
	else
	$WidthCSS = $this->Width ;

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

	if ( $this->IsCompatible() )
	{
		if ( isset( $_GET['fcksource'] ) && $_GET['fcksource'] == "true" )
		$File = 'fckeditor.original.html' ;
		else
		$File = 'fckeditor.html' ;

		$Link = "{$this->BasePath}editor/{$File}?InstanceName={$this->InstanceName}" ;

		if ( $this->ToolbarSet != '' )
		$Link .= "&Toolbar={$this->ToolbarSet}" ;

		// Render the linked hidden field.
		$Html .= "<input type=\"hidden\" id=\"{$this->InstanceName}\" name=\"{$this->InstanceName}\" value=\"{$HtmlValue}\" style=\"display:none\" />" ;

		// Render the configurations hidden field.
		$Html .= "<input type=\"hidden\" id=\"{$this->InstanceName}___Config\" value=\"" . $this->GetConfigFieldString() . "\" style=\"display:none\" />" ;

		// Render the editor IFRAME.
		$Html .= "<iframe style=\"display:none\" id=\"{$this->InstanceName}___Frame\" src=\"{$Link}\" width=\"{$this->Width}\" height=\"{$this->Height}\" frameborder=\"0\" scrolling=\"no\"></iframe>" ;

		// If JavaScript is enabled, make iframe above visible
		$Html .= "<script type=\"text/javascript\">" ;
		$Html .= "<!--\n";
		$Html .= "document.getElementById('{$this->InstanceName}___Frame').style.display='';";
		$Html .= "\n//-->";
		$Html .= "</script>" ;

		//If JavaScript is disabled, display simple textarea and leave iframe invisible
		$Html .= "<noscript>";
		$Html .= "<textarea name=\"{$this->InstanceName}\" rows=\"4\" cols=\"40\" style=\"width: {$WidthCSS}; height: {$HeightCSS}\">{$HtmlValue}</textarea>" ;
		$Html .= "</noscript>" ;
	}
	else
	{
		$Html .= "<textarea name=\"{$this->InstanceName}\" rows=\"4\" cols=\"40\" style=\"width: {$WidthCSS}; height: {$HeightCSS}\">{$HtmlValue}</textarea>" ;
	}

	return $Html ;
}

I know it's ugly but it seems to work. The problem is that the same value ($HtmlValue) is posted twice for textarea and hidden field. I'm not sure whether there is a way to copy this value from textarea in <noscript> tag to a hidden field.

Do you have any other proposals?

#2181 Premature preview/save bug Bug Normal Project : MediaWiki+FCKeditor
Description

If, on the edit page, a user clicks the "preview" or "save" buttons before the FCKeditor interface is completely loaded, internal links (such as [[User:Test]]) are not converted to wikicode but are saved as HTML tags (such as <a href="User:Test">).

#2182 Want to know how to set path for images Bug Normal File Browser
Description

Hi there I am using fck editor in Asp.net m

whenever i upload the images, i giving error

i want to know how to set path for uploading file

Thanks in Advancs

Bhupendra Rathor e

#2183 Extended file management New Feature Normal File Browser
Description

Some FCKEditor filemanager users want to rename files and folders and delete files and folders.

The changes are done, and attached to this Feature Request. The only thing is: the changes were done in PHP connector, but not in the other ones.

#2184 Lots of html validation errors in the filemanager Alfonso Martínez de Lizarrondo Bug Normal FCKeditor 2.6.1 File Browser
Description

I don't know why we didn't realize earlier, but the filemanager has lots of validations errors that can be solved (most of them) easily.

#2185 FCKPackager incorrectly adds semicolons after functions passed as an argument to another function. Bug Normal FCKeditor 2.6.1 Project : CKPackager
Description

Write the following JavaScript code and let FCKPackager compress it:

void(
function(b)
{}
);

FCKPackager would give you something like this:

void(function(b){};);

Notice the semicolon after the anonymous function, it is incorrect.

This bug is causing the current FCKeditor code in the SVN unusable after running build_release.bat, because of the following code in fckdocumentprocessor.js:

if ( FCKBrowserInfo.IsSafari )
{
        FCKDocumentProcessor.AppendNew().ProcessDocument = function( doc )
        {
                var spans = doc.getElementsByClassName ?
                        doc.getElementsByClassName( 'Apple-style-span' ) :
                        Array.prototype.filter.call(
                                        doc.getElementsByTagName( 'span' ),
                                        function( item ){ return item.className == 'Apple-style-span' ; }
                                        ) ;
                for ( var i = spans.length - 1 ; i >= 0 ; i-- )
                        FCKDomTools.RemoveNode( spans[i], true ) ;
        }
}
#2187 Existing image links are smashed when saving Bug Normal Project : MediaWiki+FCKeditor
Description

Adding FCKeditor to an existing wiki, if a user edits a page that has existing image links and then edits and saves with the FCKeditor, all image links on that page are broken.

Version information:

  • MediaWiki: 1.11.2
  • PHP: 5.1.6 (apache2handler)
  • MySQL: 5.0.41-community

I installed the latest nightly build and the behavior is the same.

Steps to reproduce:

  • Upload a few images without FCKeditor.
  • Create a page linking to the images in the standard way
  • On that page have links to the image files: [[Image:Imagefile.png]]
  • Edit page using FCKeditor. Make some text changes, but do not modify images. Save page and notice that no images exist.
#2188 PreserveSessionOnFileBrowser is obsolete Martin Kou Task Normal FCKeditor 2.6.1 General
Description

As pointed in the docs site, it seems that PreserveSessionOnFileBrowser is not anymore needed since the new dialog system. We should verify it and clean up the code if necessary.

#2189 Gujarati language file Wojciech Olchawa New Feature Normal FCKeditor 2.6.1 UI : Language
Description

Gujarati Language file (gu.js)

#2190 MediaWiki Edit Toolbar visible when in Wikitext mode New Feature Normal General
Description

When using the Wikitext mode, it would be very helpfull to have access to the usual MW Edit Toolbar. For instance, it would then be possible to have access to the signature button.

#2191 A button to activate/deactivate New Feature Normal Project : MediaWiki+FCKeditor
Description

It would be very useful to be able activate or deactivate this editor with the click of a button like with wikEd for example.

#2192 Change Default to "Disable rich editor" New Feature Normal Project : MediaWiki+FCKeditor
Description

It is important to be able to test it on a large scale to have it disabled by default. So it can be tested by volonteers.

Solutions tried here : Change Default to "Disable rich editor" ?

#2194 Opera: Caret doesn't move on right click [CORE-33108] Bug Normal UI : Context Menu
Description

Steps to Reproduce

  1. Load sample01.html.
  2. Click inside the linked "FCKeditor" text to place the caret there.
  3. Right click out of the "FCKeditor" link (e.g. inside "sample text").

The link context menu options will be there because the caret was not moved to the right click point before the context menu got opened. To check it, it is enough to click in the empty space in the toolbar to hide the context menu; you will see that the caret is still in the original location.

Confirmed with Opera build 9972.

#2196 Opera: Dialog dragging flicks Bug Normal UI : Dialogs
Description
  1. Open the About dialog.
  2. Start dragging it from left to right quickly "enough".

You will note that the dialog rendering flicks, specially when dragging over the editor toolbar. The rendering results with Firefox and Safari are much smoother.

Confirmed with Opera build 9972, in an IBM ThinkPad T43 2GHz.

#2197 Opera: style="null" after image dialog Bug Normal General
Description
  1. Remove all contents in the editor.
  2. Insert any Smiley image.
  3. Select the image and open the Image Properties dialog for it.
  4. Don't change anything in the dialog. Simply click "Ok".
  5. Move to Source view.

The following is the current result:

<p><img alt="" style="null" src="/fckeditor/editor/images/smiley/msn/regular_smile.gif" />&nbsp;</p>

Note the style="null" attribute appended to the <img> tag.

Confirmed with Opera build 9972.

#2198 Opera: Focus is out of text on Undo/Redo Bug Normal General
Description

When undoing/redoing editing actions, the focus is not being set to the editing area.

Confirmed with Opera build 9972.

#2200 Html entity problem Bug Normal Core : Output Data
Description

FCKeditor decodes entities and converts custom tag to html comment if something like this is passed to it's contents:

&lt;! example &gt;

it is converted to <!-- example -->

And everything is fine when I pass: &lt; example &gt; - it remains unchanged.

#2201 fck & updatepanel: ie6/7 crash after postback if an image or a table is selected Alfonso Martínez de Lizarrondo Bug Normal FCKeditor 2.6.5 General
Description

I have create an application with fckeditor inside an updatepanel. If inside the editor I insert an image and then select it by clicking on it, doing a postback ie6 and ie7 crashes. The same is also for a table; you can reproduce the problem using the attached project.

#2202 Opera: Form elements are a bit active Bug Normal UI : Dialogs
Description

When placing form elements in the editing area, many of them are still a bit "active", even if inside an editable space. For example:

  • Checkbox: when creating a checkbox and selecting the "Selected" option, it will be checked, as expected. But, if you then click on it, the check will be "visually" removed. Click on it again and nothing happens (don't get checked again). Then, switching to the source view, you will see that the checked="checked" will still be there :/
  • Radio buttons: the same thing as the checkboxes.
  • Text field: works well, mostly. If you right click on it, you will see that the caret will start blinking inside of it and the default Opera context menu is shown. Press ESC and the FCKeditor context menu appears from behind it.
  • Textarea: the same as for the Text field.
  • Select box (1 line): get highlighted on mouse over, and no specific context menu is available.
  • Select box (2+ lines): is completely active inside the editor. You can select options and scroll it. No specific context menu too.
  • Button: not so bad, but get highlighted on mouse over.

So, form fields support is a bit unstable. Inside an editing environment, we would expect those objects to have no activity at all, not even mouse over effects, having simply the dotted blue line when selected.

Confirmed with Opera build 9972.

#2203 Multiple span problem Frederico Caldeira Knabben Bug Normal Core : Styles
Description

span span span span span multiple span multiple span

I select a word, apply a font face, and a font size. View the code that just added two spans, not one as I would expect. If I make any more changes to the word it will just keep on adding spans.

#2204 Opera: paste from right-click menu creates unformatted text even inside formatted blocks [CORE-35090] Bug Normal General
Description
  1. Load sample01
  2. Click inside FCKEditor link to set cursor
  3. Right-click and select "paste"
  4. Paste something

Bug: the text that is pasted does not become part of the linked text, it breaks the link into two parts. Compare with behaviour in Firefox.

#2205 Double indent of first paragraph when selectAll is used Bug Normal General
Description

Firefox specific (using 2.0.0.14) (not IE, not windows Safari)

Reproduction Steps:

  1. Go to the 2.6 demo (http://www.fckeditor.net/demo) type in 2 or more paragraphs.
  2. Click selectAll on the toolbar.
  3. Click indent on the toolbar.

Notice the first paragraph is indented twice.

When I stepped through the FCKIndentCommand._IndentBlock() [in firebug] it didn't happen so should be a fun one.

#2207 check discontinous selections in Firefox3 Task Normal General
Description

According to http://mozillalinks.org/wp/2007/04/discontinuous-selections-available-in-firefox-3/ , Firefox 3 has the ability in the selection to contain multiple elements, so we should review that everything keeps working because people might want to use it.

#2208 Update for Italian Language File Wojciech Olchawa Bug Normal FCKeditor 2.6.1 General
Description

This update was originally posted by zed1973.

Here are the missing translations for Italian language:

> AnchorDelete          : "Rimuovi Ancora",     //MISSING
> ShowBlocks            : "Visualizza Blocchi", //MISSING
> InsertRowAfter                : "Inserisci Riga Dopo",        //MISSING
> InsertRowBefore               : "Inserisci Riga Prima",       //MISSING
> InsertColumnAfter     : "Inserisci Colonna Dopo",     //MISSING
> InsertColumnBefore    : "Inserisci Colonna Prima",    //MISSING
> InsertCellAfter               : "Inserisci Cella Dopo",       //MISSING
> InsertCellBefore      : "Inserisci Cella Prima",      //MISSING
> MergeCells                    : "Unisci celle",
> MergeRight                    : "Unisci a Destra",    //MISSING
> MergeDown                     : "Unisci in Basso",    //MISSING
> HorizontalSplitCell   : "Dividi Cella Orizzontalmente",       //MISSING
> VerticalSplitCell     : "Dividi Cella Verticalmente", //MISSING
> DlgFindAndReplaceTitle        : "Cerca e Sostituisci",        //MISSING
> DlgPasteSec           : "A causa delle impostazioni di sicurezza del
browser,
> l'editor non è in grado di accedere direttamente agli appunti. E' pertanto
> necessario incollarli di nuovo in questa finestra.",  //MISSING
#2209 Configure DefaultFontLabel does not change default used font Bug Normal General
Description

hi,

I have to configure a default font that is used when you enter a text into the editor.

I looked at your documentation and configured the default font like described here:

http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_Options/DefaultFontLabel

After doing this in the font combo box the configured font is chosen. but when you enter any text into the editor no font formating is done, the html source does not have any font tags or anything else.

(I have tried this too for the html examples for FCKeditor_2.6 sample14 => here it does not work too)

would be really important for us that this bug is fixed, because our clients need it urgently.

#2210 [FF] font-weight: bold and font-style:italic instead of strong and em Bug Normal FCKeditor 2.6.1 Core : Styles
Description

Hello,

There is a bug with Firefox when doing some manipulations on bold and italic.

Let's try this with the demo FCK on the website :)

1/ Type "Hello world"
2/ Make the characters "rld" in bold

In Source view, we'll have something like <p>hello wo<strong>rld</strong></p>

3/ Now we delete the substring "orld" and then retype orld

In source view : <p>hello w<span style="font-weight: bold;">orld</span></p>

We have the same kind of bug with the italic button Tested on FF 2.0.0.14 and FF 3RC1 with FCK 2.6

#2211 error in page FCKdialog is undefined Bug Normal General
Description

I'm using FCK editor 2.2 In my localhost it is working fine but when i uploaded it to my site it was showing error in page (in the left bottom of the page)

I clicked on it & it showed me:

'FCKdialog' is undefined

Note: this error found in IE7, FF is okay

#2212 Can not save edits Bug Normal Project : MediaWiki+FCKeditor
Description

I have installed FCKeditor from the May 15 nightly build on MediaWiki 1.12 and PHP 5.2.4. The edit page appears as expected. The problem I am having occurs when I try to save the page. In Firefox on linux, a download dialog box appears asking to download the index.php file. In IE v6 on Widows I get a page not found error. I have tried everything I can think of to identify the source of the problem. I have disabled all installed extensions hoping that it is an extension conflict. No luck. What can I do next?

#2213 Multiple Editors not fireing onload event. Bug Normal General
Description

When there are multiple editors on a given page sometimes the onload event is not fired. This only seems to affect FF2. The bug seems to occur after the first time the page is loaded, that is the second or subsequent refreshes. My guess would be a cache issue.

I don't know a better way to reproduce this issue than to provide a link to a test page I made that should show the issue. Link

#2214 Javascript loading errors when loading FCK in Firefox Bug Normal General
Description

Hi,

I'm integrating FCK on our web application and sometimes when I load FCK, I get these javascript errors. The editor ends up not loading the text area (where you edit your stuff). I got a screen cap of it on Firefox together with the errors Firebug caught. This only happens randomly and so far, only on Firefox.

I was able to fix it by clearing my cache and refreshing the page. Just refreshing it won't do the trick. I've had a few complaints about this already.

Thanks!

#2215 Copy textarea.tabIndex on ReplaceTextarea Frederico Caldeira Knabben New Feature Normal FCKeditor 2.6.1 General
Description

The ReplaceTextarea method could copy the tabindex value from the textarea when replacing it. In this way we automate this feature.

#2216 Find & Replace is not JavaScript-friendly New Feature Normal General
Description

When running Find & Replace against text that is longer than a few paragraphs, the editor will run very slowly and often trigger an alert in FF, informing the user that the script is misbehaving and asking whether it should be stopped or not. This usually happens if are trying to find and replace in one go. A better way to handle this functionality is to process smaller chunks of text, say 100 lines or one paragraph at a time, and use JS timer (i.e. setTimer) to process every chunk leaving a few milliseconds between iterations.

#2218 Improve browser detection Martin Kou New Feature Normal FCKeditor 2.6.1 General
Description

It seems that Epiphany browser is getting more and more popular recently. This browser is based on Gecko engine and is compatible with FCKeditor. However, as reported by yell0w at #fckeditor IRC channel: http://irc.fckeditor.net/index.php?date=2008-05-23 current implementation of browser detection doesn't detect it properly.

Epiphany introduces itself as

Mozilla/5.0 (X11; U; Linux i686; en; rv:1.9b5) Gecko Epiphany/2.22

so searching for "Gecko/" fails.

Similar issue for FCKeditor.Java have been reported in #1744. There is another example of "user agent" that fails current browser detection:

Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.0.2) Gecko/Debian-1.5.dfsg+1.5.0.2-3 Firefox/1.5.0.2
#2219 Background-image and width problems in IE when using custom stylesheet (EditorAreaCSS) Bug Normal General
Description

As mentioned here: EditorAreaCSS: HTML- and body-tags not working in IE? I've found a problem when using EditorAreaCSS in IE:

  • Background-image for HTML and Body don't work when using them both
  • width is ignored

The background-image for the HTML or BODY tags do work, but not if you use them both.

The width property for HTML and BODY is ignored: IE always shows the lines (i.e. paragraphs over the full length of the editor).

Two screenshots:

I've prepared a test page to see it:

I've installed the IE Developer Toolbar. With that tool I saw that the HTML and BODY tag did had a width property, but the problem was still there.

The background-image is not the worst problem: not being able to set the width is very annoying for the editors using FCKEditor.

What's causing this and how to fix this?

#2220 Encode email "mailto:" links New Feature Normal FCKeditor 2.6.3 UI : Dialogs
Description

So far the email address typed in the link dialog gets packed as a href-attribute unencoded into the html source. This is easy for spambots to be scanned and so it is necessary to at least obscure the mail address. This proposal provides a possibility to encode the email address using the simple String.fromCharCode() technique.

We modify the file "editor/dialog/fck_link/fck_link.js" such that the method oParser.CreateEMailUri returns the email href-attribute not in plain text but encoded.

Replace the return statement of the oParser.CreateEMailUri method

  return sBaseUri + sParams ;

by

  var uri = sBaseUri + sParams ;
  var urj = '' ;
  for ( var i = 0; i < uri.length; i ++ ) {
    if ( i > 0 ) { urj += ','; }
    urj += uri.charCodeAt(i) ;
  }
  return 'javascript:location.href=String.fromCharCode(' + urj + ')' ;

As the "protocol" of the link is no more "mailto", we should implement also a decoder that from the encoded href-attribute gets back the email address as well as the subject and the body. This is important if the CKEditor user wants to edit again an encoded email link. This is not yet implemented.

#2221 Constant "database is locked" error on the dev site Bug Normal General
Description

The dev site (Trac) is throwing "database is locked" errors constantly, no matter the site load.

When this error happens, the page has to be refreshed several times until it works.

#2222 EditTools do not work with FCK Bug Normal Project : MediaWiki+FCKeditor
Description

Any content within the EditTools, which uses JavaScript (via the CharInsert extension) to add data to the editing box, cannot be added to the edit box when the FCK editor is in use. When the extension is disabled, it works fine, however.

#2223 Unnecessary link piping Bug Normal Project : MediaWiki+FCKeditor
Description

When defining links, every single link is piped, regardless of whether it is necessary or not.

For instance

[[William Adama]]

turns into

[[William Adama|William Adama]]

It is a mild irritation for those who like clean code (wiki or otherwise), since piping is unnecessary in the above case.

#2224 page not found error for specific string Bug Normal General
Description

Entering the following string in FCKEditor and submitting the form results in a page not found error:

insert locks from [anything]

where [anything] can be any string

#2225 Problem with angle brackets Bug Normal Server : ASP.Net
Description

Firstly I use FCKeditor with ASP and it works perfectly. Now I'm attempting to use it with ASP.NET and then I find the problem below.
I want to input some Code in my articles such as

#include <iostream>
int main(){
    cout << "Opps..." << endl;
    return 0;
}

It works well in the _sample with ASP. The <iostream> will be translated into &lt;iostream&gt;. But when I use it in ASP.NET it becomes

<pre>
#include <iostream><br />
int main(){<br />
    cout &lt;&lt; &quot;Opps...&quot; &lt;&lt; endl;<br />
    return 0;<br />
}<br />
<br />
</iostream>
</pre>

The <iostream> is translated as a tag and it is automatically completed. Of course it's not what I want it to be.
In fact I'm using exactly the default "fckconfig.js" and the simple

<fck:FCKeditor ID="fckEditor" BasePath="Editor/"
    runat="server" Height="400px" EditorAreaCSS="editorArea" />

to put it onto my ASP.NET page. Now I'm wondering whether the ASP.NET config (like web.config) will affect the FCKeditor. I've written 'validateRequest="false"' in my web.config for all pages.
Thank you.
Jim

#2226 Font Mismatch Problem Bug Normal Core : Output Data
Description

I have an existing web site with css. We set up the fckeditor for non html programmers to manage the webpages. In the WYSIWYG mode they set the font tags and such and once they save it to the database everything looks fine. Once it is being viewed on the site the fonts are mismatched. Do you have any suggestion or recommendation on how to fix this? Or have you heard of this happening?

#2227 Spacing issues Bug Normal General
Description

Saving a page often inserts extra space between lines and paragraphs. Trying to remove extra space sometimes deleted content.

#2228 Open FCK Editor with call to stored HTML as CLOB data in database New Feature Normal General
Description

The ability to programmaticly extract stored HTML as CLOB data, then opening FCK editor to edit the HTML, then calling an Oracle stored procedure, or JAVA method to insert the edited HTML as a new CLOB is needed, and would sure go a long way to gain high use of FCK editor within the development community.

#2230 Image captions erased if formatted in wikicode. Bug Normal Project : MediaWiki+FCKeditor
Description

Any image captions that have wiki syntax, either for linking or for style formatting, are erased/omitted when the page is edited using this extension.

For instance this syntax:

[[Image:Galactica's deckhands.jpg|thumb|right|Chief [[Galen Tyrol]] and his deckhands.]] 

Gets converted to this:

[[Image:Galactica's deckhands.jpg|thumb|right]] 

Only after the page is saved and then edited by either the original editor or by someone else using the FCK editor.

#2231 ProcessHTMLEntities=false; populates empty Editor Bug Normal FCKeditor 2.6.1 General
Description

Dear FCK-Developers,

when I set FCKConfig.ProcessHTMLEntities to false the editor-source is automatically populated with

<p>&#160;</p>

on startup if the editor-field is empty. The same thing happens when I delete all editor-contents and then switch to Source-View. I also found out that this behavior only occurs when FCKConfig.FillEmptyBlocks is set to true.

It would be nice if someone could confirm this.

Thanks in advance, Matt

#2233 Maximize editor screen don't show properly Bug Normal General
Description

Dear,

We intergrated the fine FCKeditor in our cms. But when the user maximize the editor screen the content isn't showed properly and the toolbar is gone so I cannot go back too the normal view.

I attached two files. One file includes the screenshot and the other file the generated source code.

Can you explain me how I solve this?

Your sincerely, Marten van Urk

#2234 DIV container tool Martin Kou New Feature Normal FCKeditor 2.6.3 General
Description

Currently there is no way to create a <div> which embraces a series of block elements. For example, producing the following output:

<div class="MyDiv">
    <p>Para 1</p>
    <p>Para 2</p>
</div>

The current style system always see <div> as a block element, and therefore, when applying <div> based styles, it converts current blocks to <div>.

The idea would be creating a dedicated button for it. It would behave much like the Blockquote button, but it should have a dialog containing the following fields, basically:

  • General Tab:
    • Style: a selection box listing all styles defined for <div> elements in the style system. We should create a reusable component that can be used on other dialogs, for tables, cells, links, etc.
    • Class: the "class" attribute.
  • Advanced Tab:
    • Id: the "id" attribute.
    • Inline Style: the "style" attribute.
    • Title: the "title" attribute.
    • Language: the "lang" attribute.
    • Text Direction: a selection for the "dir" attribute.

The only thing still pending to understand is how to edit a previously created <div> and how to delete it. Maybe it is the case to leave the edit and delete operations in the context menu only, while the toolbar button will always create a new <div>, making it possible to nest them.

#2235 Cannot drag and drop table in Firefox Bug Normal General
Description

A table cannot be moved when using Firefox 2.0.0.14/Windows XP Pro. No cross hair will appear when cursor is placed over table border. This works fine in Internet Explorer 7.0.

To reproduce, open the nightly build, click the insert table button, accept default properties and click OK, and place the mouse cursor over the border. Try to drag the table around.

#2238 Object placeholder is blank in compressed version Frederico Caldeira Knabben Bug Normal FCKeditor 2.6.1 General
Description

Steps to Reproduce

  1. Open the nightly build.
  1. Paste any YouTube video in the source, like the following:
<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/1suHskbL1pE&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/1suHskbL1pE&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>
  1. Switch to WYSIWYG.

Note that the <object> placeholder is totally blank, instead of having the puzzle icon and the border. It is still selectable though, so it seems to be something related to the compressed CSS.

The "unpacked" SVN verstion (trunk) don't have this problem.

#2239 Remove <?= from php scripts Bug Normal FCKeditor 2.6.2 Server : PHP
Description

Reported on #fckeditor IRC channel by OZZlE.

When short_open_tag setting is disabled, <?= doesn't work.

<?php echo...

should be used instead.

#2240 Editor doesn't support XHTML spec for inclusion of <div> <p> etc within a <li> list item Bug Normal Core : Lists
Description

See Word example for the kind of formatting Travelers (our customer and a customer of your with current Support) are attempting to create. Ignore the blank paras between list items - clearly these should be removed and included as margin between the list items. It is the para following number 1. that is the particular problem.

HTML examples as follows:

Nested list without unnumbered para (from Word):

<ol type="1"> <li style="margin: 0pt; color: black"><span style="font-size: 10pt">The following Exclusions are added to this Network Security Section </span> <ol style="margin-top: 0pt" type="a"> <li style="margin: 10pt 0pt 0pt; color: black"><span style="font-size: 10pt">Damage directly or indirectly caused by or resulting from any Computer or Telecommunication System used for the purpose of operating or controlling machinery or equipment and inter alia this exclusion shall exclude Damage directly or indirectly resulting from computer controlled building management systems security lighting security cameras and other security devices and fire protection devices </span></li> </ol> </li> </ol>

Nested list with unumbered para inbetween (from Word):

<ol type="1"> <li style="margin: 0pt; color: black"><span style="font-size: 10pt">The following Exclusions are added to this Network Security Section </span></li> </ol> <div style="margin: 0pt 0pt 0pt 36pt"><span style="font-size: 10pt; color: black">The insurance provided under this Network Security Section does not cover</span></div> <ol type="1"> <ol type="a"> <li style="margin: 0pt; color: black"><span style="font-size: 10pt">Damage directly or indirectly caused by or resulting from any Computer or Telecommunication System used for the purpose of operating or controlling machinery or equipment and inter alia this exclusion shall exclude Damage directly or indirectly resulting from computer controlled building management systems security lighting security cameras and other security devices and fire protection devices </span></li> </ol> </ol>

Nested list with unumbered para inbetween (manually edited to achieve valid XHTML):

<ol type="1"> <li style="margin: 0pt; color: black"><span style="font-size: 10pt">The following Exclusions are added to this Network Security Section </span><div style="margin: 0pt 0pt 0pt 36pt"><span style="font-size: 10pt; color: black">The insurance provided under this Network Security Section does not cover</span></div> <ol type="a"> <li style="margin: 0pt; color: black"><span style="font-size: 10pt">Damage directly or indirectly caused by or resulting from any Computer or Telecommunication System used for the purpose of operating or controlling machinery or equipment and inter alia this exclusion shall exclude Damage directly or indirectly resulting from computer controlled building management systems security lighting security cameras and other security devices and fire protection devices </span></li> </ol></li> </ol>

Example created in the Editor: nested list:

<ol type="1"> <li><span>The following Exclusions are added to this Network Security Section</span> <ol type="a"> <li><span><span style="font-size: 10pt; color: black; font-family: Arial; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA">Damage directly or indirectly caused by or resulting from any Computer or Telecommunication System used for the purpose of operating or controlling machinery or equipment and inter alia this exclusion shall exclude Damage directly or indirectly resulting from computer controlled building management systems security lighting security cameras and other security devices and fire protection devices </span></span></li> </ol> </li> </ol>

Example created in the Editor: nested list with unnumbered para inbetween:

<ol type="1"> <li><span>The following Exclusions are added to this Network Security Section</span></li> </ol> <p style="margin-left: 40px">Unnumbered para inbetween.&nbsp;</p> <ol type="a"> <li><span><span style="font-size: 10pt; color: black; font-family: Arial; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-GB; mso-fareast-language: EN-GB; mso-bidi-language: AR-SA">Damage directly or indirectly caused by or resulting from any Computer or Telecommunication System used for the purpose of operating or controlling machinery or equipment and inter alia this exclusion shall exclude Damage directly or indirectly resulting from computer controlled building management systems security lighting security cameras and other security devices and fire protection devices </span></span></li> </ol>

It generally seems to be very hard to workaround this problem, even in the Editor. Travelers are wanting a solution that allows users to create freetext clauses in XHTML without needing to understand and code in XHTML. However, their developers can't workaround this issue, hence the ticket.

#2242 Editor content is corrapted after pressing del in the end of paragraph (FireFox) Bug Normal General
Description

Steps: 1.On the demo set cursor at the end of the text

  1. Hit enter (creating new paragraph)
  2. type something and press del
  3. Content is corrupted

(If before pressing del you press left arrow, then everything will be ok). The same effect can be achived if you just start to backspace your text from the end and when all is deleted press del. Or ctr-A then del or backspace and then del.

FireFox Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 Windows XP

#2243 File endings are incorrect in released packages Wiktor Walc Bug Normal FCKeditor 2.6.4 General
Description

Reported by bitsfritz in #1667:

The *.pl and *.cgi files in FCKeditor 2.6 and nightly build still have dos style linefeeds (CRLF), so something went wrong.

#2244 FCKeditorAPI::InitializeAPI, work inside nested iframes Bug Normal General
Description

If you load fckeditor inside nested iframes, and create and destroy instances of fckEditor, some really really wierd things can go on which mess up the form.submit() method.

Can I suggest changing the API to use the absolute topmost window object of the browser.

See attached patch.

#2245 Make inserting images more like MS Word New Feature Normal General
Description

Make inserting images more like MS Word by including images in the save(form post) without uploading them first.

1) images can be sent with the save as normal post data.

2) images can be displayed before upload (<IMG src="file:///C:/a.jpg" />). (currently not working inside FCK)

3) the file upload inputs can be hidden when not adding files and already added file inputs can be hidden as well. file inputs can be unlimited in number.

this would make FCK have fewer clicks and make it more simple.

#2246 Create local short named aliases to global references New Feature Normal Project : CKPackager
Description

The packager should be able to scan a function for all global references made inside of it. A global reference is a name not declared inside the function scope with the "var" or "function" statements.

For example, suppose we have the following function:

function( param )
{
    if ( CKEDITOR.env.IE || CKEDITOR.tools.trim( param ) == '' )
        CKEDITOR.doStuff();

    CKEDITOR.doOtherStuff();

    if ( CKEDITOR.env.IE )
        alert( CKEDITOR );
   
    return CKEDITOR.tools.trim( CKEDITOR.doAgain() );
}

... it would end up like this:

function( A )
{
    var B = CKEDITOR;
    var C = B.env.IE,
        D = B.tools.trim;

    if ( C || D( A ) == '' )
        B.doStuff();

    B.doOtherStuff();

    if ( C )
        alert( B );
   
    return D( B.doAgain() );
}

Note that the code is smart enough to reuse the new names when creating other var names too.

#2247 SHIFT+SPACE to insert &nbsp; Frederico Caldeira Knabben New Feature Normal FCKeditor 2.6.3 General
Description

Hitting SHIFT+SPACE should insert a &nbsp; in the editor.

#2248 FF: FCK.InsertHtml( '&nbsp;') inserts a plain space Frederico Caldeira Knabben Bug Normal FCKeditor 2.6.2 General
Description

The FCK.InsertHtml( '&nbsp;') call inserts a plain space in the selection, instead of the proper &nbsp; char.

#2249 IE: browser throws an error when FCKeditor is placed in a popup window Bug Normal Server : PHP
Description

Im getting 800a025e error in IE7, while popup the fck editor in window.

#2250 Error with convert tag nbsp while POSTing content Bug Normal Server : PHP
Description

example "<p>1</p><p>2</p><p>3</p>", nothing error, content sending correctly, but if i insert in place "<p>1 &nbsp;</p>" after POST, content is break and i have in result only <p>1</p>, another part of content as "<p>2</p><p>3</p>" is absent!

Please help me with this trouble. I am looking this problem in all version 2.5 and higher

i am using a FireFox

#2251 FCKeditor assumes default colours Bug Normal General
Description

If you change the default colours in your web browser, the FCKeditor formatting "breaks", and can become unreadable.

For example if you change your default web browser colours to a dark blue background, bright yellow text and bright cyan links, then when you use FCKeditor (and indeed browse the FCKeditor homepage) the text is bright yellow on a white background, becoming virtually unreadable.

The problem is that in many places the background colour is changed, but the foreground colour is not changed at the same time (assuming it will always be black, which it may not.) Whenever the background colour is changed, the foreground colour should also be changed otherwise it could easily clash with the new background colour, given that the default colours are user-dependent. Likewise whenever the foreground colour is changed the background colour should also be changed (although this is less of a problem.)

#2252 Setting to disable our custom menu Martin Kou New Feature Normal FCKeditor 2.6.3 General
Description

There should be a configurable way to not use our custom context menu at all, leaving the default browser context menu to work.

The solution is already proposed at #311. I think the "BrowserContextMenu" setting name is better because it follows the already present "BrowserContextMenuOnCtrl" name.

#2253 Empty anchor tags being removed. Bug Normal General
Description

If you make the code <a href="bob"></a> FCKeditor will eat it at it's first opportunity. Since this is perfectly valid code I'm pretty sure this was an introduced bug while trying to fix SF-BUG 1556878. They tried to fix the outcome not the cause and then removed perfectly valid xhtml in the process.

The easiest way to reproduce this is as follows:

  1. Start an FCKEditor.
  2. Go to source mode (in FCKEditor)
  3. Type in <a href="bob"></a> (note nothing in the contents area of the anchor)
  4. Go to WYSIWYG mode.
  5. Go back to source mode.

You'll find that your typing has vanished.

Here's the fix. The source file is editor/_source/internals/fckxhtml.js in function FCKXHtml.TagProcessors .

If you remove the following lines the "expected" behavior returns.

                // Firefox may create empty tags when deleting the selection in some special cases (SF-BUG 1556878).
                if ( htmlNode.innerHTML.Trim().length == 0 && !htmlNode.name )
                        return false ;

The real code that gets run is editor/js/fckeditorcode_gecko.js and editor/js/fckeditorcode_ie.js .

It's a little tricky to edit this because the lines are huge. Remove the following text from both files and you'll be golden:

if (B.innerHTML.Trim().length==0&&!B.name) return false;

I suggest this code somehow makes it into the codebase as a fix.

--

Jeffrey Hundstad

#2254 Malfunction in FCKSelection object Martin Kou Bug Normal FCKeditor 2.6.2 General
Description

FCKSelection have 2 methods called: HasAncestorNode and MoveToAncestorNode. Both of theme have input parameter called nodeTagName of type string and as written in comments of this function the passed string should be written in upper case.

But in the code when check is done actual tag name never converted to upper case.

if ( oContainer.tagName == nodeTagName ) return true ;

So if your edited HTML has tags written in lower case (like custom tags) this functions won't find the ancestor tag.

Hope you'll fix this small thing in next revision.

tank's

#2256 [IE] error when perfroming drag and drop with ForcePasteAsPlainText set to true Bug Normal General
Description

When I set ForsePasteAsPlainText to true and drag and drop some content from the page to FCKeditor I get the following error:

htmlfile: Incompatible markup pointers for this operation.

It happens in fckeditorcode_ie.js on the following line:

FCKDomRange.prototype.MoveToSelection=function(){
    //...
   D.pasteHTML('<span id="'+E+'"></span>'); //error appears here
   //...
}

text is inserted but it is styled.

Steps to reproduce:

  1. html-file:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>FCKeditor - Sample</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="robots" content="noindex, nofollow">
    <script type="text/javascript" src="fckeditor/fckeditor.js"></script>
</head>
<body>
    <form>
	<font color="Red">drag and drop me</font>
        <script type="text/javascript">
            var oFCKeditor = new FCKeditor('FCKeditor1');
            oFCKeditor.BasePath = "fckeditor/";
            oFCKeditor.Create();
        </script>
    </form>
</body>
</html>

  1. contents of 'fckeditor/' is default.

Except, FCKConfig.ForcePasteAsPlainText = true ; in fckconfig.js

  1. Drag and drop 'drag and drop me' text to FCKeditor

Note: couple of times I've got "Paste as Plain Text Dialog" as a result. But in most times it was described error. I didn't notice regularity here.

Browser: IE 7.0.5730.11 OS: Windows XP with SP2

#2257 nested dialogs don't work correctly Bug Normal UI : Dialogs
Description

Assume that in a dialog you want to show a mini-editor (ex: in the google maps plugin, being able to insert an image or link in the marker text).

So the process is: base editor, launches a dialog (let's name it base-dialog) that contains a minieditor (just another instance with a simplified toolbar).

If a dialog is launched from the minieditor, then there are several problems.

  • First time, the cover frame is show in the main editor, not covering the base-dialog. The insertion point in the minieditor is lost.
  • The second time it seems to work fine.
  • Close base-dialog, and launch it again. Now when you try to launch another dialog from the minieditor, it is shown behind the current base-dialog, and the game is over, you won't be able to get back to the main editor.

I think that at least the last part is important to fix. No matter what happens, no matter if there is any error, the user should be able always to close the dialogs and return back to its content (I mean: there might be other unknown circumstances where there's an error, but that shouldn't mean a reload of the page for the user).

#2258 FCK/Mediawiki does not save edits in IE7 -- but in FF is ok Bug Normal Project : MediaWiki+FCKeditor
Description

No error messages appear when this happens. When using IE7 to fill out forms created w/ Semantic Forms Mediawiki extension, cannot save the changes. Changes are not committed, instead you are returned to the FCK editing screen. This behavior does not occur in FF and changes are saved properly. Using Mediawiki 1.12, latest version of FCKeditor nightly build, and latest Semantic Forms extension.

#2259 javascript in deleted form header Bug Normal Safari Compatibility General
Description

i detected the bugs on Safari when i paste the entire html source code into the fck source view.The html contain some javascript code between <head> tags.when i call oEditor.GetXHTML .It displays the entire html with no javascript in the header. also in Safari when i switched form source to design view the javascript in the header is deleted. or the data between <script>&</script> tags is cleared.

#2260 Expose TextNode on Toolbar Button New Feature Normal UI : Toolbar
Description

I just created a patch to the editor source in order to expose the textNode that is the text of a text-only button in the toolbar. I needed this functionality in order to support a character counter plugin. I could see this sort of functionality being useful in other plugins as well that want to update toolbar button text.

Here's some sample code using the changed version: (charsCounterButton is defined as a global variable when created) charsCounterButton._UIButton.TextNode.nodeValue = 'Left: ' + this.LeftChars ;

#2261 [IE] @import in EditorAreaCss causes a javascript error in source view Martin Kou Bug Normal FCKeditor 2.6.3 General
Description

I am having a similar problem as described here: http://www.fckeditor.net/forums/viewtopic.php?f=6&t=9345&p=24267&hilit=editorareacss+import#p24267

But my problem is a little bit different.
In my fckconfig.js I set the

FCKConfig.EditorAreaCSS = 'mystyles.css' ;

then in mystyles.css I have the lines:

@import "/includes/css/main.css"; 
@import "/includes/css/foo.css"; 
@import "/includes/css/bar.css"; 

html, body {
	text-align: left;
	background-color: white;
	font-size: 12px;
}

I do this because I have 3 css files I want my editor area to show up like. Once I do this, when I bring up my page that has the fckeditor textarea on it, I will do this:

  1. click in the textarea - the menu does not pop down - like it should.
  2. manually put the menu down
  3. click source button.
  4. don't make any changes and just click ok on the source popup window (yes i have my source set to pop up)
  5. you get a javascript error that says:

Permission denied fckeditor.html?InstanceName=[mytextarea name]&ToolBar=Basic

If I remove the @imports out of my mystyles.css file, it will work fine.

I also downloaded the nightly build for fckeditor on 6/8/2008 and tried reproducing this bug on that nightly build version too, and the bug is still there.

Please notify me once this is fixed so I can upgrade. For now, I'm sticking to 2.4.2 until this is resolved.

Thanks so much!!! -NS

#2262 Creating a list from selection in gecko fails if starting from a blank page Bug Normal Core : Lists
Description

The Problem: When starting with a completely empty page and entering text then selecting and making it a list, the items are not put into a list but instead two spans are created with what look like protected source id's and the first item/line is deleted.


To replicate: Goto a page with the editor in, if there is default content in there goto source view and delete evereything the go back to wysiwyg mode. Enter a couple of lines of text, select them then click either the order list or unordered list toolbar items.


Results: Before list operation:

<p>test1</p>
<p>test2</p>
<p>test3</p>

After list operation:

<p><span style="display: none;" id="1213038742941S">&nbsp;</span></p>
<p>test2</p>
<p>test3</p>
<p><span style="display: none;" id="1213038743732E">&nbsp;</span></p>


Platforms I have tested this with firefox 2.0.0.14 & 2.0.0.12 on windows and linux with the same results, IE7 doesn't exhibit the same issue but i havent had a chance to test any other browsers.

#2263 Editor - anchor - java script error Martin Kou Bug Normal FCKeditor 2.6.3 General
Description

Click the anchor button and give the name as test.then click source button.then return back from source(reclicking that source button).then click only one time undo button.then click source button.that time java script error is occoured.This problem only in ie. Firefox is having no problem

#2265 Editor - Anchor,Page Break,HR,INPUT:hidden and Flash - java script error Bug Normal General
Description

Same error of #2263 is occured using Page Break,HR,INPUT:hidden and Flash in the editor.i think that error is occured on with fckdocumentprocessor.js

#2267 ASP.NET integration: FCKeditor.IsDirty() can return incorrect results when UpdatePanels are used Bug Normal General
Description

If partial page rendering is made via UpdatePanels, FCKeditor.IsDirty() of editors outside UpdatePanel that is rendered return [true]. No matter if they are dirty or not.

Steps to reproduce:

  1. 'fckeditor/' folder contents is default.
  2. aspx file content:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" 
    ValidateRequest="false" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Test page</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="scriptManager" runat="server" />
        <div>
            <asp:UpdatePanel ID="updatePanel1" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <div style="border: solid 1px Black;">
                        Update panel 1
                        <FCKeditorV2:FCKeditor ID="fckEditor1" BasePath="fckeditor/" runat="server" />
                        <asp:Button ID="updateButton1" runat="server"
                            Text="Update1" 
                            OnClick="updateButton1_Click" />
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
            <br />
            <asp:UpdatePanel ID="updatePanel2" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <div style="border: solid 1px Black;">
                        Update panel 2
                        <FCKeditorV2:FCKeditor ID="fckEditor2" BasePath="fckeditor/" runat="server" />
                        <asp:Button ID="updateButton2" runat="server"
                            Text="Update2"
                            OnClick="updateButton1_Click" />
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </form>
    <script type="text/javascript">
        function FCKeditor_OnComplete(editorInstance)
        {
            editorInstance.Events.AttachEvent('OnFocus', FCKEditor_OnFocus);
        }
        
        function FCKEditor_OnFocus(editorInstance)
        {
            alert(editorInstance.Name + '.IsDirty() = ' + editorInstance.IsDirty());
        }
    </script>
</body>
</html>
  1. codebehind file content
using System;
using System.Web.UI;

public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
        fckEditor1.Value = DateTime.Now.ToString();
        fckEditor2.Value = DateTime.Now.ToString();
    }

    protected void updateButton1_Click(object sender, EventArgs e)
    {
    }

    protected void updateButton2_Click(object sender, EventArgs e)
    {
    }
}
  1. Page loads first. Set focus to first editor - 'fckEditor1.IsDirty() = false' alert as a result. Set focus to second editor - 'fckEditor2.IsDirty() = false' alert as a result. As expected
  1. Click 'Update1' button - updatePanel1 is updated
  1. Set focus to second editor - 'fckEditor2.IsDirty() = true' alert as a result. Instead of expected 'fckEditor2.IsDirty() = false'.

FCKEditor Version: 2.6, Night build .NET integration assembly: 2.5.2912.21007 Browsers: FF 2.0.0.14, IE 7.0.5730.11

#2268 ASP.NET integration: FCKeditor.IsDirty() can return incorrect results when UpdatePanels are used Bug Normal Server : ASP.Net
Description

If partial page rendering is made via UpdatePanels, FCKeditor.IsDirty() of editors outside UpdatePanel that is rendered return [true]. No matter if they are dirty or not.

Steps to reproduce:

  1. 'fckeditor/' folder contents is default.
  2. aspx file content:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" 
    ValidateRequest="false" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Test page</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="scriptManager" runat="server" />
        <div>
            <asp:UpdatePanel ID="updatePanel1" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <div style="border: solid 1px Black;">
                        Update panel 1
                        <FCKeditorV2:FCKeditor ID="fckEditor1" BasePath="fckeditor/" runat="server" />
                        <asp:Button ID="updateButton1" runat="server"
                            Text="Update1" 
                            OnClick="updateButton1_Click" />
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
            <br />
            <asp:UpdatePanel ID="updatePanel2" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                    <div style="border: solid 1px Black;">
                        Update panel 2
                        <FCKeditorV2:FCKeditor ID="fckEditor2" BasePath="fckeditor/" runat="server" />
                        <asp:Button ID="updateButton2" runat="server"
                            Text="Update2"
                            OnClick="updateButton1_Click" />
                    </div>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </form>
    <script type="text/javascript">
        function FCKeditor_OnComplete(editorInstance)
        {
            editorInstance.Events.AttachEvent('OnFocus', FCKEditor_OnFocus);
        }
        
        function FCKEditor_OnFocus(editorInstance)
        {
            alert(editorInstance.Name + '.IsDirty() = ' + editorInstance.IsDirty());
        }
    </script>
</body>
</html>
  1. codebehind file content
using System;
using System.Web.UI;

public partial class _Default : System.Web.UI.Page 
{
    protected void Page_Load(object sender, EventArgs e)
    {
        fckEditor1.Value = DateTime.Now.ToString();
        fckEditor2.Value = DateTime.Now.ToString();
    }

    protected void updateButton1_Click(object sender, EventArgs e)
    {
    }

    protected void updateButton2_Click(object sender, EventArgs e)
    {
    }
}
  1. Page loads first. Set focus to first editor - 'fckEditor1.IsDirty() = false' alert as a result. Set focus to second editor - 'fckEditor2.IsDirty() = false' alert as a result. As expected
  1. Click 'Update1' button - updatePanel1 is updated
  1. Set focus to second editor - 'fckEditor2.IsDirty() = true' alert as a result. Instead of expected 'fckEditor2.IsDirty() = false'.

FCKEditor Version: 2.6, Night build .NET integration assembly: 2.5.2912.21007 Browsers: FF 2.0.0.14, IE 7.0.5730.11

#2269 [IE] ForcePasteAsPlainText does not work after setting FCKeditor.EditorDocument.designMode to 'on' Bug Normal General
Description

If I set FCKeditor.EditorDocument.designMode = 'on' ForcePasteAsPlainText does not work

Steps to reproduce

  1. Html file:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>FCKeditor - Sample</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="robots" content="noindex, nofollow">
    <script type="text/javascript" src="fckeditor/fckeditor.js"></script>
</head>
<body>
    <font color="Red">Copy & paste me</font>
    <script type="text/javascript">
        var oFCKeditor = new FCKeditor('FCKeditor1');
        oFCKeditor.BasePath = "fckeditor/";
        oFCKeditor.Create();
        
        function FCKeditor_OnComplete(editorInstance)
        {
            editorInstance.EditorDocument.designMode = 'on';
        }
    </script>
</body>
</html>
  1. Contents of 'fckeditor/' folder are default. Except FCKConfig.ForcePasteAsPlainText = true ; in fckconfig.js
  1. Copy & paste 'Copy & paste me text' - it is styled. Not plain text as expected

Note: I use FCKeditor.EditorDocument.designMode to make editor readonly and editable.

Browser: 7.0.5730.11 FCKeditor: 2.6

#2270 Resizing Window causes cursor to jump to the top Bug Normal General
Description

When the editor 's containing window is resized, the editor jumps/scrolls to the top line. It should remember scroll position. This has become more of a problem with the new dialog system. In Firefox, if the dialog window is bigger than the current window view or is dragged outside of the current view (to see the selection underneath for example), I believe a resize event is being triggered and the editor jumps to the top line again.

The jumping of the cursor with manual window resizing can be reproduced in both Firefox and IE 7 on the FCKeditor Demo page (http://www.fckeditor.net/demo). I am on WinXP Sp2.

#2271 Question mark in EditorAreaCSS-path Bug Normal General
Description

Steps to reproduce: Just add a question mark to the EditorAreaCSS-path.

If there is a question mark in the path of the EditorAreaCSS-setting, stylesheets are not applied any more. I had a look at the generated source, and it looks like this:

<style type="text/css"> styleWrapper.php?test=go </style>

instead of: <link type="text/css" rel="stylesheet" href="styleWrapper.php?test=go">

I used version 2.5.1 before and I had no problem with this.

#2272 FF3: Paste from word leaves lots of garbage tags Martin Kou Bug Normal FCKeditor 2.6.3 Plugin : Paste from Word
Description

In Firefox 3 RC3, the "paste from word" feature leaves lots of garbage tags behind. Specifically:

  • It does not remove comments.
  • It does not remove <style> elements.
  • It does not remove <meta> elements.
  • It does not remove <link> elements.

The comments issue can be fixed by changing this line in fck_paste.html's CleanWord function:

html = html.replace(/<\!--.*?-->/g, '' ) ;

...to this:

html = html.replace(/<\!--[\s\S]*?-->/g, '' ) ;

(Because . does not match new lines, multi-line comments are not removed; [\s\S] does the trick instead.)

To be safe, I recommend making similar changes to all of the fck_paste.html instances where .* is used. Specifically, these lines:

html = html.replace(/<o:p>.*?<\/o:p>/g, '&nbsp;') ;
html = html.replace( /<SPAN\s*>(.*?)<\/SPAN>/gi, '$1' ) ;

html = html.replace( /<FONT\s*>(.*?)<\/FONT>/gi, '$1' ) ;
html = html.replace( /<(\w+)[^>]*\sstyle="[^"]*DISPLAY\s?:\s?none(.*?)<\/\1>/ig, '' ) ;
html = html.replace( /<(H\d)><FONT[^>]*>(.*?)<\/FONT><\/\1>/gi, '<$1>$2<\/$1>' );
html = html.replace( /<(H\d)><EM>(.*?)<\/EM><\/\1>/gi, '<$1>$2<\/$1>' );
var re = new RegExp( '(<P)([^>]*>.*?)(<\/P>)', 'gi' ) ;	// Different because of a IE 5.0 error

...should be changed respectively to:

html = html.replace(/<o:p>[\s\S]*?<\/o:p>/g, '&nbsp;') ;
html = html.replace( /<SPAN\s*>([\s\S]*?)<\/SPAN>/gi, '$1' ) ;

html = html.replace( /<FONT\s*>([\s\S]*?)<\/FONT>/gi, '$1' ) ;
html = html.replace( /<(\w+)[^>]*\sstyle="[^"]*DISPLAY\s?:\s?none([\s\S]*?)<\/\1>/ig, '' ) ;
html = html.replace( /<(H\d)><FONT[^>]*>([\s\S]*?)<\/FONT><\/\1>/gi, '<$1>$2<\/$1>' );
html = html.replace( /<(H\d)><EM>([\s\S]*?)<\/EM><\/\1>/gi, '<$1>$2<\/$1>' );
var re = new RegExp( '(<P)([^>]*>[\s\S]*?)(<\/P>)', 'gi' ) ;	// Different because of a IE 5.0 error

Also, to get rid of the <meta>, <link> and <style> elements, I suggest adding these additional replacements:

// Remove meta/link tags
html = html.replace(/<(META|LINK)[^>]*>\s*/gi, '' ) ;

// Remove style tags
html = html.replace( /<STYLE[^>]*>([\s\S]*?)<\/STYLE[^>]*>/gi, '' ) ;
#2273 dragresizetable plugin is broken in FF3 Martin Kou Bug Normal FCKeditor 2.6.2 General
Description

This bug was discovered while testing for #1614:

  1. Enable the dragresizetable plugin.
  2. Go to sample01.html in Firefox 3.
  3. Create a table.
  4. Try to resize its columns by draggable.
  5. It doesn't work, FF3 thinks you're wanting to drag the indicator .gif out of the document.
#2277 Punctuation Placement Issue with Right-to-Left Language Input Bug Normal UI : Language
Description

The following bug report is on FCKEditor v2.5.1 and also verified to happen in 2.6. on the fckeditor demo page. Happens in Windows XP with IE 7 and FF 2 and when entering information using Hebrew-enabled windows plus a hebrew keyboard.

The punctuation characters jump to the right instead of being entered correctly towards the left. This does NOT happen in normal textarea input fields ... only in the FCKeditor enabled fields.

Below is the complete support ticket from our site with all details.

Thank you, -Erik Kangas

~

Client: June 15, 2008 05:11:44

When I write messages in Hebrew (which is quite often) from the WebMail client, I can justify the text to the right, but punctuation marks are not justified correctly - when used at the end of a line, they keep jumping back to the right side of the sentence (i.e., to its' beginning)

Is there a way to fix this?

Thanks! Or

Lux Scientiae Support June 15, 2008 05:24:21

Thanks for bringing this to our attention. We will pass this along to our developers to let them take a look. Someone from the development team will get back to you within a few days to let you know if they will be able to solve this issue.

Lux Scientiae Support June 15, 2008 10:16:37

Hello,

I assume that the issue is happening when you are using one of the HTML email composition modes in WebMail? If it is happening when using a text composition mode, then the problem most likely is in your web browser as these text input fields are completely controlled by the web browser.

For HTML input modes, we use the 3rd party tool FCKEditor. It is possible that the issue is related to this tool. In fact, in our next major release, scheduled for next weekend, we are upgrading from v2.5.1 to v2.6.1 of this HTML editing tool. You can try their current demo of v2.6.1 at

http://www.fckeditor.net/demo

If you can enter your Hebrew correctly here without the punctuation problem, then the issue will be resolved when we release v10.0 of LuxSci next weekend. If it still happens AND it does not happen in the text-mode of input, let us know and we will file a bug with the FCKEditor folks in the hopes that they can diagnose and resolve the issue for us.

Client: June 15, 2008 10:35:13

Hi,

I tried the text mode - everything works fine with that one.

I also tried the new demo editor - the same problem (with the punctuation marks) still exists there. They also have a "Multi-Lingual" demo there, which actually changed the menus to Hebrew - but it didn't solve the problem with the actual text editing.

Lux Scientiae Support June 15, 2008 10:45:58

Ok, we will submit the bug report to the FCKEditor folks. To do so, would you please provide the following information:

What version of Windows are you using? What web browser and version are you using? Exactly what Hebrew input tool are you using?

Best, LuxSci Support

Client: June 16, 2008 01:55:09

Windows XP with SP2 Browser: Internet Explorer 7 (I also tried with Firefox 2.0.0.14 and had the same problem) I'm using a Hebrew-enabled Windows, with a Hebrew keyboard.

Thanks

#2280 Revision comparison bug (HTML passing into comparison rather than WikiText) Bug Normal Project : MediaWiki+FCKeditor
Description

I have noticed that FCKeditor seems to not work so well when reviewing versions after clicking 'undo' in the history for a page.

On the 'undo' screen MediaWiki compares 'Current revision' and 'Your Text'. 'Current revision' I assume come from the latest version of page in the database (WikiText) and 'Your Text' comes from the editor... the problem is that the content that is coming from the editor is HTML not WikiText (passing from WYSIWYG).

This makes it hard to compare and messy becuase 1 is WikiText and the other is HTML.

It is even worse when: 1) 2 users open the same page for edit at the same time 2) User 1 makes a change hits the save page button 3) User 2 makes a change and hits the save page button 4) User 2 gets a warning message saying that page has change since and give comparison... It will automatically update the editor with User 1's changes (latest version of page in database, which is WikiText). The problem is that the WikiText is put in the WYSIWYG not the 'WikiText' section.

Is there a fix for this? OR Is there any way to change the code so that the 'WikiText' is used rather than from FCKeditor WYSIWYG.

Any ideas/help appreciated!!

END NOTE: I also tested this by disabling the FCKeditor, worked fine because working with all WikiText.

#2281 Control is not getting loaded Bug Normal Server : ASP.Net
Description

I downloaded the FCKEditor ZIP file for .Net "FCKeditor.Net_2.5.zip". I unzipped and opened the solution.

To test it, I used one of the sample pages sample01.aspx from the _samples folder provided with the solution.

I am getting the following error when i run the application with sample01.aspx as startup page.

Server Error in '/_samples' Application.


HTTP Error 404 - Not Found.


Version Information: ASP.NET Development Server 8.0.0.0

Environment:

.Net 2.0 IE 7.0

#2282 Spellerpages script doesn't work in *nix, assumes language is english and doesn't work in cf5 (updated script attached) Bug Normal Server : ColdFusion
Description

Subject says it all really, the script assumed the operating system was windows, the language was English and it also wouldn't have worked in CF5.

I've updated the code to add support for Linux (should work on other unixes), auto-detect the language by looking at the locale and made some other changes so it should work in CF5 now (haven't tested that though).

We've been using the updated script on Linux and Windows servers running CF8 for a while without any problems.

Mark

#2284 [FF] Table selection rectangle doesn't update Bug Normal General
Description

When you change the width of a selected table via the table-properties dialog, the selection rectangle doesn't get updated to the new width of the table.

#2285 Select Drop Downs not hiding when opening a Panel Bug Normal UI : Floating Panel
Description

If you open up a select, for example, "Format" then open a panel, for example "Image Properties" in FF2 (or according to Fred, also FF3), the select does not always (and usually NOT) close. Once you close the panel, clicking in the editor will no longer cause the drop down to lose focus and hide as it normally would.

See http://www.screencast.com/users/DShafik/folders/Jing/media/9d936ce0-0f1a-41b8-ac8f-09d2e579e1d8 for a demo of the behavior.

#2286 Major scrolling issue in firefox 3 Bug Normal General
Description

I have not seen a bug for this in the database, but other people have reported this problem here: http://www.fckeditor.net/forums/viewtopic.php?f=6&t=10099

Basically, in Firefox 3 (I'm on Windows), typing Enter in the editor causes the page to go all the way up so that the cursor is at the bottom of the page. Is there a known workaround for this? Is it a Firefox 3, or an FCKEditor bug?

While this does not affect functionality, I'd say this is a pretty serious usability issue. Hopefully, it can get fixed very quickly.

#2287 Bad Spacing between two tables (FF2 Only) Frederico Caldeira Knabben Bug Normal FCKeditor 2.6.2 General
Description

When you insert a table, click to the right side of it, and then add in a second table, it will display something like:

<table>...</table>

<table>...</table>

within the editor, but when you preview (or after saving) it shows up like:

<table>...</table>


<table>...</table>

The reason is that between the two tables, in the editor, there is a <p/> tag, which FF does not render. But when you preview/save, it is transformed into <p></p>.

You can see this in action at: http://www.screencast.com/users/DShafik/folders/Jing/media/d4769677-866b-4a5b-8d21-1aa0a31cd14c

This issue affects 2.5.1 (at least) through to, and including trunk

#2288 Nested formatting goes wrong Bug Normal Core : Styles
Description

If a user wants to do more than one format on the same substring the formatting will at least partial show in the editor, but after submitting the formatting does not show up on the result. The code produced looks like: <span style="font-family: Comic Sans MS;"><span style="color: rgb(255, 0, 255);"><span style="font-size: 5px;">some text</span></span></span> It seems that the styles from the cascading spans are not inherited in the browser. If the code is simplified to: <span style="font-family: Comic Sans MS; color: rgb(255, 0, 255); font-size: 5px;">some text</span> the formatting will be show up as expected. I have seen this in IE, Firefox, Opera and Safari so I really think yhis is a FCKeditor thing.

Tested with version 2.6.1

Kees

#2289 wiki sites freeze in firefox 3.0 Bug Normal General
Description

0en using a FCK editor for about 2 years. I used to write in word and paste but the now departed tech support man for CMS.rightside.com advised writing directly in FCK editor. Now I just installed Firefox 3.0 and the editor wiki freezes wherever I go: to firefox itself; here, or to: cms.rightside.com

wiki vs wiki?

vivian

#2290 Cut, copy and paste buttons are not working Bug Normal Project : MediaWiki+FCKeditor
Description

The editor's cut, copy and paste buttons are not working in my installation... nor are the cut, copy and paste options, that appear when you right-click on the mouse...when you mark the text area and click on the icon nothing happens

  • like a dead link... The only way to use the cut, copy and paste functionality

is by entering the corresponding shortcuts on the keyboard.

Can anyone help me solve this problem?

btw: I would like to set a default value for the width and height of the image in the dialogue window, that appears when you insert an image on the page. Into which file should I insert the default-values?

Best regards Susie

#2291 [FF3] simple copy & paste from Word document - extra code not stripped Bug Normal FCKeditor 2.6.3 Plugin : Paste from Word
Description

You can check this bug by yourself trying to copy and paste (CTRL+C/V) some text from a Microsoft Word document using first FF2 and after FF3 in Demo FCKeditor pages.

In FF3, viewing the source code of the copied text, you can see some extra information that in FF2 is stripped (meta tags, xml and style definitions):

<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="Word.Document" name="ProgId" />
<meta content="Microsoft Word 11" name="Generator" />
<meta content="Microsoft Word 11" name="Originator" />
<link href="file:///[...]" rel="File-List" /><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
[...]
</xml><![endif]--><style type="text/css">
<!--
 /* Style Definitions */
[...]
</style>
<![endif]-->
#2293 fckeditor strips all information before a body tag Bug Normal UI : Source View
Description

when you paste the following code into fckeditor in the sourceview and switch back to wysiwyg-mode, then the style tags vanishes. if you remove the body tag, then the style tag stayes untouched. Tried in in Version 2.6.1 and on your Online-Demo - both dont work.

code to paste:

<style type="text/css">#second {position: absolute; background-color: blue;}</style> <body> <p id="second">Second paragraph. style </code> applied.</p> <p>pi</p> <p>pa</p> <p>po</p> </body>

#2294 form elements not editable in FF 3 Bug Normal General
Description

In firefox 3.0.0 it isn't possible to select/right-click form elements in order to change their options. Only text input elements can be changed

try it yourself, for example:

<form method="post" name="blaat">
    <p><input type="text" value="fsdf" name="fsdfs" />dddfdfdsd</p>
    <p><select name="boij">
    <option value="fhu">ui</option>
    <option value="sgr">fsfd</option>
    <option value="re3">grge re</option>
    </select></p>
    <p>fgd<input type="checkbox" value="ger" name="ge" />gfdg</p>
</form>
#2296 Permission denied error when clicking on files in file browser under domain relaxation Martin Kou Bug Normal FCKeditor 2.6.2 General
Description

Reproduction procedure:

  1. Open sample01.html under domain relaxation mode.
  2. Open the image dialog.
  3. Click "Browse Server".
  4. Click on one of the uploaded image files.
  5. Permission denied error.

This bug affects both Firefox 2 and Firefox 3.

#2297 The TAB key should move out of the editor if TabSpaces=0 Frederico Caldeira Knabben Bug Normal FCKeditor 2.6.2 General
Description

We'll be working on the future on a complete reviewed support for the TAB key (see #979). Meanwhile, we should provide some basic features, and the ability to move out of the editor using TAB seems to be one of them.

#2298 Adapt FCKeditor.Java for new domain relaxation Thilo Schwarz Bug Normal FCKeditor.Java 2.4 Server : Java
Description

changes see here [2059]

#2299 Docu for Velocity/Freemaker Thilo Schwarz Task Normal FCKeditor.Java 2.4 Server : Java
Description

1 page with a Velocity example.

Freemaker runs in the same way!

Should be done for 2.4 final release.

#2302 transforming image to image button fails Bug Normal General
Description

If you have an image buttons, for example <input type="image" src="http://www.fckeditor.net/images/logos.gif" />, then click 'Insert/edit image' and try to click ok in the dialog, you'll get a javascript error saying "e is null; editor/dialog/fck_image/fck_image.js; Line 274". (Tested in IE7 and Firefox 3.)

Also about the messages "Do you want to transform the selected image on a image button?" and "Do you want to transform the selected image button on a simple image?". Shouldn't they read "Do you want to transform the selected image into an image button?" and "Do you want to transform the selected image button into a simple image?" and be localizable?

#2303 [FF3] contextmenu remains open in firefox when dialog opens Bug Normal UI : Context Menu
Description

The contextmenu remains open in firefox when a dialog opens; and after closing the dialog, the contextmenu doesn't disappear by clicking somewhere else.

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