Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (401 - 500 of 1835)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Summary Keywords Owner Type Status Priority
#1350 Firefox Delete bug with <p> and <br type="_moz" /> Confirmed Firefox Martin Kou Bug closed Normal
Description

This bug occurs in gecko based browsers only.

This bug is a bit hard to explain. But put the following source code in. Then at the end of the first line, press enter, then shift enter, then enter, then shift enter (continue alternating between br and p modes respectively for a few lines). After doing this a few times, press backspace until you get the cursor back to the first line. Some of the <br type="_moz" /> tags are not cleaned up and are left hanging around *after* the cursor.

I have set the background color so that you can clearly see the excess <br type="_moz" />s at the end.

<p style="background: rgb(255, 255, 204) none repeat scroll 0% 50%;">Alternate pressing enter and shift enter, then backspace</p>

#1352 Error creating lists on styled text Confirmed Frederico Caldeira Knabben Bug closed Normal
Description

Steps to Reproduce

  1. Load the following HTML:
<p><b>Test</b></p>
  1. Try to convert the following paragraph in a list.

It fails with a JavaScript error. Confirmed with IE7 and FF2.

#1353 "Normal (DIV)" block format is not working Confirmed Frederico Caldeira Knabben Bug closed Normal
Description

Currently, no matter the setting we have for EnterMode (not even "div"), the "Normal (DIV)" format is not working.

#1357 Doing Select All in Firefox, the parent node of the selection is wrong Confirmed Firefox Bug closed Normal
Description

If the Select All command is used in Firefox, the selection object will return the <html> node as the parent of the current selection, but GetSelectedElement() returns <p> not the body

#1366 Opera : FCKeditor is not loading on MacOS Confirmed Opera Frederico Caldeira Knabben Bug closed Normal
Description

FCKeditor is not being loaded on MacOS. Tested with Opera 9.50 Alpha 4404.

#1376 "disabled" R/W property IBM Confirmed Garry Yao New Feature closed Normal
Description

Like other input text controls on forms (<textarea>, <input type="text">, etc) FCKeditor need a new property on JavaScript API.

Something that can be change at runtime in this way:

var oEditor = FCKeditorAPI.GetInstance('instance_name'); oEditor.disabled = true;

This new property must be R/W (like those coresponding to <TEXTAREA>, <INPUT TYPE="TEXT"> from DOM).

This property must take a boolean value: true (by default), false;

Setting this property to "true" must freeze the toolbar too, not only the editor area.

The other hidden fields related to the editor must be treated in the same way.


Moved from Original author: Claudiu Cristea

#1379 OnRequestEnd breaks CFM Connector Confirmed HasPatch Bug closed Normal
Description

If you are using an OnRequestEnd.cfm file with your coldfusion site, and the OnRequestEnd.cfm outputs any content, the CFM connector will not show any files in the browser.

To fix, add a <cfabort> tag to the end of the connector.cfm file in <siteroot>/fckeditor/editor/filemanager/browser/default/connectors/ cfm/


Moved from SF

Original Author: Joris de Beer

#1383 Hyperlink merges with text on <br /> backspace Confirmed IE Review+ Frederico Caldeira Knabben Bug closed Normal
Description

To replicate:

<p><a href="http://google.com/">http://google.com</a><br /> Press backspace at the start of this line</p>

The link should only be auto-created when a space or an enter is placed at the end of a link.

#1385 FCKeditor Converts to HTML on "Edit Conflict" Confirmed HasPatch Bug closed Normal
Description

If you're in the process of making an edit and someone else edits the page, an "edit conflict" occurs. HOWEVER, unlike normal WikiText edits, FCKeditor compares the "new edited page" against an HTML marked-up version including your change.

As such, you can't just copy and paste the segments that you want to add to the new article. It's all lost in a bunch of HTML mark-up.

#1391 Overrides and Spans not working as expected in Windows and IE 6 Confirmed IE Frederico Caldeira Knabben Bug closed Normal
Description

If I use your sample 14 in the html folder for 2.5 I am having the following problem:

1: Delete the text in the box and type in some new text, "Testing line 1".

2: Highlight "Testing line 1" and change the text size to 8pt.

3: Put the curser at the end of the line for "Testing line 1" and hit the enter key two times to create 2 new lines

4: Type in "Testing line 2", notice it is 8pt.

5: Highlight just "Testing line 2" and change the font to 14pt. For me it won't change the font size on the screen of line 2.

If I hit the submit key I get the following: Key: FCKeditor1, val: <span class=\"FontSmall\">Testing line 1<br /> <br /> </span><span class=\"FontBig\"><span class=\"FontSmall\">Testing line 2</span></span>

#1392 Overrides and Spans not working as expected in Windows and Firefox 2.0.0.7 Confirmed Firefox Frederico Caldeira Knabben Bug closed Normal
Description

If I use your sample 14 in the html folder for 2.5 I am having the following problem:

1: Delete the text in the box and type in some new text, "Testing line 1".

2: Highlight "Testing line 1" and change the text size to 8pt.

3: Put the curser at the end of the line for "Testing line 1" and hit the enter key two times to create 2 new lines

4: Type in "Testing line 2", notice it is 8pt.

5: Highlight just "Testing line 2" and change the font to 14pt. For me it changes both lines of text not just the highligted text. I would expect the behavior to just change the size for just the highlighted section.

This is just an example, but I am having the same problem with overrides and spans in the changes that I am making.

If I hit the submit key I get the correct code for changing both lines: Key: FCKeditor1, val: <p><span class=\"FontBig\">Testing line 1<br /> <br /> Testing line 2</span></p>

#1399 sample03.html has an empty entry in the languages combo Confirmed Bug closed Normal
Description

The first entry in the languages combo is empty, due to [788].

#1400 The Style combo is not context sensitive in sample14.html Confirmed Bug closed Normal
Description

In sample14.html, when applying any of the styles available in the Styles combo, the style doesn't get recognized when clicking or moving inside the styled text. The applied style is not selected when opening the combo too.

#1408 connector.cgi (perl) throws xml error with dos style CR-LF newlines Confirmed Bug closed Normal
Description

connector.cgi throws errors with dos style CR-LF newlines and without the x-bit set as it is bundled in the tar.gz archive.

Screenshot and working file attached in tar.gz archive

#1410 Category Management within FCKeditor Confirmed HasPatch Deimon New Feature closed Normal
Description

I like fckeditor for Mediawiki a lot. What I would find useful (and so might others) is some sort of Category Manager. By this I simply mean the ability to assign/create a category for the current document from the menu. It would access the database and create a dropdown (or pop-up, doesn't matter which) which would allow the user to select (or create new) a category for the current document.

Thanks for the amazing hard work that went into the creation of fckeditor. I was afraid I was going to have to create something like it myself, and that would be way beyond me.

David Barker

#1416 Popup blocker doesn't allow to open dialogs from context menu Confirmed Bug closed Normal
Description

Put an image in the content and now open the context menu. Select the image properties option and an alert will warn that the popup blocker didn't allow the window to open

#1417 <gallery> tag is getting broken Confirmed Bug closed Normal
Description

I just installed FCKeditor within MediaWiki 1.10.1 last week and noticed a bug today. It would appear that it doesn't honor the <gallery> tag.

http://en.wikipedia.org/wiki/Wikipedia:Picture_tutorial#New_MediaWiki_.3Cgallery.3E_tag

The following code gets turned into something completely different within the editor.

Original Wikicode: <gallery> Image:Darth Vader Bldg 1.jpg|The "Darth Vader Building" viewed from the East. Image:Darth Vader Bldg 01.jpg|Seen again from the East. Image:Seattle 4th Avenue north from Virginia.jpg|Looking north from the corner of Fourth and Virginia in Downtown Seattle. </gallery>

FCKeditor-translated code:

{| cellspacing="0" cellpadding="0" class="gallery"

| <div class="gallerybox" style="width: 150px;"><div class="thumb" style="padding: 28px 0pt; width: 150px;">[[Image:Darth Vader Bldg 1.jpg|[[Image:]]]]</div> <div class="gallerytext"> The "Darth Vader Building" viewed from the East. </div></div> | <div class="gallerybox" style="width: 150px;"><div class="thumb" style="padding: 28px 0pt; width: 150px;">[[Image:Darth Vader Bldg 01.jpg|[[Image:]]]]</div> <div class="gallerytext"> Seen again from the East. </div></div> | <div class="gallerybox" style="width: 150px;"><div class="thumb" style="padding: 13px 0pt; width: 150px;">[[Image:Seattle 4th Avenue north from Virginia.jpg|[[Image:]]]]</div> <div class="gallerytext"> Looking north from the corner of Fourth and Virginia in Downtown Seattle. </div></div> |}

#1419 2 Lists + Delete key Confirmed Bug closed Normal
Description

To replicate:

<ol>
    <li>Press delete at the end of this line</li>
</ol>
<ol>
    <li>Second List</li>
</ol>
<p>A paragraph</p>

"A paragraph" moves up to the end of the first <li>. The correct functionality would probably be that the two lists merge.

#1420 Uneditable list elements appear when working with nested lists. Confirmed IE Martin Kou Bug closed Normal
Description

Scenario:

  1. Go to Sample01 on nightly build.
  2. Clear content.
  3. Make a bullet list.
  4. Make two list elements (at level 1)
  5. Outdent the last list element (to level 2).
  6. Put the cursor after the first element (at level 1) with the mouse.
  7. Try to make a new list element (at level 1) with pressing enter.


Result:
The cursor is now moved to the last element (at level 2) which you recently outdented and the new list element is uneditable.

Verified with IE7 and sometimes also with firefox (haven't figured out the pattern on firefox, seems to happen randomly).

#1422 Rename variables declared in single var statement Confirmed Review+ Frederico Caldeira Knabben Bug closed Normal
Description

Input Code

function Testing()
{
    var test1 = 1, test2 = 2, test3 = 3 ;

    alert( test1 + test2 + test3 ) ;
}

Current Results

function Testing(){var A=1,test2=2,test3=3;alert(A+test2+test3);}

Expected Results

function Testing(){var A=1,B=2,C=3;alert(A+B+C);}
#1426 Error loading fckstyles.xml Confirmed Review+ Martin Kou Bug closed Normal
Description

When I open sample01.html, error loading fckstyles.xml is popped out. http://wiki.fckeditor.net/Developer's_Guide/Configuration/Styles mentions that: The fix was simple to set this header explicitly.

@headersContent-Type? = "application/xml" render :action => 'fckstyles'

Which file do I need to modify?

Thanks.

#1427 Autodetect clipboard contents on Paste Confirmed Garry Yao New Feature closed Normal
Description

I've commented previously on this idea, but I can't find it so I'll leave this open so it doesn't get lost:

The access to the clipboard contents was easy in IE<7, but in IE7 by default the user will be faced with two warnings (#89), and in the rest of the browsers it's even harder.

The idea would be to allow the paste event to take place and compare the snapshot of the source just before and after it happens, the difference is the clipboard content that can be cleaned from Word rubbish, do a full-format clean up or even convert it to plain text. Then it's a matter of revert back to the previous undo state and insert the cleaned up code.

This would also allow more easily to use designMode to highlight the source view.

This page has an implementation of a JS diff algorithm that could be a base for this code: http://en.wikipedia.org/wiki/User:Cacycle/diff it includes references to other implementations that could be worth checking if this doesn't work just as expected.

This same algorithm could be used to mark insertions or deletions in the content.

#1431 Caret position issue in pre on IE Confirmed IE Bug closed Normal
Description
  1. Create a formatted zone, enter some text
  2. press "enter", instead of going to next line, the cursor will move one space forward
#1436 Safari : Sub-menus panels are not being hidden Confirmed Bug closed Normal
Description

When using sub-menus in the context menu, like table operations, when choosing one of the sub-menu options, its panel is not being hidden and remains visible. It's enough to click in the editing area to hide it.

#1449 Opera : Dialogs' "Ok" and "Cancel" buttons are mispositioned Confirmed Bug closed Normal
Description

With Opera build 9608, the "Ok" and "Cancel" buttons are mispositioned. It is enough to open the Table and the Smileys dialogs to see the effect.

The following is the HTML for their definition:

<td nowrap="nowrap">
	<input id="btnOk" style="VISIBILITY: hidden;" type="button" value="Ok" class="Button" onclick="Ok();" fckLang="DlgBtnOK" />
	&nbsp; 
	<input id="btnCancel" type="button" value="Cancel" class="Button" onclick="Cancel();" fckLang="DlgBtnCancel" />
</td>

It seams that the "nowrap" thing is not being honored.

#1451 Safari (Win) : Anchors are not created correctly Safari Win Confirmed Bug closed Normal
Description

Anchor is not getting displayed. Click on the anchor icon and give the details, hit the Ok button. Nothing comes up on the Editor.

Safari version : Version 3.0.3(522.12.1) OS : Test is running on the Win XP server

#1464 Unable to create <p> inside <div> (the return) Confirmed Bug closed Normal
Description

As previously reported in ticket #99 http://dev.fckeditor.net/ticket/99

Test step:

  1. EnterMode='p' in config.js
  2. have this content in "source" view: <div>abc</div>
  3. in fckeditor view, put the cursor after 'ab', and press enter.
  4. Check content in "source" view,

Result:

<div>ab</div>
<div>c</div>

There is NO <p> tag as expected.

So there is NO way to create a <p> tag in <div> tag, and there is no way to create a nested <div> tag.

Pressing enter seems to produce a 'div' or 'p' depending on the current format. Setting the EnterMode seems to have no affect.

#1469 MediaWiki+FCKeditor breaks repeated *'s, :'s, and #'s used for indenting Confirmed Bug closed Normal
Description

In the following MediaWiki code, multiple colons cause the text to be indented more:

Testing

:Testing

::Testing

:::Testing

When I type the above in a MediaWiki+FCKeditor window with "WikiText" clicked, then I unclick "WikiText" to view WYSIWYG, it displays properly. However, when I click "WikiText" again, MediaWiki+FCKeditor messes up converting back to WikiText. I end up with this:

Testing

:Testing

:

:Testing

:

:

:Testing

It does this sort of thing with multiple *'s (for bulleted lists) or #'s (for numbered lists) as well. It should allow the multiple :'s, *'s, and #'s to remain on one line to allow me to indent text by multiple levels.

#1471 Add preferences setting for "Edit Wikitext by default", while still allowing access to FCKeditor Confirmed New Feature closed Normal
Description

Currently, MediaWiki+FCKeditor uses FCKeditor by default, with a "Wikitext" button to allow editing MediaWiki code directly. FCKeditor occasionally breaks some HTML and Wikitext trying to parse it, sometimes losing data, and so it would be great if by default I could edit Wikitext but still use FCKeditor at the click of a button.

It is possible for an individual user to disable FCKeditor in his preferences, but it would be more convenient if a user could opt to default to Wikitext while still having quick and easy access to FCKeditor.

#1474 null errors reloading the page in IE Confirmed IE Bug closed Normal
Description

Add a smiley to the content in IE 6 and now try to reload the page, a list of errors saying that something is null will show.

This patch (it's missing the reference to this bug number as it still doesn't exists) should take care of them, but maybe there's something else that can be done:

  • classes/fckspecialcombo.js

     
    192192{
    193193        this.Enabled = isEnabled ;
    194194
    195         this._OuterTable.className = isEnabled ? '' : 'SC_FieldDisabled' ;
     195        // In IE it can happen when the page is reloaded that _OuterTable is null, so check its existence
     196        if ( this._OuterTable )
     197                this._OuterTable.className = isEnabled ? '' : 'SC_FieldDisabled' ;
    196198}
    197199
    198200FCKSpecialCombo.prototype.Create = function( targetElement )
  • classes/fcktoolbarbuttonui.js

     
    127127
    128128        var e = this.MainElement ;
    129129
     130        // In IE it can happen when the page is reloaded that MainElement is null, so exit here
     131        if ( !e )
     132                return ;
     133
    130134        switch ( parseInt( newState, 10 ) )
    131135        {
    132136                case FCK_TRISTATE_OFF :
  • internals/fckdomtools.js

     
    380380
    381381        EnforcePaddingNode : function( doc, tagName )
    382382        {
     383                // In IE it can happen when the page is reloaded that doc or doc.body is null, so exit here
     384                if ( !doc || !doc.body )
     385                        return ;
     386
    383387                this.CheckAndRemovePaddingNode( doc, tagName, true ) ;
    384388                if ( doc.body.lastChild && ( doc.body.lastChild.nodeType != 1
    385389                                || doc.body.lastChild.tagName.toLowerCase() == tagName.toLowerCase() ) )
#1488 new php5 connector Confirmed HasPatch New Feature closed Normal
Description

Description of changes:

Continued with the update to proper php5

  • Removed depreciated 'var' tag from properties, added proper keywords.
  • Cleaned up the User Agent code
  • Separated out the public methods from the helper methods

Removed EncodeConfig method and replaced all occurrences of it with the php urlencode function

Optimized how the strings were formed (concatenating as opposed to embedding, which tends to run slower)

Refractored some odd if/else conditionals to use the ternary conditional instead

Added an 'ID' property so developers can specify the ID instead of using the InstanceName

The biggest thing about this is that I made changes so it matched the PHP5 OOP structure. PHP5 is backwards compatible with PHP4, so this class still worked, but work on PHP6 is underway and I doubt it will be backwards compatible all the way back to PHP4 so I brought everything up to date.

There were a couple of other changes, mostly to just make more efficient use of PHP. All the methods still return the same information (except for EncodeConfig, which wasn't really called by the public anyways). Default behavior is still the same- if a developer doesn't specify the ID, for instance, it still defaults to the InstanceName. I was able to drop the file into a couple of different places where I've used FCKeditor without having any issues.

#1491 Error when indenting and outdenting empty list elements Confirmed IE Martin Kou Bug closed Normal
Description

Scenario:
1. Go to sample01 nightly build and clear content
2. Make a list with two elements
3. Go to the end of the first element and press enter to make a new empty list element between the other two.
4. Press indent button.
5. Press outdent button.
6. The list is now completely broken.

Tested with IE7
It seems to have something to do with the end of line charachter beeing selected after indentation. This makes a lot of unexpected results in other cases too.

#1502 Remove format doesn't remove attributes Confirmed Review+ Alfonso Martínez de Lizarrondo Bug closed Normal
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
#1504 License header review Confirmed V3ProtoStruct Review+ Frederico Caldeira Knabben New Feature closed Normal
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 ?

#1509 normal whitespace changed into &nbsp; by innerHtml() Confirmed IE Review+ Martin Kou Bug closed Normal
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

#1518 Extra block added before Bulleted list Confirmed IE Martin Kou Bug closed Normal
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)

#1521 "Replace" function doesn't work properly Confirmed Martin Kou Bug closed Normal
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)

#1524 Cursor jumping to start and end of unordered list Confirmed Firefox Martin Kou Bug closed Normal
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

#1527 FCK class should have a function that returns FCKeditor version and revision Confirmed Review+ Wiktor Walc New Feature closed Normal
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.

#1530 "Replace" and "Replace All" buttons are disabled Confirmed Review+ Martin Kou Bug closed Normal
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.

#1536 For all browsers, make table cells selection working just like in Firefox Confirmed New Feature closed Normal
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 Confirmed Review+ Martin Kou Bug closed Normal
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.

#1543 FCKEditor breaks Interwiki links Confirmed Bug closed Normal
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

#1561 Style combo broken for applying a simple <nobr> tag Confirmed Bug closed Normal
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 Confirmed Martin Kou Bug closed Normal
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

#1572 CF: Height parameter for editor instance is not working Confirmed Review+ Wiktor Walc Bug closed Normal
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.

#1575 Firefox: Empty paragraph added if an object tag occurs as first element in the body Confirmed Firefox Martin Kou Bug closed Normal
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.

#1577 Fatal error using some skins Confirmed Bug closed Normal
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

#1582 Image border is lost after reediting Confirmed Bug closed Normal
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 Confirmed Firefox Frederico Caldeira Knabben Bug closed Normal
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.

#1586 [IE] JavaScript error on edit Confirmed IE Bug closed Normal
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 Confirmed IE Bug closed Normal
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
#1591 IE(7) error inserting a blockquote Confirmed IE Martin Kou Bug closed Normal
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

#1593 IE: The sampleposteddata pages are not wrapping the "Value" collumn Confirmed Review+ Alfonso Martínez de Lizarrondo Bug closed Normal
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 Confirmed Frederico Caldeira Knabben Bug closed Normal
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.

#1596 Safari : Dialogs are not RTL Confirmed Safari Review+ Frederico Caldeira Knabben Bug closed Normal
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 Confirmed Frederico Caldeira Knabben Bug closed Normal
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.

#1602 Delete key causes Javascript error when editor is empty Confirmed Firefox Safari Bug closed Normal
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

#1614 Difference between FCKConfig.BasePath and .FullBasePath Confirmed Review+ Martin Kou Bug closed Normal
Description

In editor/source/internals/fckconfig.js the FCKConfig.BasePath and FCKConfig.FullBasePath are calculated automatically, for file:// they both end up being the same, but for the rest of the protocols .BasePath doesn't contain the reference to the protocol and the host.

This usually works, but for chrome:// it fails to load any file referenced by .BasePath It is enough to make FCKConfig.BasePath = FCKConfig.FullBasePath to get the editor loading the stylesheets, so I wonder if the distinction between the two settings is really needed or we could add the reference to protocol and host to .BasePath and get rid of FullBasePath replacing it wherever it appears with .BasePath

#1616 Spelling is always done in English Confirmed Bug closed Normal
Description

Even when another language is selected for FCKeditor, spelling is always done in English (hardcoded in the source).

#1625 Relative links (Subpage feature) are translated when loaded in the editor Confirmed Bug closed Normal
Description

Suppose you are under /FirstLevel. If you have Subpage enabled, and a relative link, like [[/SubLevel]], the link is translated to [[/FirstLevel/SubLevel]] when loading the contents in the editor for editing.

#1633 [FF] styles on iframe elements affect the editor and panels Confirmed Firefox Review+ Martin Kou Bug closed Normal
Description

Add

	<style type="text/css">
		iframe {
			width: 100%;
			height: 400px;
			border: 3px solid red;
			background-color: blue;
		}
	</style>

to a test page and you'll see that they make impossible to use the editor. I think that we should force some styles on the generated iframes to avoid this kind of problems.

Reported in http://www.fckeditor.net/forums/viewtopic.php?f=6&t=7759

#1644 Proposal: remove references to cursor: hand; in css Confirmed Review+ Alfonso Martínez de Lizarrondo Task closed Normal
Description

Only IE 5.5 needs the "cursor: hand;" rule, IE6 and every other browser will understand properly the "cursor: pointer;"

By removing those rules we avoid some warnings in the error consoles about the styles.

#1647 Selecting a Format while in a Bulleted/Numbered list fails to make new Bullets/Numbers Confirmed Review+ Frederico Caldeira Knabben Bug closed Normal
Description

This issue was related to bug 277 which is now fixed.

To Reproduce:

  • Create a Bulleted list
  • Select 'Heading 2'
  • Type some text, hit return

Result:

No new bullets appear. The only way to make new bullets is to position the cursor at the end of the document and create a new bulleted list.

#1653 span colors switching from HEX to RGB Confirmed Alfonso Martínez de Lizarrondo Bug closed Normal
Description

While working on my editor settings today, i accidentaly noticed my flash movie wasn't loading colors anymore .. after checking the xml i was loading (which is fckeditor generated), i noticed all the <span> blocks are now using RGB instead of HEX colors ..

Now i'm almost sure this is not related to my settings. I've even disabled my custom config file (and triple emptied cache), but still, i get RGB instead of HEX when i select a peace of text, and apply a color from the color panel.

#1659 Setting DocType to Standards Compliant Collapses <body> in IE Confirmed Oracle IE Review+ Garry Yao Bug closed Normal
Description

When you set FCKConfig.DocType to a standards compliant type, the min-height: 100% css trick on the body no longer works.

This means the body collapses to the size of the elements contained within the body.

IE only.

#1664 Elements swaping on Enter at the end of paragraphs Review+ Confirmed Frederico Caldeira Knabben Bug closed Normal
Description

Steps to Reproduce

  1. Load the following HTML:
<p><font size="6"><font size="1">Hit enter at the end of this line</font></font></p>
  1. Hit ENTER at the end of the line and type some text.
  2. Repeat step 2 may times, and have some fun :)

Current Results

The <font> tags changed order. After enter and "some text", this is what we have:

<p><font size="6"><font size="1">Hit enter at the end of this line</font></font></p>
<p><font size="1"><font size="6">Some text</font></font></p>

Expected Results

The new paragraph must have the formatting tags in the same order:

<p><font size="6"><font size="1">Hit enter at the end of this line</font></font></p>
<p><font size="6"><font size="1">Some text</font></font></p>
#1666 Domain relaxation not working for sub-menues Confirmed IE Review+ Martin Kou Bug closed Normal
Description

Steps to reproduce the bug:

  1. Make sample01.html accessible through both "www.fckeditor.local" and "fckeditor.local", change the hosts file if needed.
  2. Add the following line to sample01.html before creating the oFCKeditor object:
    document.domain = 'fckeditor.local' ;
    
  3. Open sample01.html from www.fckeditor.local in IE.
  4. Create an empty table.
  5. Right click on the table.
  6. Error: Permission denied.

Tracing the script execution shows the error comes from the creation of sub-menus in the table menu.

#1670 Smilieys dialog could look better Confirmed Review+ Martin Kou Task closed Normal
Description

The current smiles dialog is quite dark and heavy because of the darken boxes that hold each image. Something lighter would help it a lot. I've tested it with #eaead1 and it looked great.

In the other hand, that color is not customizable by the skins. So, the same color is used for all of them, making it look pretty ugly (see office2003). The color must instead come from the skin CSS file.

#1676 Provide a way to switch beetwen FCKeditor and Textarea Confirmed New Feature closed Normal
Description

Although this is a very nice extension, it isn't stable enough to be used without the user choosing to do so. Instead of having all users to document their default behaviour in their user preferences, they should be able to choose on a page if they want to use the Rich editor or the WikiText editor. -- Hans Oesterholt-Dijkema 21:02, 17 December 2007 (CET)

#1682 Problem editing control elements in Firefox, Safari, Opera Confirmed FireFox Opera Safari Review+ Martin Kou Bug closed Normal
Description

When you insert a control element and try to edit it, it's current information is not displayed. However, whatever you type in will be properly put into the element you're editing.

  1. Go here: http://www.fckeditor.net/demo
  2. Insert a radio button, checkbox or button
  3. Select the button and try to edit it, it won't get the current information (name, text, selected) for the element
  4. If you click 'OK', it will change the current button whatever you've specified

There seems to be a problem with the getSelection() function somehow; in the pop-up window, FCKSelection.GetSelectedElement() returns a null.

IE 6 and IE 7 don't seem to have the problem, but the following do:

  • Safari 3.0.4
  • Firefox 2.0.0.11
  • Opera 9.5 (build 9613)
#1691 Safari: new links do not appear in editor unless text is made into a link Confirmed Safari Review+ Frederico Caldeira Knabben Bug closed Normal
Description

Reproduce:

  • Visit any FCKeditor release, including nightly as of 12/20/07.
  • Do not select any text in the editor. (Does work when you select text)
  • Click Link button.
  • Enter any information.
  • Click OK.

Problem: Link does not appear.

System: Mac OS X/Intel, unmodified Safari 3.0.2.

#1692 Check for invalid temp directory in ColdFusion filemanager connector Confirmed Review+ Wiktor Walc New Feature closed Normal
Description

This feature request fixes a problem when the ColdFusion server returns an empty string when calling the function GetTempDirectory (). This is a known problem. Restarting the server will fix it, but it's also a good idea to allow the developer to specify a temp directory. I ran into this problem when integrating FCKEditor 2.5 into my application framework, and I could not upload files. After some debugging, I found that my development CF server was not returning a valid temp directory.

In filemanager\browser\default\connectors\cfm\config.cfm, add a new temp file setting that can be set by the developer:

Set a temporary directory Config.TempDirectory = GetTempDirectory ();

In filemanager\browser\default\connectors\cfm\cf_commands.cfm, test to see if the specified temp directory is valid. If not throw an error.

<cfset fsTempDir = REQUEST.Config.TempDirectory> <cfif NOT DirectoryExists (fsTempDir)>

<cfthrow message="Invalid temporary directory: #fsTempDir#">

</cfif>

#1693 Filemanager not returning error message (Javascript) Confirmed Review+ Wiktor Walc Bug closed Normal
Description

I was having a problem with ColdFusions server not returning a valid temp directory when uploading a file. A empty Javascript alert popped up telling me nothing. After some debugging, I found that the message that was generated from a coldfusion exception was not being passed through to the function OnUploadCompleted () in the file: filemanager/browser/default/frmupload.html.

To reproduce:

Edit the file: filemanager\browser\default\connectors\cfm\cf_commands.cfm

Delete destination="#GetTempDirectory()#" from the cffile call. Replace it with an empty string. This will give you an invalid directory, and an exception will be thrown.

Try uploading a file into the file manager browser. A blank alert will appear.

The Fix:

The file filemanager/browser/default/browser.html has a function in it:

function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg )

This function accepts a customMsg that contains the message from an exception in the connector script. This message is not being passed to the function (with the same name) that it calls. You need to pass customMsg to the OnUploadCompleted in the file upload frame, as follows:

function OnUploadCompleted( errorNumber, fileUrl, fileName, customMsg ) {

window.framesfrmUpload?.OnUploadCompleted( errorNumber, fileName, customMsg ) ;

}

Then you need to modify the called function to accept the new parameter.

In the file:

file filemanager/browser/default/frmupload.html

add the paramter to the end of the param list:

function OnUploadCompleted( errorNumber, data, customMsg )

Then use it to display in the alert for error number 1:

switch ( errorNumber ) {

case 0 :

window.parent.framesfrmResourcesList?.Refresh() ; break ;

case 1 : Custom error.

alert( customMsg ) ; break ;

#1697 OnSelectionChange event in certain Controls don't fire when using Firefox. Confirmed FireFox Bug closed Normal
Description

This happened to 'dropdown list', 'radio button', and 'check box'. I think the right-click context menu is also using this event.

Step to reproduce:

  1. Using Firefox, go to the Demo and use Sample 01.
  1. Create either a radio button, check box, or drop-down.
  1. Try to right-click on any of those. None of them showing the context menu, in my app., the OnSelectionChange event is not fired.
#1701 <span class="Apple-style-span"> for Bold with "Cmde" "B" Confirmed Safari Mac CantFix Bug closed Normal
Description

Os : Mac OS X.4 Browser : Safari 3.0.4

Following the resolved ticket #55, the case creating bold with short key "Cmde B" still generate : <span class="Apple-style-span" style="font-weight: bold;">. The other case are resolved.

#1713 FF: unknown text in templates paramter Confirmed FireFox Bug closed Normal
Description

when editing a page with a template (in Mozilla Firefox) which has a paramter e.g. {{decrption|code=something}} a text appears inside the paramter:=UNIQ3b1c92887d90b001-pre-00000001-QINU

#1715 ShowDropDialog must be considered only when ForcePasteAsPlainText = true Confirmed Review+ Frederico Caldeira Knabben Bug closed Normal
Description

For #338, we have introduced a new feature which guarantees that dropped text will respect the ForcePasteAsPlainText setting, not allowing dropping rich contents in that case.

The solution used is trying to transform the dropped data to simple text on the fly (IE only), showing a dialog to which dropping is possible, or even disable dropping all the way. To disable it, the ShowDropDialog can be set to "false".

But, the current implementation makes it impossible to have the normal dropping behavior because the editor always looks for the ShowDropDialog, even if ForcePasteAsPlainText = false. It should not happen instead.

#1719 Can't do unbold / unitalicize Confirmed Firefox Bug closed Normal
Description

I just copy and paste the following at http://www.fckeditor.net/demo in source

<p><span style="font-family: Times New Roman">&ldquo;To be well-informed is to have the world at your fingers.&rdquo;</span></p>
<p><span style="font-family: Times New Roman">&mdash;Joseph Jones</span></p>
<p><span style="font-family: Times New Roman">Dear Friend,</span></p>
<p><span style="font-family: Times New Roman">Did you know that 2007 was actually the fifth highest year for home sales in history? Take a closer look at the numbers and you will discover that the state of the real estate market may not be everything the media leads you to believe. Sometimes we all need a little historical perspective to see the big picture clearly.</span></p>
<p><span style="font-family: Times New Roman">Fortunately, I did all of the research and analysis for you already. This month&rsquo;s Item of Value includes a variety of interesting and informative statistics that illustrate why last year was a good year overall for home sales. With mortgage rates historically low and new, innovative mortgage programs being unveiled, there is even greater promise for home sales in 2008.</span></p>
<p><span style="font-family: Times New Roman">On the backside, you will find a noteworthy study on the rising trend of vacation home sales. Nearly one-third of vacation homes are being purchased with the intent of becoming a full-time residence upon the buyer&rsquo;s retirement. With today&rsquo;s mortgage rates, renting options and family gathering advantages, buying a vacation home is a great option to consider.</span></p>
<p><span style="font-family: Times New Roman">With so much to take into account&shy;&shy;&shy; when you buy or sell a home, I am always available to help you sort out what is best for you.</span></p>
<p><span style="font-family: Times New Roman">Sincerely,</span></p>
<p><span style="font-family: Times New Roman"><i><b><span>Oh, by the way&reg;&hellip;if you know of someone who would appreciate the level of service I provide, please call me with their name and business number, and I&rsquo;ll be happy to follow up and take great care of them.&nbsp;</span></b></i></span></p>

And I couldn't do unbold and unitalicize in last line. Sometimes it does unbold and sometimes doesn't do it.

#1723 Hitting enter at starting of Line doesn't works Confirmed IE Bug closed Normal
Description

I just copy and paste the following at http://www.fckeditor.net/demo in source

<p><span style="font-size: large"><span><span style="font-family: Times New Roman"><span><b>&ldquo;To be well-informed is to have the world at your fingers.&rdquo;</b></span></span></span></span></p>
<p><span style="font-size: medium"><span style="font-family: Times New Roman"><span><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &mdash;Joseph Jones&nbsp;</b></span></span></span></p>
<p><span style="font-family: Times New Roman">Dear&nbsp;{u_lname},</span></p>
<p><span style="font-family: Times New Roman">Did you know that 2007 was actually the fifth highest year for home sales in history? Take a closer look at the numbers and you will discover that the state of the real estate market may not be everything the media leads you to believe. Sometimes we all need a little historical perspective to see the big picture clearly.&nbsp;&nbsp;</span></p>
<p><span style="font-family: Times New Roman">Fortunately, I did all of the research and analysis for you already. This month&rsquo;s Item of Value includes a variety of interesting and informative statistics that illustrate why last year was a good year overall for home sales. With mortgage rates historically low and new, innovative mortgage programs being unveiled, there is even greater promise for home sales in 2008.&nbsp;&nbsp;</span></p>
<p><span style="font-family: Times New Roman">On the backside, you will find a noteworthy study on the rising trend of vacation home sales. Nearly one-third of vacation homes are being purchased with the intent of becoming a full-time residence upon the buyer&rsquo;s retirement. With today&rsquo;s mortgage rates, renting options and family gathering advantages, buying a vacation home is a great option to consider.&nbsp;With so much to take into account&shy;&shy;&shy; when you buy or sell a home, I am always available to help you sort out what is best for you.&nbsp;&nbsp;</span></p>
<p><span style="font-family: Times New Roman">Sincerely,&nbsp;&nbsp;</span>&nbsp;</p>
<p>&nbsp;<img alt="" src="http://www.relationshiplist.biz/UserImages/45/rl.jpg" /></p>
<p><i><b><span style="font-family: Times New Roman">Oh, by the way&reg;&hellip;if you know of someone who would appreciate the level of service I provide, please call me with their name and business number, and I&rsquo;ll be happy to follow up and take great care of them.</span></b></i>&nbsp;&nbsp;</p>
<div>&nbsp;</div>
<p>&nbsp;</p>

Set mouse cursor before "Dear" and hit enter. You will see new lines are not coming. But when you go to Source you can see code for new lines and when return to design window. You will see those blank lines.

#1727 Safari: adding a link shows javascript:void(0)/*.... Confirmed Bug closed Normal
Description

MediaWiki 1.11, FCKeditor 2.5.1 Safari on Leopard 3.0.4 - generally excellent behavior so far (new user)

Consistently when I try to add a link via button instead of the link name being displayed I get some internal code javascript:void(0)/* ... some sort of timestamp here */

I attach two files, One shows the result of adding a link in the FCKeditor window The other shows same thing but displayig the wikitext.

Problem doesn't arise for me on WinXP IE 6 & & or FF 2.

#1740 create automatic short aliases of objects and functions Confirmed New Feature closed Normal
Description

In order to improve the compression I think that this idea might provide some extra savings.

In the code there are some objects like "FCKTools", each usage of it takes 8 bytes, doing a search in the compressed code it seems that it's used around 40 times. If the packager would be able to replace those ocurrences with something like $T then it could mean a saving around 200-240 bytes (it needs to take into account that now it needs to do $T=FCKTools={};). The same principle could be applied to other objects that are used several times, and also to their functions: FCKTools.CreateBogusBR -> $T.CBBR or $T.R or whatever.

Important: the original object and function names should be preserved so there are no changes required to the dialogs or plugins calling the functions, as well as making it easy to write such external code.

The code should try to find out automatically all the objects and functions that are worth renaming: if a function is used only once then creating its alias means that now the code is bigger than the original function.

Now that we are at it, this kind of code analysis could be used to find out functions that are never called (it should just output their names because they might be called from the dialog of FCKeditor.html or any other known place), and so help review if there is some dead code lying around.

#1752 E.tagName has no properties when using tablecommands plugin. Confirmed Review+ Artur Formella Bug closed Normal
Description

You get an error when trying to make text bold in a table when you have the "tablecommands" plugin installed.

E.tagName has no properties

FCKEvents(undefined, undefined) ApplyStyle(Object Element=b _StyleDesc=Object IsCore=true GetType_$=1) FCKCoreStyleCommand() FCKToolbarButton() FCKToolbarButtonUI_OnClick(click clientX=0, clientY=0, Object Name=Bold Label=Bold Tooltip=Bold Style=0 State=0) CancelEvent(click clientX=0, clientY=0)

#1753 No context menu for text field properties Confirmed FireFox Bug closed Normal
Description

If you have a text field in a form you can use the context menu to change the text field properties. In version 2.5.1 the context menu has no entry "Text Field Properties". This bug is for firefox ONLY (tested on version 2.0.0.11) - it works on IE Version 6 and 7.

#1758 alignment and font formatting doesn't work inside a table Confirmed Firefox Bug closed Normal
Description

In fckeditor version 2.4.3 when i choosed a table line and i changed the alignment to center is working. In version 2.5 is not working. Same when i changed the table line text to bold.

#1764 StartupFocus is false but FCKEditor steals focus anyway in IE Confirmed IE Review+ Martin Kou Bug closed Normal
Description

I use IE and I have 2 editor windows loading. The first window has initial data where value is set to the text and the second window doesn't have data where value is set to . Focus is placed on the second window even when StartupFocus = False; Removing the second instance and setting the value on the first window to will also show that focus is taken.

Example Code: <cfset fckEditor = createObject("component", "fckeditor.fckeditor") /> <cfset fckEditor.basePath="/fckeditor/" /> <cfset fckEditor.toolbarSet = "OMC" /> <cfset fckEditor.value = 'Test with data' /> <cfset fckEditor.width="570" /> <cfset fckEditor.height="200" /> <cfset fckEditor.instanceName="Box1" /> <cfset fckEditor.FillEmptyBlocks = false /> <CFOUTPUT>#fckEditor.create()#</CFOUTPUT>

<cfset fckEditor.instanceName="Box2" /> <cfset fckEditor.value = /> <cfset fckEditor.height="100" /> <CFOUTPUT>#fckEditor.create()#</CFOUTPUT>

This is my first time submitting a ticket and will try to include my fckconfig.js file. PS. My paths above are different for my local test environment.

#1768 Packager doesn't find _packager.xml Confirmed Bug closed Normal
Description

I donwnload FCK251, i tried the latest packager run in fckeditor folder. It sad that: Error: The package definition file was not found. : c:/fck251/editor/_packager.xml

ok. I moved and renamed fckpackager.xml to editor/_packager.xml then, it sad: System.NullReferenceException: at d.a(String[] A_0)

I've .NET framework 2.0

#1771 inside page linking disappears after editing the page for the second tome Confirmed Bug closed Normal
Description

When building a page with sections e.g. === section 1 === when we try to make a link to it inside a page e.g. [[#section 1|Section 1 name]] everything seems ok and it works when we save the page. However when we try to edit the page again the #section1 link disappears leaving only this code: [[|Section 1 name]]

#1773 Create complete Maven Site Confirmed Michael Osipov Task closed Normal
Description

We need to provide a fully-featured, well-documented, design-adapted Maven Site.

This Task should be started when the code is done.

#1777 IE, IE7: <ul> + <font> tags make FCK collapse Confirmed IE Bug closed Normal
Description
  1. go to HTML view and paste the following code:
<ul>
    <li><font size="2"><font size="2">One.</font>
    <ul>
        <li><font size="2">Two.</font></li>
        <li><font size="2">Three</font></li>
    </ul>
    </font></li>
</ul>
  1. switch back to WYSIWYG view
  1. move the cursor at the end of first line (after "One. ")
  1. hit [cancel] so that the text "Two." gets to the first line
  1. press [enter]
  1. et voilà! the text "Two." disappears!!
  1. the source code now is:
<ul>
    <li><font size="2"><font size="2">One.</font> </font></li>
    <li>&nbsp;
    <ul>
        <li><font size="2">Three</font></li>
    </ul>
    </li>
</ul>

Browser: IE6 on WinXP

#1780 Formatting removes space after a word (Mediawiki/WYSIWYG). Confirmed Bug closed Normal
Description

I have a website hosted by wiki-site.com. You can reproduce this problem by going to www.wiki-site.com and using their sandbox. I could find out what version of fckeditor they are using but I know they are using mediawiki 1.11.

In the WYSIWYG view, if I select several words for formatting such that I also select the space after the last word, when I apply formatting and save it (or just switch to wikitext and back), the space after that last word is removed. And in WYSIWYG view, it you add that space back in, it will delete it again when you save it.

Ex. This is an example of a line of text. (I then select "example of a line " (by default the selection wants to include that space after "line"). I then click bold. Then if I switch to wikitext and back, I get: This is an example of a lineof text.

A few times, I have also encountered the problem of getting 6 or 9 apostrophes in a row when editing bold formatted text. I have been unable however to reproduce it.

I have also had the problems of added lines in bulleted/numbered lists like the comments on the main page.

I was looking forward to getting others to start using the Wiki with WYSIWYG but it's too buggy right now.

Thanks for your help.

#1782 Freeze of whole IE-window when clicking radiobutton Confirmed IE Review+ Martin Kou Bug closed Normal
Description

The code in the attached file produces a page with an fckeditor that freezes the whole IE window when you click on the radio button inside it. This occurs when you click the radio button while the focus is NOT in the fckeditor window. It also happens with checkboxes.

You can test it on http://faramir.proteon.nl/fcktest.html

This didn't happen in fckeditor 2.4.3, but happens in both fckeditor 2.5 and 2.5.1.

Browser: IE7 on Windows XP.

#1785 New lines and extra whitespaces removed inside a <pre> tag Confirmed Wiktor Walc Bug closed Normal
Description

Inside a "formatted" block (pre tag), if i paste the following code

First line with no whitespaces 
  Second line starting with two whitespaces

Fourth line   with three whitespaces after word "line"

and save the article:

  1. the two whitespaces in the beginning of the second line are removed
  1. the third line is removed
  1. The two extra whitespaces after the word line in the fourth line are removed

more than that, if i reopen the article and try to split the first line in two new lines, "First line with no" and "whitespaces", and then i save the article, the new line is simply skipped (i'll still have a single line "First line with no whitespaces")

You can reproduce it on the sandbox.

#1788 Some dialogs have scrollbars in Safari Confirmed Safari Review+ Martin Kou Bug closed Normal
Description

This affects only some of the dialogs. Mainly the form elements and also the about box, loading them will show a vertical scrollbar. In the about box, if we click on the second tab and back to the first then it does disappear.

Tested with Safari 3.0.4 and WebKit-r29785, works fine in IE7, Firefox 2 and Opera 9755

#1792 [IE] Infinity loop problem in multiple editor Confirmed IE Review+ Frederico Caldeira Knabben Bug closed Normal
Description

Thank for FCKeditor team.
I using your product very usefully.
But I found a bug.
Please patch this bug... thank you

If change editor focus by mouse clicking then Internet Explorer fall into infinity loop in multiple editor page.
I create three editors in a page.
Click a first editor to edit html and switch to other window and click second editor then the editor fall into infinity loop.

The bug has in your sample page.
http://www.fckeditor.net/nightly/fckeditor/_samples/default.html[[BR]]

Change sample to FCKeditor - JavaScript - Sample 9 : Complex form(multiple editors)
Then two editors will be shown.
I will call EditorA (FCKeditor with Basic toolbar) and EditorB (FCKeditor with Default toolbar)

Steps to reproduce:

  1. Click EditorA
  2. Click the other window (except the fckeidtor browser)
  3. Click EditorB
  4. Then the Internet Explorer will be falled into infinity loop.


Browser name and OS
Internet Explorer 6 and 7
Windows XP sp2


Screenshot
No screenshot because bug is not editor content problem but infinity loop.

Sample data
Not need sample data...
This bug occur with any data..
I think that this bug is not related with a data...

Thank you.

#1796 Empty paragraphs getting inserted when justify button is clicked Confirmed Bug closed Normal
Description

With the following HTML clicking on any of the text justify buttons leads to the editor freezing, then when Abort Script (A script on this page is causing Internet Explorer to run slowly...) button is pressed viewing source reveals hundreds of empty paragraphs (<p style="text-align: right">&nbsp;</p>) inserted before the table.

Steps to reproduce:

  1. Use HTML provided below
  2. Select all (ctrl-a)
  3. Click right justify button

Editor will freeze and after a while abort script dialog will pop up.

  1. Click yes
  2. Click on the Source button, notice hundreds of p tags

Source that has this problem:

<FONT FACE="arial,sans-serif"> <BR><BR> <CENTER><B>ASDF</B></CENTER> <TABLE BORDER="1" CELLSPACING="0" WIDTH="100%"> <TR> <TD><FONT FACE="arial,sans-serif"><B>ASDF</B></FONT></TD> <TD><FONT FACE="arial,sans-serif"><B>FDSA</B></FONT></TD> <TD NOWRAP><FONT FACE="arial,sans-serif"><B>ASDF</B></FONT></TD> <TD NOWRAP><FONT FACE="arial,sans-serif"><B>FDSA</B></FONT></TD> <TD NOWRAP><FONT FACE="arial,sans-serif"><B>ASDF</B></FONT></TD> </TR> <tr><td nowrap><FONT FACE='arial,sans-serif'>ASDF</FONT></td><td><FONT FACE='arial,sans-serif'>FDSA </FONT></td><td><FONT FACE='arial,sans-serif'>39</FONT></td><td><FONT FACE='arial,sans-serif'>1</FONT></td><td><FONT FACE='arial,sans-serif'>0</FONT></td></tr><tr><td colspan='2' align='right'><FONT FACE='arial,sans-serif'><b>Total </b></FONT></td><td><FONT FACE='arial,sans-serif'>39</FONT></td><td><FONT FACE='arial,sans-serif'>1</FONT></td><td><FONT FACE='arial,sans-serif'>0</FONT></td> </TABLE> <BR><BR> </FONT>

#1804 IE7: "colspan" collapses editor when swithching between Source View/Wikitext Confirmed IE7 Bug closed Normal
Description

Difficult to reproduce (the problem depends on the content of the article). in my article i had some pictures in a table. if i work on the article with firefox everythings fine. but on edit with Internet Explorer 7 i can't change to Source-Code (or Wikitext) and after saving again all pictures are gone. instead of the pictures there's something like this: <img src="ef=" _fck_mw_filename="pic.jpg" alt="80px" /> besides all links are changed to <a href="linkdestiation.html">Linkdestination</a> but this happens only very rarely. but if it happens IE7 brings the error messeage "Object Does Not Support Property Or Method" URL:mywikipath/extensions/FCKeditor/editor/fckeditor.html?InstanceName=wpTextbox1&Toolbar=Wiki I've no idea how to resolve this problem. so please help me!!! I use this version of the FCKeditor: http://www.mediawiki.org/wiki/Extension:FCKeditor_%28by_FCKeditor_and_Wikia%29

#1806 Wrong selection when selecting a Header format at new line in the end of the document Confirmed IE Review+ Frederico Caldeira Knabben Bug closed Normal
Description

This is a IE only issue.

Steps to Reproduce

  1. Clear the editor contents.
  2. Type some text.
  3. Hit ENTER.
  4. Select any Header style in the Format combo.

With IE, the cursor will start blinking at the end of the previous paragraph. Moving down with the arrow key shows that the selected header has been correctly applied though.

#1810 Play well with diff tools Confirmed New Feature closed Normal
Description

When opening content produced with the editor and simply saving it without changes, we should guarantee that the output data looks just like the input. Even changes in the text must touch only the changed point, not the rest of the document.

Another requirement is making it work even when opening the same content in different browsers.

Today, some things must be ensured for that:

  • Attributes order must not change. One solution for that would be ordering the attributes alphabetically (see #249).
  • Style attributes must have the same format. Style properties must be lowercased, spaces after ":" must be removed as well as the trailing semicolon (see #1709).
  • Whitespaces must be minimized and outputted by the output formatter only.
#1811 First massive line endings fix Confirmed Frederico Caldeira Knabben Task closed Normal
Description

The first massive fix for line endings must be done, using the tool created with #1667.

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