Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1801 - 1900 of 11754)

Ticket Summary Owner Type Priority Milestone Component
#1496 Image map areas issues Bug Normal FCKeditor 2.5 General
Description

There are two problems trying to use image map areas:

  1. In IE, if <map>.name is assigned then it doesn't persists when going to source mode.
  1. <area>.href aren't processed in FCK.ProtectUrls
#1497 Bottom border around the editor gets hidden if you... Bug Normal General
Description

Hi.

This bug happens both FCKeditor 2.4.3 and the new 2.5 beta version. Only managed to get the bug in Firefox.

How to reproduce:

  1. Go to:

http://www.fckeditor.net/demo/toolbar?toolbar=Basic

  1. Click the "Collapse Toolbar" icon on the left of the toolbar, to hide the toolbar.
  1. Click the "Expand Toolbar" icon --- Keep mousepointer just above the same place you clicked in #2
  1. Now if you still keep the mousepointer just above the "Expand Toolbar" icon after you clicked it in #3, then you will see that the borders around the editor are visible.
  1. Now move the mousepointer over some of the icons in the toolbar.

What happens is that the bottom border of the editor is hidden.

This can be confusing for enduser, especially if bg-color in FCKeditor and bg-color below the FCKeditor.

#1499 Applying format H2 or similar to a word in a line makes whole line H2 Bug Normal General
Description

Hi.

If you go to the demo page on this site.

Then select one word in the line.

Then from the Format combo select e.g. H2, then whole line is in H2 tag.

I belive only selected word(s) should be in H2 tag. If I do the same in my 2.4.3 install then just the selected text is applied the H2 tag.

Happens in IE6, IE7 and Firefox. (not tested in other browsers)

#1500 The _FCK_PaddingNodeListener is called multiple times Alfonso Martínez de Lizarrondo Bug Normal FCKeditor 2.5 General
Description

Load the editor and press New Page several times (well, don't do it in IE or it will crash, #1498)

The OnSelectionChange event will have several calls to _FCK_PaddingNodeListener, and in Gecko also to FCK._ExecCheckEmptyBlock

I've modified slightly the FCKEvents.prototype.AttachEvent so it tries to detect if the functionPointer is already registered, but in Gecko it doesn't detect the duplication of FCK._ExecCheckEmptyBlock, so anyway the full fix (making sure that the AttachEvent is called only on startup is needed.

FCKEvents.prototype.AttachEvent = function( eventName, functionPointer )
{
	var aTargets ;

	if ( !( aTargets = this._RegisteredEvents[ eventName ] ) )
		this._RegisteredEvents[ eventName ] = [ functionPointer ] ;
	else
	{
		// Check that the event handler isn't already registered with the same listener
		// It doesn't detect function pointers belonging to an object (at least in Gecko)
		if ( aTargets.IndexOf( functionPointer ) == -1 )
			aTargets.push( functionPointer ) ;
	}
}
#1501 FCKeditor.Net 2.2 problem with Opera 9.50b Bug Normal Server : ASP.Net
Description

When i try to view a page with FCKeditor on, its only a normal textbox on the page.

I use FCKeditor.Net 2.2 to integrate FCKeditor on my page. It works in IE 7.0 and FF 2.0, but not in Opera 9.50b. The browser is not giving any javascrip error.

#1502 Remove format doesn't remove attributes Alfonso Martínez de Lizarrondo Bug Normal FCKeditor 2.6 Core : Styles
Description

The "Remove format" introduced in #75 doesn't remove any attribute, so it leaves the class and styles, so in the end the result is almost no clean up at all.

This is a list of attributes that should be cleaned at least to have some clean output:

  • class / className
  • style
  • lang
  • width
  • height
  • align
  • v:shapes
  • x:str
  • x:num
  • hspace
  • valign
#1503 Errors when styles applied to paragraphs as classname Alfonso Martínez de Lizarrondo Bug Normal FCKeditor 2.6 Core : Styles
Description

I have made a few testcases based on sample14.html. The first one load custom styles from xml and the second loads custom styles from javascript array in config file.

Firstly, the behavior is different between these two approaches. When loading custom styles from javascript, the style is applied when chosen, but this is not reflected in the combo box. When loading styles from the xml, the combo box seems to be updated correctly when applying styles to paragraphs.

Secondly, there are a few issues when loading the styles from the xml file as well.
1. The normal style (style without class) is always selected. Expected behaviour is that this style should be selected only when current paragraph has no class (or when it is not overridden by other styles).
2. When chosing the currently selected style, for a given paragraph, a second time, the paragraph is removed! The paragraphs innerHTML is placed directly under body.
3. When a paragraph has no class attribute, all styles are marked as selected. Expected only style "normal" to be selected.

Tested in IE6/IE7

#1504 License header review Frederico Caldeira Knabben New Feature Normal CKEditor 3.0 General
Description

License info in each file takes around 700B.

700B x 30 days x 5000 hits/day x 10 file requests = 1GB/month

I have 6mbit connection so it doesn't affect me that much, but... imho that's just wasting traffic.

Shouldn't we place only a single license.txt file or at least reduce the amount of comments by placing a short link to http://www.fckeditor.net/license ?

#1506 creating li element in fckstyles.xml doesn't show up Bug Normal Core : Styles
Description

We have the following setup in out fckstyles.xml file. Everything shows up but the List Item Bullet. If we change the element to something other than li or ul it shows up just fine.

<Styles>
   <Style name="Large Header" element="h1" />
   <Style name="Medium Header" element="h2" />
   <Style name="Small Header" element="h3" />
   <Style name="Paragraph" element="p" />
   <Style name="List Item Bullet" element="li">
        <Attribute name="class" value="bulletDisc" />
    </Style>
</Styles>
#1507 aspx connector session problem Bug Normal Server : ASP.Net
Description

FILE : FileWorkerBase.cs Lines (31-68)

SessionFCKeditor:UserFilesPath? is empty, because connector is not always running in same session as FCKEditor.

If I pass parameters during QueryString , can't be set... because sUserFilesPath become value DEFAULT_USER_FILES_PATH.

#1508 Browser.html - can't get parrameters from querystring in FireFox Bug Normal File Browser
Description

Change function in browser.html

function GetUrlParam( paramName ) {

var oRegex = new RegExp( '[\?&]' + paramName + '=([&]+)', 'i' ) ; var oMatch = oRegex.exec( window.top.location.search.replace('&amp;','&')) ;

if ( oMatch && oMatch.length > 1 ) {

return decodeURIComponent( oMatch[1] ) ; }

else

return ;

}

#1509 normal whitespace changed into &nbsp; by innerHtml() Martin Kou Bug Normal FCKeditor 2.6 General
Description

I noticed that insertHtml() in IE 6 and IE 7 changes a preceding whitespace (like ' ') into '&nbsp;'.
As far as I can see this behaviour is caused by the following line (number 165) in fck_ie.js:

html = '<span id="fakeFCKRemove">&nbsp;</span>' + html ; BR]]

Changing this line into (for example)

html = '<span id="fakeFCKRemove">fakeFCKRemove</span>' + html ;

seems to solve this.

Regards, Koen Willems

#1510 use layers instead of pop up windows New Feature Normal General
Description

It would look much more professions and be nicer to use if FCK used DIVs and XHR to provide the extra panels for image selection. A lightbox effect would be suitable; where the screen dims and the panel has temporary focus.

#1512 FCKeditor Directory New Feature Normal General
Description

I had a website built quite some time ago for php, and the person who built it used FCKeditor version 2.1 (yes, I had no idea until a few moments ago how very outdated the version I am using is), and I wanted to update the version used, but when I downloaded the zip file nothing was in a directory. I downloaded the packager, and ran that on my local, and nothing happened as far as putting the files into their proper place. The FCKeditor root folder contains 4 folders titled: "_samples", "_testcases", "editor", and "untitled". How can I update the version without destroying the functionality of the editor on my website? Here is code I use to connect to the editor when uploading to my database:

<? $oFCKeditor = new FCKeditor('content') ; $oFCKeditor->BasePath = '../FCKeditor/' ; $oFCKeditor->Value = ; $oFCKeditor->Create() ; ?>

And I connect to the editor via an include at the heading of the page using this code: <? include("../includes/connect.php"); include("../FCKeditor/fckeditor.php"); ?>

Please let me know the best way to go about this, and also, how can I change the skin on the editor? I am hoping the update will get rid of some of the issues I am having, which includes the editor throwing in extra <p> and nbsp; tags. Thank you so much for the help. I cannot express how much I appreciate it.

Sincerely- Charles Carter

#1513 FCKeditor Directory New Feature Normal General
Description

I had a website built quite some time ago for php, and the person who built it used FCKeditor version 2.1 (yes, I had no idea until a few moments ago how very outdated the version I am using is), and I wanted to update the version used, but when I downloaded the zip file nothing was in a directory. I downloaded the packager, and ran that on my local, and nothing happened as far as putting the files into their proper place. The FCKeditor root folder contains 4 folders titled: "_samples", "_testcases", "editor", and "untitled". How can I update the version without destroying the functionality of the editor on my website? Here is code I use to connect to the editor when uploading to my database:

<? $oFCKeditor = new FCKeditor('content') ; $oFCKeditor->BasePath = '../FCKeditor/' ; $oFCKeditor->Value = ; $oFCKeditor->Create() ; ?>

And I connect to the editor via an include at the heading of the page using this code: <? include("../includes/connect.php"); include("../FCKeditor/fckeditor.php"); ?>

Please let me know the best way to go about this, and also, how can I change the skin on the editor? I am hoping the update will get rid of some of the issues I am having, which includes the editor throwing in extra <p> and nbsp; tags. Thank you so much for the help. I cannot express how much I appreciate it.

Sincerely- Charles Carter

#1514 Floating panels positioned incorrectly in Mozilla with shared toolbar Martin Kou Bug Normal FCKeditor 2.6 UI : Floating Panel
Description

When using one or more editing areas with a detached/shared toolbar, the floating panels for color, font, etc. are positioned incorrectly for editor areas which are absolutely or relatively positioned on the page. I have confirmed this in Firefox v2.0.0.9 as well as the latest versions of Netscape and Safari for Windows. This is not an issue in IE 6 or 7. I have also confirmed that this is an issue with FCK versions 2.4 as well as 2.5 Beta.

It appears that these floating panels are positioned according to the X/Y coordinates of the editing area, rather than the coordinates of the appropriate toolbar button.

Below is a link to a simple test case, with one absolutely positioned editor instance and a detached toolbar. The editor version is 2.5b: http://www.trackto.com/dev/scratch/index.php

If necessary I can create other test instances and/or post source code. I would appreciate some advice or a resolution on this ASAP as it is a show-stopper for the project I am working on.

Thanks

Will Pierce

#1515 Client side javascript on page disabled in .NET Bug Normal Server : ASP.Net
Description

When the Page directive inherits attribute (Inherits="FredCK.FCKeditorV2.FileBrowserConnector") is in the page, client-side javascript within the page is disabled.

I'm using .NET radio button controls. A client-side onclick is added in the page_load. Depending on which radio button is clicked, a div is hidden or made visible. With the inherits attribute, the code to show or hide the div no longer works.

#1516 Different behaviour when submiting a page with FCKEditor Bug Normal Core : Output Data
Description

If the editor is in source mode, you enter invalid XHTML, and then submit the form without leaving the source mode, the editor submits the invalid XHTML value even if the DocType is set to XHTML.

If you change to the normal mode and submit the form, the submitted content is valid XHTML.

I think the internal transformation performed by the editor to generate XHTML should be triggered before submitting if it is in source mode.

#1517 mediawiki+FCKeditor and ratings extension Bug Normal Project : MediaWiki+FCKeditor
Description

We have MediaWiki with FCKeditor 2.5 and its on IE 6.0 SP2. I have installed Mediawiki Ratings extension and running into an issue in wikitext when I enter

<rating>
Great Poll
Poll 1
Poll 2
</rating>

and save it shows up fine...but when some one edit the page and saves page the above code comes in one line

<rating>Great Poll Poll 1 Poll 2 </rating>

and the ratings select dropdown will be empty (without any selection options).

It works fine in firefox 2.0.0.6

#1518 Extra block added before Bulleted list Martin Kou Bug Normal FCKeditor 2.5 Core : Lists
Description

Steps to reproduce:

In fck do: aaaaaaa <Shift+Enter> bbbbbbbbbbb <Shift+Enter> cccccccc

on the second line (with "bbbbbbb") press "bulleted list". Second line is bulleted but an empty line appears between line 1 and 2 (in IE always in FF sometimes).

The Source HTML is:

<p>aaaaaaa<br /> &nbsp;</p> <ul>

<li>bbbbbbbbbbb</li>

</ul> <p>cccccccc</p>

Tested on FCK demo (ver. 2.5 Beta Build 16848)

#1519 Bulleted list on doesn't work properly for selected lines Frederico Caldeira Knabben Bug Normal Core : Lists
Description

In fck do: aaaaaaaa
<Shift+Enter>
bbbbbbb
<Shift+Enter>
cccccccc

Place the cursor at the beginning of the document and press <Shift+DownArrow> twice. Two lines of text ale selected. Press "Bulleted list" button. Also the third line (cccccccc) is bulleted

Tested in FCK demo (ver. 2.5 Beta Build 16848) in both FF and IE.

#1520 Bulleted list are skipped when deleting line Bug Normal Core : Lists
Description

Steps to reproduce:

Let's have this source code:

<p>aaaaaaa<br />
&nbsp;</p>
<ul>

<li>bbbbbbbb</li>

</ul>
<p>ccccccc</p>

Switch to editing mode.
Go to the empty line (between aaaaaaa and bbbbbbbb)
Press <Del>
"bbbbbbbb"-line stays on the place but the "ccccccc"-line gets before it!

So the result is:

aaaaaaa
ccccccc

  • bbbbbbbb

The source mentioned above may be obtained in editing mode by the following steps:

aaaaaaaa <Shift+Enter> bbbbbbb <Shift+Enter> cccccccc

on the second line (with "bbbbbbb") press "bulleted list". Second line is bulleted but an empty line appears between line 1 and 2 (in IE always in FF sometimes).


Tested in both FF and IE in FCK demo (ver. 2.5 Beta Build 16848)

#1521 "Replace" function doesn't work properly Martin Kou Bug Normal FCKeditor 2.5 General
Description

Steps to reproduce:

in FCK do:

aaaaaaaa
<Enter>
aaaaaaaa

Do replacement: replace all "aa" with "xx" In FF the result is:

xxaaaaaa
aaaaaaaa

and JavaScript error occures.

In IE the result is:

xx
xx

but with no JavaScript error

Both are bad.


Tested in FCK demo (ver. 2.5 Beta Build 16848)

#1522 Can't see the new line created when pressing enter in front of paragraph with inline formatting Frederico Caldeira Knabben Bug Normal FCKeditor 2.6 General
Description


Scenario:
1. Go to sample01.html on nightly build and clear content
2. Write some text and press enter to make it a paragraph
3. Select the text and apply bold
4. Move cursor in front of the text and press enter

Expected the current line to move down when pressing enter, but it is not moved. It seems like the new paragrahs is not inserted as they should be, but when you switch edit mode they are inserted above the current line.

#1523 Pressing source button twice leads to diffrent editor content Bug Normal General
Description

Steps to reproduce:

in Source insert code:

<p>aa<div>aaa</div>aaaaaaa</p>

Now switch to editing mode and this appears:

in FF:
aa

aaa
aaaaaaa

in IE:
aa
aaa
aaaaaaa

Now press "Source" button twice. And the result is: in FF:
aa

aaa

aaaaaaa

in IE:
aa

aaa

aaaaaaa


This in not the only case when pressing "Source" button twice change the editor content. --- tested in FCK demo (ver. 2.5 Beta Build 16848)

#1524 Cursor jumping to start and end of unordered list Martin Kou Bug Normal FCKeditor 2.5 General
Description

When I create an unordered list where every element is a link, and then I click at the end of one of the items in the list, the cursor will be moved to the line before the list for one 'blink' before being moved to the start of the last line in the list.

I am using Firefox 2.0.0.9 on Vista (but this has also been seen on Ubuntu). I am using FCKEditor 2.5beta, and this bug is also present in the currently nightly build.

This bug does not seem to be present in IE7 on Vista (I have not tested any other versions of IE) or Safari 3.0.3 on Vista.

I have attached an image that should clarify this bug. You can use the following HTML to replicate this in the editor:

<p>&nbsp;</p>
<ul>
    <li><a href="a">Accounting</a></li>
    <li><a href="a">Economics</a></li>
    <li><a href="a">Geography</a></li>
    <li><a href="a">History</a></li>
    <li><a href="a">Law</a></li>
</ul>

Many Thanks,

Adam Charnock

#1525 menu configuration not working Bug Normal General
Description

I tried 2.5 as I needed Safari compatibility. I opened the fckconfig.htm file to rearrange the menu but my changes are not reflected on the menu at all. I switched to the Basic menu and simply added the 'underline' feature but it did not show up no matter what I tried. Is this version pulling its menu data from a different source other than the fckconfig.htm file as previous versions did?

#1526 IE7 lost focus when using fckspecialcombo fields Bug Normal General
Description

I am trying zu integrate fckeditor to a cms. It is nessesary, that the toolbar and the editor area are in different frames (iframes dont work correctly here).

Up to now, most things works correctly. I have also used the modification from ticket #236 to the panels.

The only thing, what doesnt work is a "lost focus" problem with all toolbar items, that use the fckspecialcombo class (styles, fonts, size etc.). Everytime, when I select text and then click to one of this drop down, the text is unselected and the function cant be applicate. But - and this is special - only in IE, Firefox works correctly!

I have no idea, where I can fix this inside the fckeditor code. It is no problem to build a customized version of FCKeditor for this solution, but I need information, where I can find this "focus" mechanism an change them.

toolbar is on parent.framestoolbar?.document editeable area on parent.framescontent?.document (here is also the fckeditor init.

#1527 FCK class should have a function that returns FCKeditor version and revision Wiktor Walc New Feature Normal CKEditor 3.0 General
Description

Tips: FCKeditor version can be hardcoded, revision can be obtained by adding $Rev$ keyword somewhere inside class definition. I think that this function must be available in FCK class (so that it was possible to check it while loading configuration file), FCKeditorAPI should have similar methods as well.

The problem is that when developing a plugin for other software (like Drupal), it must work with at least two versions of FCKeditor - 2.4 and 2.5. Ideally, it should work with as many FCKeditor versions as possible. Some things change with time (new commands are added, perhaps some other commands are dropped, file location is changing etc.) and to trace those changes I have to use tricks.

For example to check whether I can add 'ShowBlocks' to the toolbar in config located in CustomConfigurationsPath, I check whether FCK.GetData exists (because it was added in FCKeditor 2.5).

Next example: the location of server connectors has changed and I have to use file_exists() tricks to detect the valid path. So we have to add this not only to javascript core, but also to FCKeditor classes in all other languages.

I have set the milestone to 2.5, because the sooner we do it, the less mess we would have in plugins.

#1528 Backspace or delete key inserts new paragraph/line break Bug Normal Project : MediaWiki+FCKeditor
Description

When you edit an existing paragraph, click after a character, and press the Backspace or Delete key </p><p><br/> gets inserted into the HTML. The display looks fine; however, when you saved or switch to Wikitext mode the the word is split on two lines.

Bug happens on MediaWiki+FCK Extension. Not sure what version of FCKEditor it uses.

#1529 Error: Object Expected Michael Osipov Bug Normal Server : Java
Description

Hi, there I tried to access the FCKeditor but I get this error "Object Expected". URL: .../fckeditor.html?InstanveName=EditorDefault@Toolbar=Default But last time was working fine... Btw, when I tried to access the tablib: http://fckeditor.net/tags-fckeditor, it cant find the URL

Currently I'm using java to integrate the FCKEditor

Thanks Kong

#1530 "Replace" and "Replace All" buttons are disabled Martin Kou Bug Normal FCKeditor 2.6 UI : Toolbar
Description
  1. Copy some text from FCKeditor
  2. Click "replace", and use mouse right click-> select paste (not ctr+v), to paste those text to the "Find what:" text input area

Notice that the "Replace" and "Replace All" buttons are still disabled (they should be enabled when text is in the "Find what:" text filed.

I thappens on both IE7 and FFx.

#1531 Update Spanish Translation for Placeholder Plugin Martin Kou New Feature Normal FCKeditor 2.6 General
Description

In /FCKeditor/trunk/editor/plugins/placeholder/lang/ I've seen that spanish translation (es.js) not exist! So I made a simple translation for this file.

I attach the file.

Also I use filemanager from Fckeditor, but this feature don't have any files for translation in others languages. Please, You can check this!

#1532 FCKeditor 2.5 beta failed to install in Joomla 1.0x on SiteGround.com Bug Normal General
Description

Hi,

After downloading the new FCKeditor 2.5 beta from the site that came up (after clicking on the fckeditor.net main page 2.5b link), & trying to load it into Joomla 1.0x installed on SiteGround, Joomla gave a message something like "Could not find Joomla XML Setup file in package."

A few hours earlier I had successfully uploaded FCKeditor v. 2.4.4.a as bot_JoomlaFCKeditor2.4.4a Version 1.x.zip , from http://joomlacode.org/gf/project/joomlafck/frs/?action=FrsReleaseBrowse&frs_package_id=64 . I set it as the default (replacing TinyMCE).

Both files were .zip files, but the older version has bot at the beginning.

Path for both: Sign in to my SiteGround URL as administrator / Control panel top menu bar / Installer / Mambots / Under heading "Upload Pkg File" / navigate path to .zip file on my machine / click upload & install.

Browser: Firefox 2.0.0.9. Mac OS 10.4.11.

I still want to use v. 2.5b.

Thanks, TOC

#1534 Numbered comments are inserted in the document Bug Normal Project : MediaWiki+FCKeditor
Description

This may already have been discussed, but I couldn't find it anywhere. With FCKeditor installed in MediaWiki 1.10 and 1.11, there are comments inserted in the document that are like this: <!--{11952409160683} -->

That may be by design, but it is causing problems with Mediawiki. Namely, it sporadically keeps one from being able to edit a section of an article (at least, that ability returns when the comments are removed), and it prevents edits to e.g., the navigation bar, from working correctly.

With the former, we are getting errors like this: You tried to edit a section that doesn't exist. When we remove the comments, that error goes away.

Like I said, there may be something I'm missing here, but I couldn't find anything about it when I was searching for it.

Thanks! -Lane

#1535 CP1252 encoding issues Martin Kou Bug Normal General
Description

The commonly used Windows Codepage 1252 has two characters which are not covered by FCKEditor's HTML entities:

Ž &Zcaron; U+017D alt+0142
ž &zcaron; U+017E alt+0158

If you type these chars, FCKEditor will not turn them into entities. If you inititalize FCKEditor with a text that contains one of these entities, the entities will be re-encoded e.g. as &amp;Zcaron;

#1536 For all browsers, make table cells selection working just like in Firefox New Feature Normal General
Description
  1. Open FCKeditor (any version) in IE (any version)
  2. Create a small table
  3. Left or right drag down a column -- selects everything

Note: This works correctly in FF (where only the column cells dragged over are selected)

Sorry if this has been reported before, tried searching but didn't find anything.

If there is a workaround, I would love to have it. My users are complaining about this! (And we can't use FF at work, don't ask <g>).

#1537 Forced <p> on paste Martin Kou Bug Normal FCKeditor 2.6.5 Plugin : Paste from Word
Description

When paste paragraph from Word (I am not check other sources) the empty paragraph (<p>&nbsp;</p>) is forced.
This is nodes of FCKeditor before insert (empty document):

<body spellcheck="false">
  <p>
    <br type="_moz"/>
  </p>
</body>

and this is after paste:

<body spellcheck="false">
  <p/>
  <p class="MsoNormal" _moz_dirty="">
    <span lang="EN-US" style="">
      It’s a test
    </span>
  </p>
</body>

Sure, use "Word paste" make the same result.

#1539 Show Preview wraps entries with <p> and </p> Bug Normal Project : MediaWiki+FCKeditor
Description

I installed the FCKEditor extension for Mediawiki(1.10.2). I noticed that whenever I edit a page, use "Show Preview" then "Save Page", the page formatting is messed up. Everything is displayed in one line. Instead of headers, it shows

== 1 == 1111 == 2 == 222

all in one line.

I've found out (by using "Show Changes") that the text I had was wrapped with <p> and </p>, which is probably why they are displayed that way.

I'm not sure if this is a bug or a setting that I need to adjust.

#1540 wrapping paragraph or ending br for new content, (Shift)EnterMode to 'br' Bug Normal General
Description

The FCKeditor in IE wraps new content in p tags (I have set both EnterMode and ShiftEnterMode to 'br'), also firefox sometimes ends the new content with a br tag.

Desired behavior
The behavor I'm looking for is a combination of Firefox and IE. When removing all content, I want the newly entered text not marked up, no wrapping p tags nor ending br tags.

Firefox 2.0.0.9 behavior, FCKeditor 2.5 Beta Build 16848

  • Overtyping the text (select all and type) works fine.
  • But when removing the text first (select all, backspace or delete, then type) a <br /> tag is being inserted at the end.
  • Removing all content by using backspace (not selecting all, but hitting backspace untill all content is removed, then type) works too.
  • Removing all content by using del (again not selecting, but using del until all content is removed, then type) wraps the content in p tags and inserts two spaces (&nbsp; ) before the content.

IE (6 & 7) behavior, FCKeditor 2.5 Beta Build 16848
This is almost the opposite of Firefox.

  • Overtyping the text (select all and type) wraps the content in p tags.
  • Removing the content first (select all, backspace or delete, then type) works fine.
  • Removing all content by using both backspace or del (not selecting all, but hitting backspace or del untill all content is removed, then type) works fine.
#1541 Disable auto tag closing in Mediawiki fckeditor extension Bug Normal Project : MediaWiki+FCKeditor
Description

Hi,

I am using the FCKeditor extension for mediawiki in combination with an extension called ArticleComments which enables guestbook style comments with the inclusion of a <comments /> tag anywhere on a page.

The problem is that FCKeditor automatically changes <comments /> to <comments></comments>, which stops the ArticleComments extension from working properly.

Is there any way to disable this automatic closing of tags so <comments /> stays as it is?

I'm working to quite a strict deadline to provide a customised mediawiki interface for a client and I would really appreciate some speedy assistance

Thanks

Jaamit Durrani jaamit.durrani@…

#1543 FCKEditor breaks Interwiki links Bug Normal Project : MediaWiki+FCKeditor
Description

When using InterWiki links, FCKEditor translates them to regular wiki links, breaking its functionability.

IE:

[w:Barcelona] gets translated to a link to http://en.wikipedia.org/wiki/Barcelona when using InterWiki capabilities.

FCKEditor converts that syntax into:

[[W:Barcelona|w:Barcelona]]

converting it into a regular Wiki link to page W:Barcelona

#1544 Permission Denied Bug Normal General
Description

I get this error only some time and also can't findout the reason why it is coming. Because sometimes it comes too quickly and sometimes it never appears. I am professional developer and I have spent too much time to resolve this error. Now me and also my client is fruastated as after spending lot of time I haven't got solution. I am giving all my code below. Please check and advice.

I have 2 pages : CreateLetter.aspx and Selection.aspx

on CreateLetter.aspx I have FCKeditor <fckeditorv2:fckeditor id="FCKeditor1" runat="server" BasePath="~/FCKeditor/" Height="500px"></fckeditorv2:fckeditor>

and also one button <input id="inpbtnInsertMerge" type="button" value="Insert Merge Field" onmousedown="test()" />

and here is JavaScript for this page : <script type="text/javascript" language="javascript">

function test() {

var FCK = FCKeditorAPI.GetInstance('<%=FCKeditor1.ClientID %>') ; FCK.InsertHtml('{u_mergefield}'); delete FCK; newwin=window.open('Selection.aspx',null,"left=300,top=100,height=400,width=200,status=yes,titlebar=no,toolbar=no,menubar=no,location=no"); newwin.focus();

}

</script>

Simply saying I am adding string "{u_mergefield}" in FCKeditor at cursor position on clicking of that button. And open second page as pop up.

On second page I am giving him selection of words to replace that word "{u_mergefield}".

It has 2 buttons for that.

<input id="inpbtnFianl" type="button" value="Update" onclick="update();" /> <input id="inpbtnCancel" type="button" value="Cancel" onclick="cancel();" />

and here is javascript for that

function update() {

var FCK = window.opener.FCKeditorAPI.GetInstance('ctl00_cph_FCKeditor1') ; var str = FCK.GetXHTML( true ); if(document.getElementById('Radio1').checked) {

str=str.replace(/{u_mergefield}/g,"{u_fname}")

} else if(document.getElementById('Radio2').checked) {

str=str.replace(/{u_mergefield}/g,"{u_lname}")

} else if(document.getElementById('Radio3').checked) {

str=str.replace(/{u_mergefield}/g,"{u_bstreet}")

} else if(document.getElementById('Radio4').checked) {

str=str.replace(/{u_mergefield}/g,"{u_bcity}")

} else if(document.getElementById('Radio5').checked) {

str=str.replace(/{u_mergefield}/g,"{u_bstate}")

} else if(document.getElementById('Radio6').checked) {

str=str.replace(/{u_mergefield}/g,"{u_bzip}")

} else if(document.getElementById('Radio7').checked) {

str=str.replace(/{u_mergefield}/g,"{u_sstreet}")

} else if(document.getElementById('Radio8').checked) {

str=str.replace(/{u_mergefield}/g,"{u_scity}")

} else if(document.getElementById('Radio9').checked) {

str=str.replace(/{u_mergefield}/g,"{u_sstate}")

} else if(document.getElementById('Radio10').checked) {

str=str.replace(/{u_mergefield}/g,"{u_szip}")

} else if(document.getElementById('Radio11').checked) {

str=str.replace(/{u_mergefield}/g,"{u_hstreet}")

} else if(document.getElementById('Radio12').checked) {

str=str.replace(/{u_mergefield}/g,"{u_hcity}")

} else if(document.getElementById('Radio13').checked) {

str=str.replace(/{u_mergefield}/g,"{u_hstate}")

} else if(document.getElementById('Radio14').checked) {

str=str.replace(/{u_mergefield}/g,"{u_hzip}")

} else {

str=str.replace(/{u_mergefield}/g,"");

} FCK.SetHTML(str); delete str; delete FCK; window.close(); return(false);

} function cancel() {

var FCK = window.opener.FCKeditorAPI.GetInstance('ctl00_cph_FCKeditor1') ; var str = FCK.GetXHTML( true ); str=str.replace(/{u_mergefield}/g,""); FCK.SetHTML(str); delete str; delete FCK; window.close(); return(false);

}

Now from the main when I click button "Insert Merge Field" it opens pop up and from here it updates that word on clicking "update" as per selectio. If I do same process for 4 or 5 times. It works perfectly but after some tries when I click "Update" button from Selection.aspx it gives that "Permission Denied" as JavaScript error in "CreateLetter.aspx" page.

It is also unbelievable for me that the error comes only some time and not some time. But it happens. If you want to see I can send you screen shots or screen recorded video.

Please give some time for this and please reply.

Thanks in advance.

Regards, Mayank Parmar Software Developer

mayank.parmar@… Clarion Technologies SEI CMMI Level 3 Company

4th Floor, Great Eastern Plaza, Airport Road, Pune- 411 006, Maharashtra, India. Mobile: +91 9763210521 http://www.clariontechnologies.co.in/

#1545 Support packing namespace constants ( jsMyObject.MYCONSTANT=1; ) New Feature Normal Project : CKPackager
Description

Our project has many namespace constants which we want to be packed.

Below shows constant declarations we wish to have processed:

In the javascript:

jsTreeView.EXPAND  	 = 1;
jsTreeView.COLLAPSE      = 2;
jsTreeView.TOGGLE  	 = 3;

In the FCKPackager.xml:

<Constant name="jsTreeView.EXPAND" value="1"/>
<Constant name="jsTreeView.COLLAPSE" value="2"/>
<Constant name="jsTreeView.TOGGLE" value="3"/>

We modified fckpackager.php to support packing these. I'm posting our changes here for consideration.

The following method was modified in class FCKConstantProcessor:

	function Process( $script )
	{
		if ( !$this->HasConstants )
			return $script;

		$output = $script ;

		if ( $this->RemoveDeclaration )
		{
			// /var\s+(?:BASIC_COLOR_RED|BASIC_COLOR_BLUE)\s*=.+?;/
			// remove if global constant
			$output = preg_replace(
				'/var\\s+(?:' . $this->_ContantsRegexPart . ')\\s*=.+?;/m',
				'', $output ) ;

			// remove if namespace constant  (jsMyObject.MYCONSTANT=1;)
			$output = preg_replace(
				'/(?<!\\w)(?:' . $this->_ContantsRegexPart . ')\\s*=[^=]+?;/m',
				'', $output ) ;
		}

		$output = preg_replace_callback(
			'/(?<!var\\s|...\.|\\w)(?:' . $this->_ContantsRegexPart . ')(?!\\w|\\s*=[^=])/',
			array( &$this, '_Contant_Replace_Evaluator' ), $output ) ;

		return $output ;
	}

The above also includes the possible fix noted in #1244

#1546 Wrong connector paths Bug Normal File Browser
Description

i was using beta 2.5 16848 version.. i located fckeditor directory, somewhere in server (something like "/xxx/yyy/fckeditor") after implemented my asp files, i opened editor, and i wanted to add a picture. Picture properties window opened, i pressed "browse server" button" and i got 404, i fixed somelines in fckconfig.js

FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Flash&Connector=' + FCKConfig.BasePath + 'filemanager/connectors/' + _FileBrowserLanguage + '/connector.' + _FileBrowserExtension ;

like this.. (and changed smilar lines) before Type=Flash&Connector=../../connectors/ now Type=Flash&Connector=' + FCKConfig.BasePath + 'filemanager/connectors/

beacuse of, if it is somewhere in server, i have to use "FCKConfig.BasePath" to locate correct location... and also, "connectors" directory is in different location in this beta version..

just wanted to report to you, if there is a bug, you may correct, Oguzhan Arslan

#1547 Unwanted BR and &nbsp; tags in IE6 Bug Normal Project : MediaWiki+FCKeditor
Description

Hi,

I am using the FCKEditor for MediaWiki in a test environment with IE6 and FireFox 2. I've installed the FCKEditor for MediaWiki following the instructions on http://www.mediawiki.org/wiki/Extension:FCKeditor_%28by_FCKeditor_and_Wikia%29

In internet explorer 6 if a word in a line of text is selected and deleted, and the page is saved there is a line break inserted on the place where the word was deleted. Sometimes accompanied by &nbsp'es.

I tried installing version 2.4.3 of the FCK subfolder instead of 2.5 and the problems, then are fixed. Instead a problem occurs with changing between wikitext and WYSIWYG and the escaping of HTML tags.

Note: these problems don't occur on FireFox 2.

#1548 Add Opera and Safari detection Bug Normal FCKeditor.Net 2.5 Server : ASP.Net
Description

The ASP.NET integration (FCKeditor.Net) is not properly detecting Safari and Opera for FCKeditor 2.5.

#1553 error after inserting pagebreak Bug Normal General
Description

insert pagebreak at the editordemo => select some text => try to edit the style => nothing happens

#1554 FF3 : Links have no underline Bug Normal FCKeditor 2.5 General
Description

With Firefox 3 Beta 1, the links don't have the usual underline, and they also seem to have a fancy blue color.

To see it, it is enough to open sample01.

#1555 FF3 : Content "flashing" on load Bug Normal General
Description

With Firefox 3 Beta 1, when loading the editor, its contents do a kind of "flashing". With some attention, it is possible to note that the contents are quickly presented without the CSS styles active (in Times New Roman), and them the styles get suddenly applied.

#1556 FF3 : Dialogs client area is too small Bug Normal FCKeditor 2.5 General
Description

With Firefox 3 Beta 1, the toolbar and address bar are present in the dialogs, reducing the size for the contents. That would be acceptable (but annoying), but on some dialogs, like "Smileys", there is not enough space for the contents.

All dialogs should be checked and fixed.

#1557 FF3 : Color panels' buttons are incorrectly styled Bug Normal FCKeditor 2.5 General
Description

With Firefox 3 Beta 1, the "Automatic" and "More colors..." buttons are improperly styled.

#1558 FF3 : Nested context menu are not closing Bug Normal FCKeditor 2.5 UI : Context Menu
Description

With Firefox 3 Beta 1, nested context menus, for toolbar commands for example, are not being hidden when selecting one of their options.

#1559 FF3: Color buttons are not closing previously opened panels Bug Normal FCKeditor 2.5 UI : Toolbar
Description

With Firefox 3 Beta 1, when opening any combo in the toolbar, and immediately clicking on one of the color buttons, the previous combo panel will remain opened. It will be blocked there until clicking inside of it.

#1560 Authentication in filebrowser Bug Normal Server : ASP.Net
Description

This is a very mystical bug.. It seems when opening the filebrowser running on localhost under IIS. There is something wrong with the cookies being sendt to the server. localhost is not able to authticate the request. Custom authentication via cookies, in .net 2.0. But it works on my build server.. hmm have no idea what it could be. Tried to debug via Fiddler, but no request was catpured by fiddeler when running against localhost..

#1561 Style combo broken for applying a simple <nobr> tag Bug Normal FCKeditor 2.5 Core : Styles
Description

Browswer: IE7 (none others tried) Several versions tried between: 2.5.beta ... 2.5.SVN 17275 (11/24/07)

Using either javascript for addition to FCKConfig.CustomStyles or XML method of applying <nobr>...</nobr> tags to custom styles doesn't work:

'No break' : { Element : 'nobr' }

OR

<Style name="No break" element="nobr" />

This works in version 2.4.3 (XML only of course)

Nothing happens on selecting a range, and then selecting 'No break' style.

#1562 Paragraph added with each save Martin Kou Bug Normal FCKeditor 2.5 General
Description

When a page break is added to a page each time the page is save and edited a paragraph is added each side of the page break.

This can readily be shown using the distributed examples just add a page break and repeatedly press the source button, each time around the loop a new paragraph is added.

This also occured in 2.4

#1564 Insert of model causes IE crash Bug Normal FCKeditor 2.5 General
Description

if the editor area is empty, trying to insert a 'model', IE(7) crashes, when the option checkbox in panel is checked

it seems to work fine in firefox

#1565 Plugin language the same, as user's prefered language New Feature Normal Project : MediaWiki+FCKeditor
Description

I think, FCKeditor language settings should be created from users preferred language.

Things to modify:

File FCKeditor/FCKeditor.body.php

after line:

$form->textbox1 = $parser->parse($form->textbox1, $wgTitle, $options)->getText();

add line:

$userLang = $wgUser->getOption( 'language' );

after line:

oFCKeditor.ToolbarSet = '$wgFCKEditorToolbarSet' ;

add lines:

oFCKeditor.Config[ 'AutoDetectLanguage' ] = false ;

oFCKeditor.Config[ 'DefaultLanguage' ] = '$userLang' ;

File FCKeditor/fckeditor_config.js comment lines:

FCKConfig.AutoDetectLanguage = false ;

FCKConfig.DefaultLanguage = 'en' ;


Also - I think, that in the file FCKeditor/FCKeditor.body.php, inside onMessagesPreLoad() line:

$lang = $wgUser->getOption( 'language' , $wgContLanguageCode );

should be:

$lang = $wgUser->getOption( 'language' );


Tested with MW1.11.0 and FCK 2.5 SVN (build 16925)

#1567 MediaWiki plugin localization New Feature Normal Project : MediaWiki+FCKeditor
Description

It would be great to have mediaWiki plugin localized to user language, like FCKeditor. Most things are localized, but mediaWiki specific strings are English only.

Things to do: File FCKeditor/fckeditor_config.js: Add before FCKConfig.Plugins.Add( 'mediawiki' ) ; lines: var MediaWikiPluginAvailableLanguages = {

en : 'English', pl : 'Polish'

}; var MediaWikiPluginLanguage = 'pl';

and modify line:

FCKConfig.Plugins.Add( 'mediawiki' ) ;

to have

FCKConfig.Plugins.Add( 'mediawiki' , MediaWikiPluginLanguage ) ;

I have no idea, how to use mediaWiki settings (see ticket 1565) :(

Create directory FCKeditor/plugins/mediawiki/lang and put there en.js and pl.js (attached)

Modify files: fckplugin.js, image.html, link.html, math.html, ref.html, template.html. There is to many changes to describe them. To find differences simply look at attached my versions and look for strings: .wiki and "wiki" and search for function plural (inside image.html and link.html only).


Note about function plural( thingsToCount, found0, found1, foundSeveral, foundMore ) It returns: *found0 if there is no thingsToCount, *found1 if there is one thingsToCount, *foundSeveral if there is: 2,3,4, 22,23,24, 32,33,34, 42,43,44, ..., 102,103,104 ... and so on (but not 12,13,14,112,113,114) thingsToCount, *foundMore otherwise It is polish specific behavior. English users (this is probably the same in many other languages) should use foundSeveral same as foundMore. In fact - plural is language specific and it should be loaded with language file, but I'm noob with javaScript to code it :( For examples look for language files in mediaWiki installation: /languages/classes/Language*.php)

#1568 MediaWiki plugin localization New Feature Normal Project : MediaWiki+FCKeditor
Description

It would be great to have mediaWiki plugin localized to user language, like FCKeditor. Most things are localized, but mediaWiki specific strings are English only.

Things to do: File FCKeditor/fckeditor_config.js: Add before FCKConfig.Plugins.Add( 'mediawiki' ) ; lines: var MediaWikiPluginAvailableLanguages = {

en : 'English', pl : 'Polish'

}; var MediaWikiPluginLanguage = 'pl';

and modify line:

FCKConfig.Plugins.Add( 'mediawiki' ) ;

to have

FCKConfig.Plugins.Add( 'mediawiki' , MediaWikiPluginLanguage ) ;

I have no idea, how to use mediaWiki settings (see ticket 1565) :(

Create directory FCKeditor/plugins/mediawiki/lang and put there en.js and pl.js (attached)

Modify files: fckplugin.js, image.html, link.html, math.html, ref.html, template.html. There is to many changes to describe them. To find differences simply look at attached my versions and look for strings: .wiki and "wiki" and search for function plural (inside image.html and link.html only).


Note about function plural( thingsToCount, found0, found1, foundSeveral, foundMore ) It returns: *found0 if there is no thingsToCount, *found1 if there is one thingsToCount, *foundSeveral if there is: 2,3,4, 22,23,24, 32,33,34, 42,43,44, ..., 102,103,104 ... and so on (but not 12,13,14,112,113,114) thingsToCount, *foundMore otherwise It is polish specific behavior. English users (this is probably the same in many other languages) should use foundSeveral same as foundMore. In fact - plural is language specific and it should be loaded with language file, but I'm noob with javaScript to code it :( For examples look for language files in mediaWiki installation: /languages/classes/Language*.php)

#1569 MediaWiki plugin localization New Feature Normal Project : MediaWiki+FCKeditor
Description

It would be great to have mediaWiki plugin localized to user language, like FCKeditor. Most things are localized, but mediaWiki specific strings are English only.

Things to do: File FCKeditor/fckeditor_config.js: Add before FCKConfig.Plugins.Add( 'mediawiki' ) ; lines:

var MediaWikiPluginAvailableLanguages = {

en : 'English', pl : 'Polish'

}; var MediaWikiPluginLanguage = 'pl';

and modify line:

FCKConfig.Plugins.Add( 'mediawiki' ) ;

to have

FCKConfig.Plugins.Add( 'mediawiki' , MediaWikiPluginLanguage ) ;

I have no idea, how to use mediaWiki settings (see ticket #1565) :(

Create directory FCKeditor/plugins/mediawiki/lang and put there en.js and pl.js (attached)

Modify files: fckplugin.js, image.html, link.html, math.html, ref.html, template.html. There is too many changes to describe them. To find differences simply look at attached my versions and look for strings: .wiki and "wiki" and search for function plural (inside image.html and link.html only).


Note about function plural( thingsToCount, found0, found1, foundSeveral, foundMore )

It returns:

found0 if there is no thingsToCount,
found1 if there is one thingsToCount,
foundSeveral if there is: 2,3,4, 22,23,24, 32,33,34, 42,43,44, ..., 102,103,104 ... and so on (but not 12,13,14,112,113,114) thingsToCount,
foundMore otherwise

It is polish specific behavior. English users (this is probably the same in many other languages) should use foundSeveral same as foundMore. In fact - plural is language specific and it should be loaded with language file, but I'm noob with javaScript to code it :( For examples look for language files in mediaWiki installation: /languages/classes/Language*.php)

#1570 Replace tab of Find/Replace dialog can crash IE7 Bug Normal FCKeditor 2.5 General
Description

Only IE7 and nightly build of 11/26/07 tested.

Can be reproduced by:

  1. Going to http://www.fckeditor.net/nightly/fckeditor/_samples/default.html
  1. Replace text with: one two three one two three one two three
  1. Put carrot at the beginning and select the replace dialog.
  1. In the "Find what" field of the "Replace" tab, type 'one' leaving the "Replace with" field blank for replacing with nothing.
  1. Press 'Replace' button several times, or 'Replace All' button only once.

The first replacement works. It crashes within the next couple replacements wanting to tell Microsoft about it.

#1572 CF: Height parameter for editor instance is not working Wiktor Walc Bug Normal FCKeditor 2.6 Server : ColdFusion
Description

I recently upgraded FCKeditor from 2.1 to 2.5 in our ColdFusion application. Both in Firefox and MSIE the height of the edit area did not respond to the value set for height. I compared the HTML generated by the old installation and noticed that it used: style="width: 95%; height: 600px;" in the IFrame tag. while the 2.5 version generated HTML with width="95%" height="600px". I tried various variations using % or px or just a number but it didn't respond. I then changed the code in fckeditor.cfc to use the style attribute and now it is working again.

#1573 OnSelectionChange fired when document is unloaded Martin Kou Bug Normal FCKeditor 2.5 General
Description

The OnSelectionChange event is sometimes being fired in IE even when the document is unloaded. Most event handlers assume that a document is currently loaded.

The included patch works for me.

#1574 PaddingNode causes Permission Denied error in IE Bug Normal General
Description

_FCK_PaddingNodeListener's call to FCKDomTools.EnforcePaddingNode was sometimes causing a "Permission Denied" error in IE. This is because it held a lingering reference to a node in a document that didn't exist.

The included patch works for me.

#1575 Firefox: Empty paragraph added if an object tag occurs as first element in the body Martin Kou Bug Normal General
Description

If <object> is the first tag in the source, firefox adds <p>&nbsp;</p> at the beginning of the document.

Firefox 2.0.9 / Ubuntu Gutsy and windows xp+vista Reproduced with the FCKeditor demo (2.5 Beta) and 2.4.3

How to reproduce:

  1. Go to source view
  2. Remove all content
  3. Insert: <object></object>
  4. Go to html view and then back to source view
  5. The html now looks like: <p>&nbsp;</p><object></object>

This do not happen in IE.

#1576 Editor height is always =300px Bug Normal Project : MediaWiki+FCKeditor
Description

MediaWiki 1.11.0, browsers: FireFox 2.0, MSIE 7.0

Editor height is always set to 300. Proposition: In file FCKeditor/FCKeditor.body.php replace lines

function onLoadFCKeditor()
[...]
height = ( !height || height < 300 ) ? 300 : height ;

with code:

function onLoadFCKeditor() {

 var box = document.getElementById('wpTextbox1');
 if ( box ) {

  var height = $wgFCKEditorHeight ;
  if ( height == 0 ) {

   height = box.offsetHeight;
   var tBar = document.getElementById('toolbar');
   if ( tBar )
    height += tBar.offsetHeight;
   height += 1;

   if ( ! height ) {
    var aTop = tBar;
    if ( ! aTop )
     aTop = box;
    var aBottom = document.getElementById('editpage-copywarn');

    if ( aTop && aBottom )
     height = aBottom.offsetTop - aTop.offsetTop - 6;
   }
  }

  // Enforce a minimum height.
  height = ( !height || height < 300 ) ? 300 : height ;
#1577 Fatal error using some skins Bug Normal Project : MediaWiki+FCKeditor
Description

Fatal error: Cannot access protected property SkinCologneBlue::$skinname in /home/wiki/extensions/FCKeditor/FCKeditor.body.php on line 167

To reproduce: Set skin to: CologneBlue or Nostalgia or Standard

and try to edit any page.

Others skins - Ok.

MediaWiki 1.11.0

#1578 Editor doesn't proerly scroll when enter in front of paragraph Frederico Caldeira Knabben Bug Normal FCKeditor 2.5 UI : Enter Key
Description

To reproduce it, simply hit enter in front of a paragraph with text until the text *and the caret* will become hidden.

Ok with IE only. Confirmed with FF and Safari.

#1581 IE7: responseText is null or is not an object (0 things found) Bug Normal Project : MediaWiki+FCKeditor
Description

Only MSIE7.0 (my version 7.0.5730.11 pl)

Select "Insert picture" or "Insert link" type something, which causes "no images found" or "no articles found" You will get an error: "responseText is null or is not an object".

To correct problem: In files image.html and link.html inside function LoadSearchResults( result ) replace line:

var results = result.responseText.Trim().split( '\n' ) ;

with

var results = ( result.responseText ? result.responseText.Trim().split( '\n' ) : '' );
#1582 Image border is lost after reediting Bug Normal Project : MediaWiki+FCKeditor
Description

MediaWiki 1.11.0

To reproduce: Edit any article. Insert image with border. Save it. Image has border. Re-edit article. Image has no border.

Frame and thumb are ok.

#1584 FF3 : Context menu may remain opened Frederico Caldeira Knabben Bug Normal FCKeditor 2.5 UI : Context Menu
Description

Steps to Reproduce

  1. Insert a table.
  2. Right-click inside a cell for the context menu.
  3. Open a nested sub-menu.
  4. Click in the editing area, or a combo or color selector in the toolbar.

The parent context menu will remain opened.

#1585 IE 6 SP1 crashes on edit Bug Normal Project : MediaWiki+FCKeditor
Description

Is anyone able to solve that problem?

I have a major crash with IE 6 SP1 and Mediawiki+FCKeditor.

The crash happens when I change a certain bit of an article and when I press "save" or "wikitext". it is very disturbing as I don't know how to debug that.

You can reproduce the crash by following those steps in IE 6:

  1. go on http://mediawiki.fckeditor.net/index.php/TestMyBug : a new page I created

2.. change the title : e.g. remove the ':'

  1. click on 'wikitext' or on the 'save' button

... IE crashes !!

info : Windows 2000, IE 6.0.2800 SP1. works fine with Firefox 2

#1586 [IE] JavaScript error on edit Bug Normal Project : MediaWiki+FCKeditor
Description

Is anyone able to solve that problem?

I have a major crash with IE 6 SP1 and Mediawiki+FCKeditor.

The crash happens when I change a certain bit of an article and when I press "save" or "wikitext". it is very disturbing as I don't know how to debug that.

You can reproduce the crash by following those steps in IE 6:

  1. go on http://mediawiki.fckeditor.net/index.php/TestMyBug : a new page I created

2.. change the title : e.g. remove the ':'

  1. click on 'wikitext' or on the 'save' button

... IE crashes !!

info : Windows 2000, IE 6.0.2800 SP1. works fine with Firefox 2

#1587 Stateful toolbar buttons not staying selected in IE 6 and 7 Bug Normal FCKeditor 2.5 General
Description

While selecting text and toggling bold on/off works, it's not possible to switch to bold mode for text yet to be entered. This works in FF, but not in IE 6/7. This seems to be a recent regression as build 16848 (demo of www.fckediter.net) doesn't have the problem.

How to reproduce

  1. download latest nightly build
  2. open some sample file (e.g. sample01.html) with IE 6 or 7
  3. type some text
  4. click Bold button

Result:

  • button doesn't stay selected
  • typing results in regular (i.e. non-bold) text being added
#1588 Cursor doesn't show up Bug Normal General
Description

We have integrated FCKeditor into our Web application, specifically to create html emails. We've noticed that if we create a message in the message body using the editor, save the message as a draft and then return to it later, when we try to place our cursor in the text, the cursor doesn't show up - and we can't select any images already in place. The only way to undo this is to click the source button and then click back to the wysiwyg side.

#1589 Getting full working embed videos (flash plugin) feature New Feature Normal General
Description

Hello, I have a problem (and many other people has it, watch forum, search with google, etc.), there is no NORMAL way to embed youtube, google, rutube videos in FCKEditor.

Flash - no problems, everything is perfect. But video...

I was trying to find out how does it working, I found old embedMovies plugin (it wasn't working properly), I rewrote it, but no difference, I got some problems (you can find it on forum), but no explanation, no decision, I sent some letters to FCKEditor dev, no reaction or "Pay for support and we will write plugin for you".

Please, divide flash from video and develop video plugin from scratch, people don't need any super-features, just button with popup, where you can insert yourtube embed or just video link and then get it working on page.

embedMovies developer did like 80% of work, I did 15% trying to insert <object><embed>...</embed></object>, but I can't insert this code into main editor form.

Sorry for my poor english. Thank you.

#1590 PHP fatal error "Cannot redeclare class fckeditor" Bug Normal Project : MediaWiki+FCKeditor
Description

Trying to integrate FCKEditor with MediaWiki. Installed the extension and modified the required files. After restarting Apache (for good measure) and trying to view the wiki, I get a blank screen. I check the error logs and find the following:

[Thu Nov 29 09:38:06 2007] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Thu Nov 29 09:38:07 2007] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Thu Nov 29 09:38:23 2007] [error] [client 10.1.1.140] PHP Fatal error:  Cannot redeclare class fckeditor in /var/www/html/mw/extensions/FCKeditor/fckeditor/fckeditor_php5.php on line 29

The server is CentOS Linux 5.0, php 5.2.4 and apache 2.2.3

#1591 IE(7) error inserting a blockquote Martin Kou Bug Normal FCKeditor 2.5 General
Description
  1. Go to svn (http://www.fckeditor.net/nightly/fckeditor/_samples/default.html) or demo.
  2. Insert a new blank page (or clear content in code mode)
  3. insert a blockquote: IE(7) error

switching to code mode, the result is: * <p>&nbsp;</p> <p><span id="1196382739654S" style="display: none">&nbsp;</span></p> *

id="1196382739654S" (random, i suppose) is also an error, because it violates the naming convention for this attribute (it must begin with a letter, not a digit)

It seems to work fine in FF

Thx

#1592 Remove blockquote command may leave empty blockquotes in IE. Martin Kou Bug Normal FCKeditor 2.5 General
Description

Reproduction procedure:

  1. Open sample01.html in IE.
  2. Ctrl-A, Backspace to delete everything.
  3. Press blockquote button to insert blockquote.
  4. Press blockquote button to delete blockquote.

Expected results:
The blockquote should be removed, and the empty paragraph should be restored to its original position.

Observed results:
An empty blockquote is left before the restored paragraph.

#1593 IE: The sampleposteddata pages are not wrapping the "Value" collumn Alfonso Martínez de Lizarrondo Bug Normal FCKeditor 2.6.1 General
Description

Steps to Reproduce

  1. Load the following HTML in sample01.html:
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus id ipsum
blandit quam sagittis varius. Sed ipsum metus, lobortis sodales, congue quis,
interdum quis, risus. Duis aliquet, ante sed fermentum pulvinar, sem nibh
vulputate pede, sed accumsan odio elit sed libero.</p>
  1. Switch to WYSIWYG.
  2. Submit the form.

The text will be shown all in one line in IE. In FF, Safari and Opera it will wrap properly.

#1594 No undo for color selectors Frederico Caldeira Knabben Bug Normal FCKeditor 2.5 Core : Undo & Redo
Description

Steps to Reproduce

  1. On sample01, apply red background to a word.
  2. Now apply blue background to another word.
  3. Press CTRL+Z to undo the blue color.

Nothing will happen. Not also that the Undo button in the toolbar will be disabled.

#1595 Safari : Panel and button are not fused for color selectors in RTL Bug Normal UI : Toolbar
Description

Steps to Reproduce

  1. Open sample03.html.
  2. Select the "Arabic" language.
  3. Click in a color selector in the toolbar.

Note that the button and the panel are not fused like in LTR. The panel border is still visible.

#1596 Safari : Dialogs are not RTL Frederico Caldeira Knabben Bug Normal FCKeditor 2.6 UI : Dialogs
Description

Steps to Reproduce

  1. Open sample03.html.
  2. Select the "Arabic" language.
  3. Open the "About" dialog.

Note that the dialog is not RTL, even if the labels are correctly translated to Arabic.

#1597 Color selector is rendered improperly on sample14 Frederico Caldeira Knabben Bug Normal FCKeditor 2.5 UI : Toolbar
Description

As we have only 3 colors to select in sample 14, the color boxes are not being properly rendered in the color selector panels.

#1598 Opera : Indentation is not working Bug Normal Opera Compatibility General
Description

The indentation commands have no effect on Opera build 9660.

#1599 Opera : Selection moves when end of line caret and list or blockquote creation Bug Normal Opera Compatibility General
Description

Steps to Reproduce

  1. Load the following HTML:
<p>Line 1</p>
<p>Line 2</p>
<p>Line 3</p>
  1. Place the caret at the end of "Line 2".
  2. Click the Blockquote or one of the List buttons.

With Opera build 9660, the command will be properly executed, but the caret will be blinking in front of "Line 3".

#1602 Delete key causes Javascript error when editor is empty Bug Normal FCKeditor 2.5 General
Description

Congrats on 2.5! Here is your first bug - :)

  1. Load 2.5 demo at http://www.fckeditor.net/demo using Firefox
  1. Focus in the editor, Control-A to select all.
  1. Hit the Delete key to delete all content
  1. Hit the Delete button again

JavaScript Error: FCK.EditorDocument.body has no properties

#1603 Certain markup causes infinite loop in Javascript Frederico Caldeira Knabben Bug Normal FCKeditor 2.6 General
Description
  1. Load the demo at http://www.fckeditor.net/demo in Firefox and paste in the following code in Source mode:
<div style="text-align: center;">
  <font size="6">
    <font size="2">
      Hello
    </font>
  </font>
  <div style="text-align: right;">
    There
  </div>
</div>
  1. Click on "Hello"
  1. Click the Left Justify button

The browser freezes.

#1604 Updated pt-br.js language file for 2.5 Task Normal FCKeditor 2.6 UI : Language
Description

Updated pt-br.js language file for 2.5 (Portuguese/Brazil)

#1605 [Firefox] Unnecessary <p> tags are inserted in InsertHtml function of FCKEditor Object Bug Normal General
Description

Unnecessary <p> tags are inserted in InsertHtml function of FCKEditor Object. Suppose we insert HTML text programmatically as follows

var html_text = " This is <b>some <span style=\" color: maroon; \" >HTML</span></b> text " ; var ed = FCKeditorAPI.GetInstance('TEXT') ed.InsertHtml(html_text);

Than some extra <p> tags appear in the inserted text. ( confirmed by viewing HTML source )

This problem is seen only in Firefox 2/3 Beta ( Or any GECKO browser )

It is not seen with IE7 / Safari 3.04 or Opera 9.5 Tested on Windows XP SP2 Thanks

#1606 ProtectedSource - ProtectedTags enhancement request New Feature Normal General
Description

Hello,
in a personnal project, I use a private tag :
<plugin> plugin_name
<param> param_name_1 <value> value_1</value></param>
...
<param> param_name_n <value> value_n</value></param>
</plugin>

1) It would be very usefull to display a specific image instead of all this pseudo-html. (it could be generalized for exemple for js source with a specific image).

2) it would be usefull to provide a "callback mechanism" to edit this kind of code, for example when (dbl or right) click on the image, opening a dialog which manages the editing (a default option could be a simple textarea (for ex: js editing) )

Thanx

#1607 Remove FCKConfig.GeckoUseSPAN Task Normal FCKeditor 2.6 Core : Styles
Description

With the new Style system the FCKConfig.GeckoUseSPAN setting shouldn't affect the output at all, so it can be removed.

#1608 RegisterDoubleClickHandler overwrites Bug Normal FCKeditor 2.6 General
Description

Problem: When you call RegisterDoubleClickHandler for a certain tag, i.e. IMG, the new handler will overwrite the old one in all cases. Desired behavior: Both old and new handlers will get called.

Example: Let's say you have a handler that checks to see if the IMG tag is of class "x". If so, it will alert(1) when you click on an image with CSS class of "x". But if you register a new handler for IMG, say for example one that is for class of "y" - this will overwrite the handler for IMG's with class "x" and the alert will not get called.

Proposed patch:

Replace the existing RegisterDoubleClickHandler with this function:

// Register objects that can handle double click operations.
FCK.RegisterDoubleClickHandler = function( handlerFunction, tag )
{
  if (FCK.RegisteredDoubleClickHandlers[tag.toUpperCase()])
  {
    var oldfunction = FCK.RegisteredDoubleClickHandlers[ tag.toUpperCase() ];
    FCK.RegisteredDoubleClickHandlers[ tag.toUpperCase() ] = function(arg)
    {
      oldfunction(arg);
      handlerFunction(arg);
    }
    return;
  }
  FCK.RegisteredDoubleClickHandlers[ tag.toUpperCase() ] = handlerFunction;
}

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

#1609 Make it possible to use RegisterDoubleClickHandler with any tag Alfonso Martínez de Lizarrondo New Feature Normal FCKeditor 2.6 General
Description

Now in order to use the RegisterDoubleClickHandler you must specify the node tags that you want to watch, but it could be better to also be able to register the event listener with any tag (so if you want to have a listener for both span and img you don't have to call it twice, thing get worse if you need to listen to various different elements)

#1610 IsCompatible Function and Pocket IE Bug Normal General
Description

If FCKeditor finds a Pocket IE it marks it as compatible but nothing loads on the screen.

I've modified the IsCompatible Function for ASP integration with:

Private Function IsCompatible()
(...)
If InStr(sAgent, "Windows CE") > 0 Then ' Check Pocket IE
IsCompatible = False
(..)

Now the editor not load on Pocket IE and it display the textarea!

Regards,

Simone


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

#1611 use JS to "detect" browser-JS-capability New Feature Normal Server : PHP
Description

This is the fckeditor.php file as I've also sent it to Frederico.

It obsoletes the isCompatible() method and uses javascript itself to "detect" if it is compatible. Simply by using document.write().

It also detects/converts the Width and Height members better to html attribute values.

It was based on 2.1.

<?php
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General
Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* "Support Open Source software. What about a donation
today?"
*
* File Name: fckeditor.php
* This is the integration file for PHP.
*
* It defines the FCKeditor class that can be used to
create editor
* instances in PHP pages on server side.
*
* File Authors:
* Frederico Caldeira Knabben (fredck@fckeditor.net)
* Daniel HAHLER (https://www.thequod.de/contact)
*/

class FCKeditor
{
var $InstanceName ;
var $BasePath = '/FCKeditor/' ;
var $Width = '100%' ;
var $Height = '200px' ;
var $ToolbarSet = 'Default' ;
var $Value = '' ;
var $Config = array();
/**
* @var int The number of rows for the textarea
element (used as non-JS-fallback).
*/
var $TextareaRows = 8;
/**
* @var int The number of cols for the textarea
element (used as non-JS-fallback).
*/
var $TextareaCols = 40;


// PHP 5 Constructor (by Marcus Bointon
<coolbru@users.sourceforge.net>)
function __construct( $instanceName )
{
$this->InstanceName = $instanceName ;
$this->BasePath = '/FCKeditor/' ;
$this->Width = '100%' ;
$this->Height = '200' ;
$this->ToolbarSet = 'Default' ;
$this->Value = '' ;

$this->Config = array() ;
}

// PHP 4 Contructor
function FCKeditor( $instanceName )
{
$this->__construct( $instanceName ) ;
}


function Create()
{
echo $this->CreateHtml() ;
}


/**
* Create the HTML that will either display the input-
and iframe-elements or
* a simple textarea for non-Javascript browsers.
*
* Javascript-"detection" is done by using JS to write
the inputs/iframe for
* FCKeditor and putting the textarea tag into the
following noscript tag.
*
* @return string
*/
function CreateHtml()
{
$HtmlValue = htmlspecialchars( $this->Value ) ;

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 .= "&amp;Toolbar={$this->ToolbarSet}" ;

// Set width and height for textarea (fallback)
if ( is_numeric( $this->Width ) )
$WidthCSS = $this->Width . 'px' ;
else
$WidthCSS = $this->Width ;

if ( is_numeric( $this->Height ) )
$HeightCSS = $this->Height . 'px' ;
else
$HeightCSS = $this->Height ;


$Html = '<div>' ;

// The Javascript part
$Html .= '<script type="text/javascript">'
// Render the linked hidden field.
.'document.write( \'<input type="hidden"
id="'.$this->InstanceName.'"
name="'.$this->InstanceName.'" value="'
.preg_replace( array( '#\r?\n#', "#'#" ),
array( '\\n', "\'" ),
$HtmlValue )
.'" />'
// Render the configurations hidden field.
.'<input type="hidden"
id="'.$this->InstanceName.'___Config"
value="'.$this->GetConfigFieldString().'" />'
// Render the editor IFRAME.
.'<iframe id="'.$this->InstanceName.'___Frame"
src="'.$Link.'" width="'.$this->Width.'"
height="'.$this->Height.'" frameborder="no"
scrolling="no">'
.'<\/iframe>'
."' );</script>";

// Render the textarea for non-Javascript
$Html .= "<noscript><textarea
name=\"{$this->InstanceName}\"
rows=\"{$this->TextareaRows}\"
cols=\"{$this->TextareaCols}\" style=\"width:
{$WidthCSS}; height: {$HeightCSS}\"
wrap=\"virtual\">{$HtmlValue}</textarea></noscript>" ;

$Html .= '</div>' ;

return $Html ;
}


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

foreach ( $this->Config as $sKey => $sValue )
{
if ( $bFirst == false )
$sParams .= '&amp;' ;
else
$bFirst = false ;

if ( $sValue === true )
$sParams .= $this->EncodeConfig( $sKey ) . '=true' ;
else if ( $sValue === false )
$sParams .= $this->EncodeConfig( $sKey ) . '=false' ;
else
$sParams .= $this->EncodeConfig( $sKey ) . '=' .
$this->EncodeConfig( $sValue ) ;
}

return $sParams ;
}


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

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

?>

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

Note, newlines and tabs have been destroyed by SourceForge, I have't tried to recreate them.

#1612 Reproduction of Ticket #959, IE stuck while trying upload images Bug Normal General
Description

version 2.4.1 Build 14797

suddenly the image upload stop working in IE-6, but still working in Firefox. After couple of hours i found the Ticket #959 and the proposed solution worked. Scenario:

1) open file browser 2) try uploading image file result: the image not uploaded and it stuck with the wait message

If it was solved in newer version, sorry for opening new ticket

#1613 Extra div wrapping the editor instance Alfonso Martínez de Lizarrondo Bug Normal FCKeditor 2.6 General
Description

This is not about the content generated by the editor, but just the HTML that does in fact becomes the editor. The call to FCKeditor.prototype.CreateHtml returns a <div> that wraps some hidden inputs and a iframe or textarea.

From my point of view that div isn't necessary so it could be removed as it makes a little harder to get 100% height in standards mode and doesn't provide anything useful.

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