Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (2701 - 2800 of 11754)

Ticket Summary Owner Type Priority Milestone Component
#2527 Configuration settings in MediaWiki should be listed under Editing tab, not Misc Task Normal Project : MediaWiki+FCKeditor
Description

It's very confusing to look for the MediaWiki+FCKeditor integration's settings under the Editing tab in "my preferences" but eventually find them under "Misc" instead.

It would be far more natural for the user to find the MediaWiki+FCKeditor settings in the Editing tab of their MediaWiki profile (i.e. the page returned by /Special:Preferences).

#2528 Clarify the FCKeditor configuration settings in MediaWiki New Feature Normal Project : MediaWiki+FCKeditor
Description

The current configuration settings for the "rich editor" (in the Misc tab of a MediaWiki install) are named in a way that creates significant confusion:

  • does "Disable rich editor" override any and all of the "Disable rich editor within the xxx namespace" settings?
  • Does "Start with rich editor disabled" mean "Start editing each page with the native Mediawiki editor", or "start each logged-in session with the rich editor disabled"?
  • Does "Remember last toggle state" have any effect except as a modifier to "Use toggle to switch between..."?
  • Do "Use toggle to switch between..." and/or "Remember last toggle state" settings get persisted for all pages, or does each page start with a default setting that gets changed independently of any other page's changes?

Recommendations:

  1. Rename "Disable rich editor" to "Disable rich editor (site-wide setting, overrides all other rich editor settings)".
  1. Group & format all the "Disable rich editor within the ... namespace" settings in such a way that it's apparent they're just subordinate to the "Disable rich editor" setting. e.g. you could place all these subordinate checkboxes directly after the "Disable rich editor" checkbox, and indent the text for each of the checkbox labels a few spaces each. e.g. you could wrap all the "Disable rich editor..." checkboxes inside a Groupbox-like control (such as you see on the Search tab of the user's MediaWiki preferences)
  1. Add an extra CR (<br>) spacer or two between the rest of the Misc configuration items and the "rich editor" configuration items (such as is used on the Watchlist tab of the user's MediaWiki settings, between the second and third configuration items).
  1. Rename "Start with rich editor disabled" to "Start editing each page with the rich editor disabled" - assuming that's what this actually means.
  1. For the two "toggle" settings, indent the second setting (to indicate it's a modifier of the first) and/or surround them with a Groupbox. This should increase the association between the two settings, and make it clear that one modifies the other.

Thank you in advance for your consideration.

#2529 Fix applied in Ticket #1907 can cause problems on FF 3.0.1 Mac/Win with Firebug enabled Bug Normal FCKeditor 2.6.4 General
Description

I have the same problem described in ticket #1907 on FF 3.0.1, but the problem disappears when I reverse the patch that the ticket describes (i.e. put back the IsGecko19 check in fckeditorcode_gecko.js). I have duplicated this problem on FF 3.0.1 for both Windows and Mac.

On the server side I am using Drupal 6.4 on RHEL5. My Linux FF 3.0 client does not cause this problem.

I ran into another user in the Drupal community who has not had this problem. The link to our discussion is http://drupal.org/node/303428.

#2530 Create file conector against a Windows Sharepoint Services 3.0 New Feature Normal General
Description

Instead of saving files to a file store, saving them in to a WSS3.0 document store. This would open up the use of FCKEditor et al to those sites based on WSS as the rich text editor in that is so lacking when it comes to adding images to a page.

#2531 Scroll Into View Bug When Breaking Large Content (FF) Frederico Caldeira Knabben Bug Normal FCKeditor 2.6.4 General
Description

If you paste a large amount into the editor, where you end up with:

<p> some large text <br /> paragraphs aren't there anymore </p>

And you wish to put the paragraphs in to make it look like:

<p> some large text </p> <p> paragraphs aren't there anymore </p>

It will scroll the end of the second paragraph into view, which when the end is far enough away, will push the cursor off-screen, which can be confusing (why did I jump to the bottom?).

If you continue to type, it'll start typing where the cursor is, not where the eye is, scrolling that back into view.

The lines that cause the issue are fckenterkey.js lines 538/539:

source:FCKeditor/trunk/editor/_source/classes/fckenterkey.js@2136#L538

I initially just commented this out, but then when you want to put in a new paragraph at the end, it will not scroll that into view.

It seems to me that it should scroll when the paragraph is empty, but not otherwise, adding a FCKDomTools.CheckIsEmptyElement() will not work however, as we actually have:

<p> <br _moz_dirty=""> <br type="moz"> </p>

Some changes to the CheckIsEmptyElement() however will solve this (see patch).

This does not completely solve the issue. When pressing enter with an "empty" paragraph being add, it will work fine. When pressing enter with a non-empty paragraph following, it works fine so long as it's not at the bottom of the view area, because then it doesn't scroll and should.

This is a little better, but not complete. The best solution would be to move to the top of the paragraph, not the bottom. Is this possible?

  • Davey
#2532 Add syntax highlighting in HTML (source) mode New Feature Normal UI : Source View
Description

Hi, It would be great if you could add HTML syntax highlighting in the editor when you are in HTML mode.

Perhaps you could use codemirror to do that? http://marijn.haverbeke.nl/codemirror/

Example : http://marijn.haverbeke.nl/codemirror/mixedtest.html

#2533 PageBreak code is different in Gecko and IE Bug Normal Core : Output Data
Description

I use PageBreak when edit my topics to divide text on topic summary and topic body. Due to the differencies in Gecko and IE realisation, code like

obj.style.pageBreakAfter="always";

generates different HTML. In Gecko CSS style inserts without ";" but in IE symbol ";" afetr CSS rule exists. So HTML code of bageBreak in Gecko is

<div style="page-break-after: always"><span style="display:none">&nbsp;</span></div>

and in IE is

<div style="page-break-after: always;"><span style="display:none;">&nbsp;</span></div>

So i can't use it to split HTML into two parts in my PHP code.

#2535 translation in germany language Task Normal UI : Language
Description

Hi Folkz,

I have translated the language file to the end. Also the standard skin button was changed to german word style. If you would like to use it, it is posted in your forum: http://www.fckeditor.net/forums/viewtopic.php?f=5&t=11175

greetings Erde

#2536 no linebreak after pictures Bug Normal Project : MediaWiki+FCKeditor
Description

When I use the imagefunction the editor fails to linebreak after the insert-tag is closed, how can I fix this?

#2537 font size should be translateable New Feature Normal UI : Language
Description

the font sizes in the editor aren't translateable. A table how they could be named in german is posted here http://www.fckeditor.net/forums/viewtopic.php?f=5&t=11175

#2538 paste from word is always greyed out Bug Normal Project : MediaWiki+FCKeditor
Description

paste from word is always greyed out in FCKEditor latest, but the demo with all features on the same PC has this feature active, what did I wrong?

#2539 pdf-Uploads are denied Bug Normal Project : MediaWiki+FCKeditor
Description

How do I upload a pdf over FCKeditor into my Wiki it always says invalid filetype put I had allowed pdf extensions in the config.

#2540 Comments stripped from wiki text upon edit Bug Normal Project : MediaWiki+FCKeditor
Description

Running MW 1.13 SMW 1.2.2 FCKed nightly build (2.6.3?)

Internal comments, in the form of...

<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->

...are deleted.

I noticed a similar problem where instructions for calling up templates, at the top of most template pages, is stripped, as it falls between <pre> tags.

We're testing before deploying FCKeditor on our site. Looks like the behavior only occurs while using IE7, but not Fire Fox; the only two browsers with which I can test my itranet site.

#2541 Radio,CheckBox and ComboBox in FireFox with MacBook 10.5 support@… Bug Normal UI : Context Menu
Description

1.I have placed checkBox,Radio Button, ComboBox and Textarea in the Editing area of FCK editor. 2.IF i try to modify the properties for the checkBox,Radio,Combobox by clcik on the control(Right Click) It dosent display the properties window and i am not able to select the control in the editing area But for Textarea, button and textfield i can able to do right click on the control and modify their properties.

#2542 User link issue in multilingual mediawiki Bug Normal Project : MediaWiki+FCKeditor
Description

FCKeditor in polish mediawiki automatically changes

[[User:Foo]]

to

[[Użytkownik:Foo]]

"Użytkownik" is a polish translation of "User"

#2543 Namespaces excluded from using the FCKeditor New Feature Normal Project : MediaWiki+FCKeditor
Description

Old version (version by Mafs?) of the MW extension to integrate the FCKeditor included the ability to define certain namespaces that would be excluded from using the FCKeditor. This was handy for complex, densely tagged pages like in the Template and Help namespaces.

The feature was called like this:

$wgFCKexcludedNamespaces = array(8,1,-1); eg. "8" for disabling the editor within the MediaWiki namespace.

We use Semantic MW and Semantic Forms, so I need to turn off FCKeditor to all users in the Forms, Property, and Concept namespaces in addition to Special, Template, Image, and Help. Allowing users to to control whether or not to use the FCKeditor in their preferences is not a good option; does not address custom namespaces.

#2544 &amp; links converting to &amp;amp; Bug Normal Project : MediaWiki+FCKeditor
Description

Creating a link as follows: www.aaa.com?var=1&var=2&var=3 generates the next source code: <a href="http://www.aaa.com?var=1&amp;var=2&amp;var=3">

The problem happens when you put "&amp;" instead "&" in the links, (www.aaa.com?var=1&amp;var=2&amp;var=3) then the source code is as follows: <a href="http://www.aaa.com?var=1&amp;amp;var=2&amp;amp;var=3">

it doesn't checks if the &amp; is already writed therefore it replace '&' per '&amp;' resulting '&amp;amp;'

this happens in IE6 and FF3 (didn't try other browsers)

#2545 add write rights to tgz archiv Bug Normal General
Description

please add write permission for user to file in tgz archiv. after unpack the actual stable tgz you are not able to delete the files as normal user

#2546 List is broken when pressing enter in empty sublist item Bug Normal Core : Lists
Description

Following scenario creates a broken list:

  1. Create a simple list with 2 subitems
  2. Move to first sub item and press enter, an empty subitem is made.
  3. Inside the empty subitem press enter one more time.

Result: The empty sub element is removed and IE renders a bullet list outside of the sublist, at level 1

In source mode following code is displayed:

<ul>
    <li>item 1
    <ul>
        <li>item 1.1</li>
    </ul>
    </li>
    <li>
    <ul>
        <li>item 1.3</li>
    </ul>
    </li>
</ul>
#2547 Mediawiki and <pre> tags with FCKeditor Bug Normal Project : MediaWiki+FCKeditor
Description

Hi

It seems that there is again a bug with <pre> tag in mediawiki Test

At http://mediawiki.fckeditor.net/index.php/Sandbox

enter the following text, then switch several times between wikitext

<pre> 
Hello Wiki User 
Hello Wiki User 
Hello Wiki User 
</pre> 
<pre>
Bonjour Utilisateur Wiki
Bonjour Utilisateur Wiki
Bonjour Utilisateur Wiki 
Bonjour Utilisateur Wiki 
</pre>
#2548 Support multiple languages in spell checker New Feature Normal General
Description

At this moment $lang is hardcoded in spellchecker.php. On multilingual sites it is a problem.

It would be great to have:

  • option to define all available dictionaries, user could select which dictionary he want's to use (imagine for example a site about German-English translations, we must check parts of a text using different dictionaries in the same article)
  • option to specify the default dictionary
  • perhaps a nice to have would be the ability to assign specific options to $aspell_opts depending on selected language
#2550 Bold content pasted from Outlook not converted to <strong> Bug Normal Core : Styles
Description

Since version 2.6, the editor generates <strong> tags rather than <b>'s. However, the formatting of pasted content is inconsistent with this. As a consequence, it is not possible to un-bold the content.

Versions: 2.6.2 / 2.6.3 OS: Windows XP Browser: IE6

Steps to reproduce:

In an Outlook (2003) email, format some text as bold. Copy and paste it into the FCK editor. The formatting appears to be preserved. Select the bold text. Note that the "B" toolbar button is highlighted. Click the toolbar button to 'un-bold' the text. Note that the text remains bold.

Use the "Source" toolbar button to examine the content. Note that the bolding is applied with <b> tags:

<p>Plain <b>Bold</b> Plain</p>

Using the 'Paste from Word' option does not solve the problem. So the only option is to 'Paste as Text', and then re-format the content.

Interestingly, the same issue does not apply to italic formatting (within <i> tags). Although it is pasted into the editor as <i>'s, rather than <em>'s, the "I" toolbar button can be used to convert it back to non-italic text.

#2551 Text and background color popups incorrectly positioned Bug Normal General
Description

The text and background color popups are incorrectly positioned vertically (they show up above the editor window) when scrolled. I have reproduced this in FF 3 and Chrome/Safari on Windows. IE works correctly.

This was introduced in [1091]. The problem is in editor/_source/internals/fcktools.js, FCKTools.GetDocumentPosition(). If I comment out the "if ( ! FCKBrowserInfo.IsOpera )" line around line 527, everything works fine.

Attached is a test case.

#2553 Safari: Text Format Buttons not Selectable Bug Normal General
Description

In Safari the text formatting buttons Bold, Underline, Italic, Color etc. do not work unless some text is selected. I tested on http://www.fckeditor.net/demo place your cursor at the end of the line and try clicking on B for bold, it will not switch to bold mode.

Tested with Safari 3.1.1 on Vista.

I couldn't find a ticket or report for this, apologies if this has already been reported.

#2555 Invalid link conversion Bug Normal Project : MediaWiki+FCKeditor
Description

When working with this patch applied: #2223 the following link:

[[Sandbox|foo]]bar

is changed into

[[Sandbox|foobar]]

#2556 Two paragraph elements added on a single Enter keystroke Bug Normal General
Description

When hitting the enter key, two paragraph elements are inserted into the text. Also, if you hit delete, both elements are deleted, so you can not get the correct paragraph break unless you go into the source. This happens in FireFox 3 and IE 7.

Example: If I have some text in the editor, and I wish to add a sentence to preface the remarks, when I finish the statement and hit enter, there are 2 <p>&nbsp;</p> elements between the preface remarks and the original text. Hit delete and the original text is butting against my new sentence.

#2557 Performance issues in mediawiki when using fckeditor Bug Normal Project : MediaWiki+FCKeditor
Description

Found that in some cases, editing a page could cause dozens of queries to the server and it might take 10 - 20 seconds to open a page.

An example page is here, on our test environment: http://waterloo.openmethodology.org/wiki/TestWYWSIWYG

#2558 Improved handling of special characters for formatting New Feature Normal Project : MediaWiki+FCKeditor
Description

When using mediawiki in fckeditor, heavy use of special characters for page formatting <br> nbsp and &lt;br&amp;gt can make wikitext difficult to read.

Is it possible to reduce use of these tags for example or make this a user option?

#2559 Capability to tab within editor New Feature Normal Project : MediaWiki+FCKeditor
Description

Capability to tab within editor to go move text left or right, indenting. This is available in FckEditor standalone but not in the version integrated with mediawiki.

#2560 Background color applied to Text in IE when I select all Bug Normal General
Description

If I have a background color set in my css, then I go Select All, and then type and then save. The background color gets applied to all my text with <font style="background-color:(a color);">my text</font>.

This only happens in IE, firefox it does not.

I have made a work around for this, attached is the plugin I wrote the does the select all pretty well.

#2561 Converted fckeditor.pl into PERL module New Feature Normal Server : Perl
Description
#  Usage: 

#	1.	Put this command at the top of your PERL program:

#

#			use FCKeditor;

#

#	2.	Where you want to place the FCKeditor in your output,

#		call FCKeditor::create() as follows:

#

#		$html_string = FCKeditor::create($InstanceName,$BasePath);

#

#		This will produce an HTML string which effectively replaces

#		a <textarea name=$InstanceName></textarea> field in your form.

#		Note that there are a few other parameters which you can

#		specify in the create() call, noted below.  Height and 

#		width, for example.

#

#		You can then integrate this HTML code directly into your

#		Output.  For example:

#

#		use FCKeditor;

#		print 'content-type: text/html\n\n';

#		print '<html><body><form method=get action="this.pl">';

#		print '<p>Enter Your Message Here:</p>';

#		print FCKeditor::create();

#		print '<input type=submit name="OK" value="OK">';

#		print '</form></body></html>';

#

#		Or you could send the string to the Template module, 

#		depending on how you output your HTML.  Your return CGI

#		program will then look for a parameter "editor", which is

#		the default (see $InstanceName).


<a href="http://www.unlikelysource.com/perl_demo/html_email.pl">Demo of FCKeditor running with PERL</a>
<a href="http://www.unlikelysource.com/perl_demo/FCKeditor.pm">FCKeditor PERL module</a>
#2562 IsDirty() is incorrectly set when there is content but no paragraphs on the page Bug Normal General
Description

It seems that IsDirty is always set if there is no paragraph tags in your content, such as when the content is a table and nothing else.

#2563 HTML Entities in a link text: &amp;lang=de => &#9001;=de Bug Normal General
Description

The editor does not correctly handle strings like &amp;lang=de. This string will be converted into &#9001;=de during loading.

Maybe the editor converts &amp; to simple &, resulting &lang=de, and then the editor will handle this as as an entity like &lang;=de and then converts it into an UTF8 code &#9001;.

I found it while i tried to save a link with url params in the text. In the href section it is handled correctly, but not in text section of an A-Tag: <a href="domain.com?param=1&amp;lang=de">domain.com?param=1&#9001=de</a>

I think the editor does not correctly check, if this is really a HTML-Entity, cause really entities have a trailing ";".

An update did not resolve this bug.

#2566 multiple editor instances, FCKeditorAPI.GetInstance error Bug Normal General
Description

Summary: when i set multiple editor instances, then get the instances use FCKeditorAPI.GetInstance, it will return undefined (sometime)

vista + firefox 3.01

Steps to replicate: 1.open fckeditor/_samples/html/sample02.html

2.edit the javascript to :

	var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
	oFCKeditor.BasePath	= sBasePath ;
	oFCKeditor.ReplaceTextarea() ;

	var oFCKeditor2 = new FCKeditor( 'FCKeditor2' ) ;
	oFCKeditor2.BasePath	= sBasePath ;
	oFCKeditor2.ReplaceTextarea() ;

3.edit the form code to :

	<form action="../php/sampleposteddata.php" method="post" target="_blank">
		<div>
			<textarea name="FCKeditor1" rows="5" cols="80" style="width: 100%; height: 200px">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://www.fckeditor.net/"&gt;FCKeditor&lt;/a&gt;.&lt;/p&gt;</textarea>

			<textarea name="FCKeditor2" rows="10" cols="80" style="width: 100%; height: 300px">test</textarea>
		</div>
		<br />
		<input type="submit" value="Submit" />
		<br />
		<input type="button" value="Get" onclick="alert('FCKeditor1' +'=>'+ FCKeditorAPI.GetInstance('FCKeditor1'));alert('FCKeditor2' +'=>'+ FCKeditorAPI.GetInstance('FCKeditor2'));" />
	</form>

4.run the sample in firefox 3.01 , click the "Get" button, sometime it will return undefined.

#2567 Slovak Translation Update Artur Formella Task Normal FCKeditor 2.6.4 UI : Language
Description

Update to Slovak translation (localization) file - updated missing translations and mistakes correction.

#2569 using <textarea> in FCKeditor - does not handle anything after <textarea> Bug Normal General
Description

When you make a form in the FCKeditor window and put a textarea in the form, in Firefox it deletes anything after the textarea and IE will not save.

For example, I tested a form with a textarea and then a submit button after the textarea. When I insert the button after the textarea in the code view and then select "source" again for the design view, it looks fine (attachment 1). When I save, it is still correct. When I open the editor again, then it starts acting up (attachment 2). If I click source then the button is pulled out of the code and put at the bottom of the page (attachment 3). If I "save" the changes, then it totally deletes the button and its code (attachment 4).

#2570 "align" attribute on Images breaks image dialog and context menu Alfonso Martínez de Lizarrondo Bug Normal General
Description

I have verified on the nightly build that this is still broken.

  1. Add an Image to html using the Image dialog
  2. Re-open the image dialog and set the Image's "Align" to "left" using the drop down in the image dialog.
  3. Close the dialog and right click on the image
  4. Image properties will be missing from the menu and you can't click the image dialog button to pre-populate the dialog with the selected image's info

This problem shows itself in Safari 3 on Windows and Mac and also Google Chrome, I'm not sure if it happens in Safari 2, but I'd imagine so.

#2571 Impossible to modify a select list in FF3 Bug Normal General
Description

Use case :

  • Open an fckeditor instance in FireFox 3
  • click on add a menu list (form elements buttons)
  • enter your params, click 'OK'
  • Then try to click on the new created list with right button or to select the list with left button, it's impossible;

With MSIE7, there's no problem.

This bug happens with FCKEditor 2.6.3 (i also tried the last nightly build with the same result)

#2572 Extra br tags added when document viewed in HTML Bug Normal General
Description

I'm using FCKeditor with cubecart. When I upgraded the editor to version 2.6.3 it now adds extra <br /> tags after every <br /> tag when the document is generated. It also adds them to </p> tags as well.

Is there any way to fix this?

#2573 ASP: In the connector, IsAllowedType must be case sensitive Frederico Caldeira Knabben Bug Normal FCKeditor 2.6.4 File Browser
Description

The current implementation of IsAllowedType is case insensitive, but all "per type" configuration options are case sensitive. So, the connector will accept types with just case differences, but will break later, when trying to retrieve settings for them. We should be always case sensitive for the type instead.

#2574 paste generates multiple font tags in version 2.6.3 Bug Normal General
Description

hi, i've tried everything i can think of, but 2.6.3 still gives me:

<font><font size="3"> my text </font></font>

when i copy "my text" from a homepage in FF3 and paste it into FCKeditor 2.6.3 in another FF3 tab. I've tried to disable pastefromword and looked throught the source but can't find why it's doing this. i want plain text. :(

it was even more annoying to read in the forums that "no more font tags as standard from 2.5".. all i get is bloody font tags.

#2575 Hitting carriage return cause the scrollbar to go at the end Bug Normal General
Description

When using an html source that was previously generated by FCKEditor 2.3.1 with FCKEditor 2.6.3, hitting carriage return cause the scrollbar to go at the end of the box.

To reproduce, using Firefox 3, go to: http://www.fckeditor.net/demo, click the "Source" button, and paste this:

<p><font size="4"><font color="#008080"><strong><font color="#ff0000"><font color="#000080">Lorem</font></font></strong></font></font><font size="4"><font color="#008080"><strong><font color="#ff0000"><font color="#000080"><br />
</font></font></strong></font></font>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nulla ac velit. Etiam adipiscing pede vitae elit. Nam turpis odio, tristique ac, semper ut, malesuada nec, mi. Vestibulum tempus turpis a eros. Aenean feugiat metus ac tortor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. In ultrices porttitor lorem. Ut posuere orci. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse mattis.<font size="4"><font size="4"><font color="#008080"><strong><font color="#ff0000"><br />
<br />
Ipsum</font></strong></font></font><font size="4"><font color="#008080"><strong><br />
</strong></font></font></font>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nulla ac velit. Etiam adipiscing pede vitae elit. Nam turpis odio, tristique ac, semper ut, malesuada nec, mi. Vestibulum tempus turpis a eros. Aenean feugiat metus ac tortor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. In ultrices porttitor lorem. Ut posuere orci. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse mattis.<font size="4"><br />
<font size="4"><font color="#008080"><strong><br />
</strong></font></font></font><font size="4"><strong><font size="4" color="#000080"><font color="#ff00ff"><font color="#008080"><font color="#993366"><font color="#ff6600"><font color="#008080"><font color="#ff0000"><font color="#000080">Lorem</font></font></font></font></font></font></font></font></strong><strong><font size="4" color="#000080"><font color="#ff00ff"><font color="#008080"><font color="#993366"><font color="#ff6600"><font color="#008080"><font color="#ff0000"><br />
</font></font></font></font></font></font></font></strong></font>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nulla ac velit. Etiam adipiscing pede vitae elit. Nam turpis odio, tristique ac, semper ut, malesuada nec, mi. Vestibulum tempus turpis a eros. Aenean feugiat metus ac tortor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. In ultrices porttitor lorem. Ut posuere orci. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Suspendisse mattis.<font size="4"><strong><font size="4" color="#000080"><font color="#ff00ff"><font color="#008080"><font color="#993366"><font color="#ff6600"><font color="#008080"><font color="#ff0000"><br />
</font></font></font></font></font></font></font></strong></font></p>
<p>&nbsp;</p>

Then, click "Source" again. Go at the top of the red "Ipsum" title, and hit carriage return. The scrollbar will move to the end of the box.

#2576 202 Invalid File Type uploading SWF to ColdFusion Bug Normal Server : ColdFusion
Description

The cf_util.cfm file under the ColdFusion connector is incorrect trying to check SWF files as an image. The CFFUNCTION is:

<cffunction name="IsImageValid" returntype="boolean" output="true">
	<cfargument name="filePath" required="true" type="String">
	<cfargument name="extension" required="true" type="String">

	<cfset var imageCFC = "">
	<cfset var imageInfo = "">

	<!---
	<cfif not ListFindNoCase("gif,jpeg,jpg,png,swf,psd,bmp,iff,tiff,tif,swc,jpc,jp2,jpx,jb2,xmb,wbmp", ARGUMENTS.extension)>
		<cfreturn true>
	</cfif>
	--->
	<cfif not ListFindNoCase("gif,jpeg,jpg,png,psd,bmp,iff,tiff,tif,swc,jpc,jp2,jpx,jb2,xmb,wbmp", ARGUMENTS.extension)>
		<cfreturn true>
	</cfif>

	<cftry>
		<cfif REQUEST.CFVersion gte 8>
			<cfset objImage = ImageRead(ARGUMENTS.filePath) >
			<cfset imageInfo = ImageInfo(objImage)>
			<!--- <cfimage action="info" source="#ARGUMENTS.filePath#" structName="imageInfo" /> --->
		<cfelse>
			<cfset imageCFC = createObject("component", "image")>
			<cfset imageInfo = imageCFC.getImageInfo("", ARGUMENTS.filePath)>
		</cfif>

		<cfif imageInfo.height lte 0 or imageInfo.width lte 0>
			<cfreturn false>
		</cfif>
	<cfcatch type="any">
		<cfreturn false>
	</cfcatch>
	</cftry>

	<cfreturn true>
</cffunction>

I've commented out the old code and modified, which then worked for me.

#2577 when SourcePopup is true, closing source results in permission denied Bug Normal UI : Source View
Description

When you set your FCKConfig.SourcePopup = true in the fckconfig.js, upon pressing OK to close the source view popup page, it gives you a javascript error saying:

Line: 65 Char: 2206 Error: Permission denied Code: 0 URL: [mydomain]/[fckeditor_home]/editor/fckInstanceName=[myfield]&Toolbar=Basic

How to reproduce this bug:

  1. use the 2.6.3 version
  2. edit the fckconfig.js file and turn FCKConfig.SourcePopup to be true, not false.
  3. if you need to, add Source to the Basic toolbar (you might have to do this)
  4. now go to an html page that uses the fck editor for a textarea.
  5. type in anything in the box, then click Source, it should pop up the source of it.
  6. click "OK" without making any changes
  7. you get the javascript error.

This only happens on IE 7.0.6, it works fine in Mozilla Firefox. Remember, to get this bug to happen, you MUST set the source popup to true. If you set it to false, it works fine.

#2579 Fckeditor 2.6.2 automatically insert <br /> when loading Bug Normal General
Description

Currently, i am using myfaces-fckeditor in jsf enrionment. Brower :Firefox 3.X Version: fckeditor 2.6.2 When at the begining of loading fckeditor on the page, i didn't typing anything in the fckeditor textarea(i was in br mode,FCKconfig.EnterMode= br), and i switch to the "source view" mode, it automatically appear one "<br />" for me. This seems it automatically to add this <br /> at the beginning to load fckeditor or when i switch to "source view",it add this <br />. I try to see the source code of fckeditor, but i didn't get any solution for this. How can i remove this <br /> automatically insert at the beginning of fckeditor loading.Anyone has solution for this? I also try the version 2.6.3, it seems the same result.

Thanks millon.

blade

#2580 Deprecate UserActionImpl in favor of EnabledUserAction Michael Osipov Task Normal FCKeditor.Java 2.5 Server : Java
Description

and set appropriate references.

#2581 Rename UserPathBuilder interface to something more appropriate Task Normal FCKeditor.Java 2.5 Server : Java
Description

The chosen name differs from the common convention and can lead to confusion. Create a new interface and declare the old one as @deprecated.

#2582 Rework *Path and fullUrl properties Michael Osipov Task Normal FCKeditor.Java 2.5 Server : Java
Description

The current situation:
connector.userFilesPath serves several purposes. It resolves against the current context and the url path.

connector.fullUrl is a boolean switch.

The default behavior of other connectors:
connector.userFilesPath solely reflects a http(s) url with or without a domain name.
connector.userFilesAbsolutePath points to the local file system.
connector.fullUrl is not present.

The Java integration should reflect the default behavior as close as possible.

For more references see:

  1. http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Built_in_File_Browser#Returning_Full_URLs
  2. http://dev.fckeditor.net/browser/FCKeditor/tags/2.6.3/editor/filemanager/connectors/php/config.php#L37
#2583 ConnectorServlet#init fails on some application servers Michael Osipov Bug Normal FCKeditor.Java 2.5 Server : Java
Description

Some app servers to not expand war files resulting the ServletContext#getRealPath returns null. Document this in the apt files, in JavaDoc and add a log message to the init method if such a thing happens with a possible solution.

For more details see here.

#2585 Special Tags Task Normal Project : MediaWiki+FCKeditor
Description

I added the query tag 'ask' to the list of special tags in the FCKEditor integration of mediawiki, however when i use it, unlike the other tags in the list the parametes inside the tags are not retained in 'wikitext', it is getting changed corresponding to the result of the query. I want to retain the parameters inside 'ask' tags as it is... PLZ help me....

#2586 MediaWiki\wikia FCK editor vs IIS webserver Bug Normal Project : MediaWiki+FCKeditor
Description

I have 5 mediawiki servers running. This plugin runs smootly under Linux with Apache webserver and even under Windows 2003 with Apache its a true pleasure. When I combine it with Windows 2003 and IIS, I receive errors when switching back from Wikitext-mode to WYSIWYG mode.

Notice: Array to string conversion in C:\Program Files\wiki\wikiadgroups\includes\Parser_OldPP.php on line 447 Array

This only occurs on pages with links that use [[]], typical internal links. Same problem with external links http://www.nu.nl and embedded images [[Image:Compass.png]].

It does not occur or pages without links.

Of course I'm aware this is still a beta-release that will be tested on Apache first. If anyone has a simple solution for this, I would appreciate it very much.

Unfortunately the server redides on an intranet. Therefore I can not give you access in order to reproduce the problem.

Version Information: Installed software Product Version MediaWiki 1.13.2 PHP 5.1.3 (cgi-fcgi) MySQL 4.1.14-nt NB: I also had the problem with older versions of MediaWiki. I tested it on 1.11 and higher. I never got it to work with IIS.

Installed extensions ParserFunctions Enhance parser with logical functions Tim Starling FCKeditor (Version fckeditor/mw-extension $Rev$ 2008) FCKeditor extension for editing wiki pages (WYSIWYG editor) FCKeditor.net and Wikia

Browser name and OS Server OS: windows 2003 server R1 Client OS: windows xp professional tested browsers: IE7 + Firefox 2 + 3

Tested versions FCK: 251 261 263

#2587 IE7 > (#2115) Permission denied to get property window.OnUploadCompleted Alfonso Martínez de Lizarrondo Bug Normal FCKeditor 2.6.5 Server : ASP.Net
Description

I get the same problem on IE7 as described in ticket #2155.

FCKeditor.prototype.Version = '2.6.3' ; FCKeditor.prototype.VersionBuild = '19836' ;

All works within Firefox. Checked patch from #2115 and its applied to this version.

#2588 In Safari right click causes marking out a whole word Bug Normal General
Description

In Safari browser perform right click anywhere in text in position between two words in immediate proximity to the right word. The whole word is marked out, so when you choose "paste" in context menu the whole word is replaced even if I didn't intend it.

#2590 FCKEditor changes the position of REL and ALT attributes on every edit Bug Normal Core : Output Data
Description

The FCKEditor changes the positioning of REL, ALT attributes everytime I edit the content. Following is an example:

FIRST

<a href="/blakish/sites/files/shared/gallery/g-PIC00002.jpg" rel="lightbox[gallery-1][Caption Here]"><img height="57" width="75" class="thumbnail" src="/blakish/sites/files/shared/gallery/tn1-PIC00002.jpg" alt="" /></a>

SECOND

<p><a rel="lightbox[gallery-1][Caption Here]" href="/blakish/sites/files/shared/gallery/g-PIC00002.jpg"><img height="57" width="75" alt="" src="/blakish/sites/files/shared/gallery/tn1-PIC00002.jpg" class="thumbnail" /></a>

Notice the position of "rel" attribute. It is coming after the href attribute in the first version and it is coming before the href attribute in second version. The FCKEditor just flip flop between the two versions every time I click on edit. This makes it impossible for us to keep a version history of changes.

I tried setting both FCKConfig.FormatSource, FCKConfig.FormatOutput to true and false but it did not make any difference.

Rajiv

#2591 Strange behaviour Bug Normal General
Description

Hi there,

In my sample code i have a formview with a sqldatasource. I added the FCKeditor in the <EditItemTemplate>

I have 2 linkbuttons whitch i use to switch between edit- and itemTemplate mode. I load the page in itemTeplate mode. When i go to editTemplate mode the FCKeditor is loaded and the data is displayed. No problem at all, but when i change back to editTemplate mode an error appears.

So switch to editTemplate and back with the linkbuttons to reproduce the problem.

I added 2 sqldatasources and 2 formViews to test what is going on. Results:

  • sdsTest works;
  • sdsTest1 does not work; (cannot switch back to itemTemplate)

The difference between the sql datasources is that sdsTest1 data contains a <p> and </p> tag in de loaded data. Same problem with other tags.

I receive the common error: 'Runtime-fout Microsoft JScript: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500'

The bold line will create the error:

Sys.Net.XMLHttpExecutor = function Sys$Net$XMLHttpExecutor() {
...
try {
  '''_this._webRequest.completed(Sys.EventArgs.Empty);''' 
}
finally {
  if (_this._xmlHttpRequest != null) {
    _this._xmlHttpRequest.onreadystatechange = Function.emptyMethod;
    _this._xmlHttpRequest = null;
  }
}

Can anyone tell me how to avoid this? Thanks in advance.

#2593 Continue the numbering list New Feature Normal Project : MediaWiki+FCKeditor
Description

We are working on modification of FCK Editor integration of mediawiki. We would like to give the user an option to continue the numbering in an ordered list in case a user breaks the numbering after a line. Please help us.

#2594 Indent and Outdent New Feature Normal General
Description

I am woking on modifying the FCKeditor integration of Mediawiki and i am able to get the indent and outdent buttons in the toolbar. When i try to indent a text the wikitext is not created and the indentation is lost when i save the page. Can you please help me solving this?

#2595 getHTML, getXHTML & getData adds HTML code tht isn't there Bug Normal General
Description

If the editor is set with full=true, the get* methods return data that includes additional html tags such as <html> & <body> even if they are not present in the editor.

This seems like a bug as I assume these commands only return what is actually in the editor formatted to HTML or XHTML but does nt add tags that are not there. I assume getData provides no formatting.

To test this I created a field that contains only a <div> tag. Then called getData. getData added <html> & <body> tags to the <div>. If I set FULL=FALSE it returns only the <div> section.

#2597 Safari: drop from outside the editor is disabled Martin Kou Bug Normal FCKeditor 2.6.4 General
Description

Since the introduction of [589] the external drop of elements in FCKeditor is disabled in Safari.

That's meant to respect the ForcePasteAsPlainText setting, but every drop is always disabled in this code:

 var cancelHandler = function( evt ){ evt.returnValue = false ; } 
 this.EditorDocument.addEventListener( 'dragenter', cancelHandler, true ) ; 
 this.EditorDocument.addEventListener( 'dragover', cancelHandler, true ) ; 
 this.EditorDocument.addEventListener( 'drop', this._ExecDrop, true ) ;
#2598 Image Properties Dialog not applying BodyClass to Image Preview body element. Bug Normal UI : Dialogs
Description

The Image Preview textarea in the Image Properties dialog doesn't have any classes associated with the body element for the preview pane. This can mean that the preview is unviewable and may not match the site's theme.

This can be fixed by adding the line:

document.body.className = FCKConfig.BodyClass;

In the window.onLoad function in the file: editor/dialog/fck_imagefck_image_preview.html.

I'm not a javascript programmer though and I haven't looked very deeply into the code for this application so it might not be the best way.

#2599 Allow an arbitrary query string, and propagate it to dialog boxes New Feature Normal UI : Dialogs
Description

Hey guys,

Thanks so much for FCKEditor - it really is a superb piece of work and you deserve all your success. I have a small feature request:

In FCKeditor._GetIFrameHtml, you do...

if (this.ToolbarSet) sLink += '&amp;Toolbar=' + this.ToolbarSet;

...I would like to see this capability extended so that I can attach arbitrary things to the query string. For example...

new FCKEditor( 'x' ).extraParameters = 'foo=bar';

...which, in turn, get passed to every dialog box...

FCKDialogCommand.prototype.Execute = function() {

FCKDialog.OpenDialog( 'FCKDialog_' + this.Name, this.Title, this.Url + '?' + this.extraParameters

Why do such a thing? One of the best features (for me) about FCK is being able to tweak the dialog boxes to suit my needs. For example, I tweak fck_image.html and insert some server-side script to turn the image box into a dropdown SELECT of available images.

To do this at the moment, I have to override FCK in a number of places to feed a query parameter from my top-level page (the one that includes the TEXTAREA) into the image dialog box.

Native support for passing parameters along would be neat.

#2600 Hi m facing problems Task Normal General
Description

Actually I have integrated 2.1 fckeditor previously. I can Upload image in that. Is it possible to resizing and align of image in 2.1 version if not then HOw can i do without moving to new version

#2601 Copy/paste from open office Bug Normal General
Description

Hello,

I have a problem when copy/paste text from open office. It keeps me own tags to open office. Is it possible to have a button like a copy and paste Word?

Thank you

#2602 Lithuanian letter "š" appers bad in HTML code Bug Normal General
Description

When typing letter "š" in Lithuanian language, it appears as "&scaron;" in HTML code. Althought all other letters apper as they are.

Firefox 3.0.3, Ubuntu

#2603 Set EMailProtection to none by default. Alfonso Martínez de Lizarrondo New Feature Normal FCKeditor 2.6.4 General
Description

Ok, I have noticed that this is a problem too late, but I guess we can still turn it off.

Reasons why I think it should be disabled:

  • it is not documented well (that can be fixed)
  • links are not usable if javascript is disabled (can't be fixed)
  • there are sites that filter posted content and strip code that looks like a potential XSS attack (via HTML Purifier for example), thus it doesn't work there even if javascript is enabled
  • it is a major change between last stable release and when upgrading from previous minor release most people expect no suprises

I think we have made a mistake by enabling it by default, but it may bee too late to change this. Anyway I'm posting this here for consideration.

#2604 Response.CodePage Alfonso Martínez de Lizarrondo Bug Normal FCKeditor 2.6.5 Server : ASP
Description

The addition of the Response.CodePage variable in the basexml.asp file is causing Browser failures when browsing for files.

The OS is Windows Server 2000 with SP4 using IIS.

Commenting out this line does remove the error, but the repercussion is that larger data imported into the editor will be truncated at 64.5k characters.

#2605 Move escapeXml method to a StringBuffer Michael Osipov Task Normal FCKeditor.Java 2.5 Server : Java
Description

Addressing this method: http://dev.fckeditor.net/browser/FCKeditor.Java/tags/2.4.1/java-core/src/main/java/net/fckeditor/FCKeditor.java#L205

#2606 Deleting a button (Safari) adds text-align: center to remaining contents Dmiry Polyakov Bug Normal General
Description

To reproduce (in Safari):

All the remaining content in the Fckeditor box is now center aligned thanks to "text-align: center" being added to the <P> tag. We've found this to be incredibly confusing to explain to the end users, even though clicking the "Left Justify" button restores the proper left alignment. Our application relies on a lot of buttons, so this becomes an issue for us more than normal.

#2607 FileUplad and QuickUpload code are not in sync Bug Normal File Browser
Description

If you compare the error codes of the FileUpload commmand to the QuickUpload command they do not comply. Both commands serve same purpose so error codes should be the same.

More over if one compares the source of the JavaScript callback there are even undocumented error codes: QuickUpload <=> FileUpload

This should be easy to address.

#2608 Removing carriage return invalidates JavaScript Michael Osipov Bug Normal FCKeditor.Java 2.4.2 Server : Java
Description

The following line in FCKEditor.java

String encodedValue = escapeXml(value.replaceAll("((\r?\n)+|\t*)", ""));

remove carriage return, but this can destroy Javascript code entered in FCK if the Javascript use line comments.

For example

a comment here

var i = 2;

  • becomes -

a comment var i = 2;

so no more variable declaration.

I don't know what can be done for fix that. Leaving the carriage return in the value attribute of the hidden field seems to be working in IE7 and FF3, but I don't think this is valid XHTML.

#2609 Copy & Paste Table Row or Column New Feature Normal General
Description

I would like to have some more support for tables in the editor. It should be possible to markup more then one cell for editing or copying, or select via context menu a whole row or column to copy & paste them to another place inside the editor.

#2610 destroyed template tag when using mediawiki fckeditor extension with Firefox 1.5.0.4 Bug Normal Project : MediaWiki+FCKeditor
Description

hi!

We are using the FCKeditor Wikimedia extension and are experiencing problems when this extension is used by Firefox 1.5.0.4.

We got a Table and some of the field are with colored background. This backgroundcolor is set with an Template {{tbcolor1}}.

When i open this site in the edit section and fckeditor spawned, {{tbcolor1}} changed to {{tbcolor1="" , thus rendering the template tag inoperative.

#2611 extra slash with quickupload in asp Alfonso Martínez de Lizarrondo Bug Normal FCKeditor 2.6.4 Server : ASP
Description

Using the quickupload shows the uploaded path with an extra slash in the asp connector.

The patch also removes an extra byte at the end of the upload class, just a minor detail.

#2612 Chrome: "Paste as a plain text" option not working Alfonso Martínez de Lizarrondo Bug Normal FCKeditor 2.6.4 General
Description

Windows XP sp3 FCKeditor 2.6.3 Drupal 6.6 Drupal module: fckeditor-6.x-1.3-rc3.tar Google Chrome

fckconfig.js: FCKConfig.ForcePasteAsPlainText = true ;

Using Google Chrome, "Paste as a plain text" popup not appear. Always appear "Paste" popup, regardless of fckconfig.js configuration.

#2613 Colors for markup in source New Feature Normal UI : Source View
Description

Hi ! We would love to see colors when we switch to source code.

For example the syntax coloring editPlus has. Every code type has different colors..

Hope this is not too hard.

Webspacedesign

#2614 sugesstion for .htaccess file with output charset definitions in it. Bug Normal General
Description

There is some apache directives on some hosting providers which suggest regional charsets on content-type output on default like:

"Content-Type:  application/x-javascript; charset=windows-1251 (BOM UTF-8)
Vary:   accept-charset, user-agent"

Which crashes firefox, opera etc. non MS browsers, cause it now contains some illegal simbols in javascripts. I suggest to include some .htaccess file for it

AddDefaultCharset utf-8
AddCharset utf-8 *
<IfModule mod_charset.c>
   CharsetSourceEnc utf-8
   CharsetDefault utf-8
</IfModule>

it will produce Content-Type: application/x-javascript (BOM UTF-8)

(terribly sorry for my english)

#2615 Bug in FF when FCKConfig.StartupShowBlocks=true on a hidden FCKEditor instance Bug Normal General
Description
<form method="post" action="#">          
            <div id="div1" style="display:none">
		<script type="text/javascript">
<!--

var oFCKeditor = new FCKeditor( 'FCKeditor_2' ) ;
oFCKeditor.BasePath	= '/www.lib/fckeditor.release/' ;
oFCKeditor.Config['CustomConfigurationsPath'] = '/testfckeditorshare/fckconfig_HTML2.js?' + ( new Date() * 1 ) ;
oFCKeditor.Height = 100 ;
oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
oFCKeditor.Create() ;
//-->
		</script>
		</div>
</form>
<input type="button" value="toogle visible" onclick="document.getElementById('div1').style.display='block'">

Error in Firebug (under FF3):

FCK.EditorWindow.getSelection() is null [Break on this error] var FCKShowBlockCommand=function(A,B){th...e()!=this._SavedState) this.Execute();};

Error fckeditorcode_gecko.js line 71.

Apparently FCKEditor needs to work on visible elements to apply "show block" on startup.

#2616 IE sometimes still insert at the beginning Alfonso Martínez de Lizarrondo Bug Normal FCKeditor 2.6.4 General
Description

Despite the previous fixes for the 2.6.4 milestone, in the current SVN there are still some situations where IE can insert the new content at the beggining. One example is using the easyupload file dialog: http://martinezdelizarrondo.com/easyupload

For the moment this is the best option that I've found:

  • fckdialog.html

     
    697697
    698698                if ( frmMain.Ok && frmMain.Ok() )
    699699                        CloseDialog() ;
    700                 else
    701                         frmMain.focus() ;
    702700        } ;
    703701
    704702        window.Cancel = function( dontFireChange )
#2618 Extract ImageInfo from java-core.jar Michael Osipov Task Normal FCKeditor.Java 2.5 Server : Java
Description

ImageInfo should be retrieved from maven central repo.

#2619 Making a link on text containing a <sup> tag results in link being split Bug Normal General
Description

If I have some HTML like

<p>the size is 4m<sup>2</sup>.</p>

and in the visual editor mode I highlight this and make a link, the HTML becomes:

<p><a href="link.html">the size is 4m</a><sup><a href="link.html">2</a></sup><a href="link.html">.</a></p>

rather than

<p><a href="link.html">the size is 4m<sup>2</sup>.</a></p>

The first is not sensible as this means there are now three tab entries and the link is not treated as a single link.

#2620 Add emoticons New Feature Normal General
Description

Please add a set of emoticons similar to Gmail's editor. See attached.

#2621 Replace hard-coded messages with lookup to localized versions Bug Normal UI : Language
Description

Some messages in FCKEditor are still hard-coded to English versions.

For example, the result messages for the image upload dialog:

source:/FCKeditor/tags/2.6.3/editor/dialog/fck_image/fck_image.js#L454

These should use the message resource bundles.

#2623 'Automatic' Button in the color picker for text and background color New Feature Normal General
Description

I would like to remove the color cell with appears next to the 'Automatic'button in the color picker for text and background color option. Can you please guide me on how to achieve this.

#2625 fck_dialog_ie6.js should not be needed for each and every skin Task Normal CKEditor 3.0 General
Description

Despite the fact that there is comment in skin/*/fck_dialog_ie6.js says "this is skin specific", the 3 copies in the fck distribution are identical. It's loaded by fckdialog.html from the skin directory. It would be nice if there was some kind of inheritance or fallback mechanism to avoid that each and every skin needs to copy this file around.

#2627 Link relationship (rel attribute) on "advanced" tab for links New Feature Normal UI : Dialogs
Description

I have attached a patch that implements the rel="" attribute for link tags.

This may be somewhat a dupe of ticket:2145, but I notice Ben listed multiple feature requests in his ticket, which is shunned.

In any case, the patch is a pretty simple one, however it halves the space in the advanced tab for the "styles" text box.

I'm also unfamiliar with the code base, so not sure if I've missed anything, such as unit tests etc.

#2628 OnSelectionChange / isDirty not handled correctly on FF when not focus set Bug Normal General
Description

I see the following problem with the current fck editor version (2.6.3). Currently I see this on Firefox 3.0.3 windows and ubuntu. IE 7 does work correctly (if OnSelectionChange works at all...)

  1. Create a editor instance
  1. Attach a OnSelectionChange event handler which evaluates the IsDirty() flag
  1. Now start the editor, make sure it has NOT the focus.
  1. Insert a image via the toolbar

As you can see, the OnSelectionChange event is not fired, and also the IsDirty() flag is not set to true.

If we do the same thing, but with fckeditor having the focus, then OnSelectionChange is fired and also IsDirty() is set correctly to true.

#2629 Autogrow does not work with default fckeditor.js file Bug Normal General
Description

Because the fckeditor.js file stipulates a default height here
Line 34: this.Height = height || '200' ;

Changing this line to read
Line 34: this.Height = height;

Fixes the problem.

This was a very frustrating bug to figure out with many hours wasted tracking it down, in the least the plugin source should be documented to note this problem.

#2630 Empty span tags not removed when using Placeholder plugin Bug Normal Core : Output Data
Description

When using the placeholder plugin, which is part of the standard FCK download, empty XHTML-style span tags no longer get removed.

For example, enter the following HTML in de source view:

<html dir="ltr">
    <head>
        <title>Test</title>
    </head>
    <body>
    	<span style="color: white" />
    </body>
</html>

Switch to WYSIWYG-mode and back to the source. Without the placeholder plugin, the span will be removed. With the plugin enabled, the span will stay, causing unwanted behaviour because of a IE6/7 rendering bug for XHTML span tags.

After some debugging, I've discovered this problem is easily fixed by changing one line in the plugin:

Original code:

    FCKXHtml._AppendChildNodes( node, htmlNode, false ) ;

Fix:

    node = FCKXHtml._AppendChildNodes( node, htmlNode, false ) ;

And maybe even better;

node = FCKXHtml._AppendChildNodes( node, htmlNode, Boolean( FCKListsLib.NonEmptyBlockElements[ sNodeName ]) ) ;

Ofcourse this fix is not critical to standard FCK functionality, but the placeholder plugin is an interesting example for FCK customization and would be good to fix it.

Kind regards,

Niels Noorlander.

#2631 Warning: in_array... Bug Normal Project : MediaWiki+FCKeditor
Description

I have a warning in editing articles: Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/handh0/public_html/w/includes/SkinTemplate.php on line 994 see here: http://handheldusers.com/w/index.php?title=Test&action=edit

It's only in Persian language, While I am using the english language it's ok. How can I solve it?

And the another thing is: Where can I donload "FCKeditor - JavaScript - Sample 3" with persian language?

Thank you very much

#2632 "Paste from Word" in IE pastes text in the beginning of the body text, no matter where the cursor was Bug Normal General
Description

I find it happens even in FCK demo site (http://www.fckeditor.net/demo). But didn't find it in another ticket here, using the Search, so I do create a new ticket. Also found this bug mentioned in a forum thread - http://www.fckeditor.net/forums/viewtopic.php?f=6&t=11380&p=31127.

So, what's happening is that I have some text already in the editor textarea and then I click the "Paste from Word" button and paste some new text in it. Then press "OK" and the text pastes in the beginning of the editor's textarea, no matter where the cursor was when pressing the "Paste from Word" button.

It happens with Internet Explorer 7 - me on XP, but other people in the forum thread say it's the same on Vista.

#2634 Bug with FCKXhtml.SpecialBlocks Martin Kou Bug Normal FCKeditor 2.6.4 General
Description

When SpecialBlocks have child nodes, the call to AddItem fails, as it was removed recently I believe.

This can be replicated with the manual fckxhtml test.

I'll attach a patch I believe resolves this momentarily.

#2635 asp connector link quickupload adds extra slash Bug Normal General
Description

To reproduce, select some text, use the add link button, then switch the tab to the quick upload, and upload a file. Switch back to the an extra / character is inserted into the path.

I found that the value of "currentFolder" was a backslash. The CombinePaths function was appending a forward slash, then a second call to CombinePaths inserted an extra / again. The value of the path became <dir>\<filename>. This caused the url to display as <dir><filename>.

The fix I applied was to test currentFolder for a "\" and convert it into a "/" in commands.asp.

So I added one line to the end of FileUpload() in filemanager/connectors/asp/commands.asp.

I only use the asp version, so I did not test if this bug exists in other versions.

Also, I noticed that if you use the browser to upload and select a file, the path is urlencoded, but if you use the quickupload, the path is raw. Not a big deal, but inconsistent.

Code for my fix follows:

Set oUploader = Nothing

dim sFileUrl

if currentFolder = "\" then currentFolder = "/" ' ADD THIS LINE

sFileUrl = CombinePaths( GetResourceTypePath( resourceType, sCommand ) , currentFolder ) sFileUrl = CombinePaths( sFileUrl , sFileName )

SendUploadResults sErrorNumber, sFileUrl, sFileName, ""

#2636 Show all characters into FCKeditor New Feature Normal General
Description

FCKeditor may have a function to show all characters from a text in the WYSIWYG mode, like Word or other text editors. It is very precious for some users that do not know the difference between <br> and <p> html tags from source code, but they know better the symbols like paragraph mark or carriage return!

#2638 Fck is running after published Bug Normal Server : ASP.Net
Description

fckeditor is running after publishing.earlier it was running smoothly but now it shows error like fckconfig is not defined ("java script error")

#2639 Incorrect class definition (double quotes) Bug Normal General
Description

When using FCKeditor within a PHP page the given HTML code (input) is rewritten wrong by FCKeditor. In WYSIWYG mode the following replacement is occuring:

class='className'

becomes:

class="'className'"

Because of this double quotation the class is not recognized and the element will not display according to the given stylesheet.

Windows XP SP3, FireFox 3.03

#2640 Dynamically Generated Templates New Feature Normal General
Description

I'd like to be able to have templates be generated dynamicall from a URL. That is rather than specify static HTML in the template, I'd like to give a URL instead and use the output of that URL as a template.

In my case, this would be to use the template to create a newsletter from recent content from our CMS, which I then hand edit to add, subtract or change items.

My thought is to extend the existing Template format as follow, i.e. add a src attribute to the HTML tag.

<Template title="Newsletter" image="newsletter.gif">

<Description>IBRS newsletter</Description> <Html src="http://ibrs.com.au/includes/newsletter.php" ></Html>

</Template>

I can see this would be a simple change to the template.html, however my JS is not up to this task.

#2641 Access filemanager security Bug Normal Server : PHP
Description

Hi,

i think i found a problem security if you know this url : http://www.fckeditor.net/fckeditor/2.6.3/editor/filemanager/browser/default/browser.html?Type=Image&Connector=http%3A%2F%2Ffckeditor.net%2Ffckeditor%2Feditor%2Ffilemanager%2Fconnectors%2Fphp%2Fconnector.php

I try on your site but doesn't work but i see the file manager

On my site, i can upload directly an image

how to secure that ?

#2642 How to disabled auto add <br> end of every element? Bug Normal General
Description

Hi, Sir

How I can disable FCKEditor auto add <br /> code end of every element? like as below codes: The HTML code <table>

<tr>

<td> </td>

</tr>

</table> but After save through FCKEditor, the <br /> will add auto as below codes: <table><br />

<tr><br />

<td><br /> </td><br />

</tr><br />

</table><br />

so I want to disable this function, but I can not find how to do?

Thanks Jarvis

#2644 Over riding ConvertToDataFormat wraps lines Bug Normal General
Description

Hi ya,

First of all enable the bbcode plugin. Now load up the bbcode plugin and this is purely to do with the method: ConvertToDataFormat

Now type in a long sentence with no breaks while in rich text mode. Then copy it, and paste a few times. It appears to be pasted ok. Click preview, or switch the the raw text, and the text has mysterious line breaks as if it has been wrapped.

Disable the bbcode plugin and try again. It works fine. Enable the bbcode plugin again, go to the method i just mentioned... and (using firebug) below the:

var data = rootNode.innerHTML ;

type console.log(data);

the mysterious line breaks are there! Something is wrapping the text before sending it to the plugin so i have no idea to tell actual line breaks from wrapped ones.

I assume this is a bug. Please advise.

Browser: FireFox 2 and FireFox 3 Operating System: Vista & XP

Kind regards, Scott

#2645 Wiki to HTML Task Normal Project : MediaWiki+FCKeditor
Description

When i use ':' for indenting a text in wikitext and switch to WYSIWYG mode the ':' are getting converted to HTML tags <dl>&<dd>. Can someone please tell me how this is getting converted, rather which function is fckeditor for mediawiki using to achieve this. Please help me.

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