Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1401 - 1500 of 2591)

Ticket Summary Status Owner Type Priority Milestone
#7864 Flash plugin url escapes some values confirmed Bug Normal
Description

Flash plugin url escapes some values.

Testing against http://nightly.ckeditor.com/6928/_samples/replacebyclass.html

To reproduce:

  1. Insert new flash element through dialog
  2. Set value to [url|ALL|9839]
  3. Close dialog
  4. View source to verify bug. embed tags src attribute gets url escaped

Expected (new lines added for readability):

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data="[url|ALL|9839]">
<param name="quality" value="high" />
<param name="movie" value="[url|ALL|9839]" />
<embed pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="[url|ALL|9839]" type="application/x-shockwave-flash"></embed>
</object>

Got (new lines added for readability):

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data="[url|ALL|9839]">
<param name="quality" value="high" />
<param name="movie" value="[url|ALL|9839]" />
<embed pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" src="[url%7CALL%7C9839]" type="application/x-shockwave-flash"></embed>
</object>

From what I could see this might be some difference in embedNode.setAttribute and CKEDITOR.dom.element.createFromHtml -> setAttributes

#7875 Problem with tables: Coulmn sizing and deleting table confirmed New Feature Normal
Description

After creating a table using "Insert Table" plugin, the column size gets automatically changed after you start typing into the columns. There is no way to assign fix column size to the table.

Also when the table is selected, pressing delete or backspace key does not remove the table from the editor. To remove the table, you need to select the previous and next line of the table as well.

This behavior is seen on FireFox and IE.

#7888 Deleting the link in editor - the text font stays underlined confirmed Bug Normal
Description
  1. Create a link (i.e. to an anchor)
  2. Save and re-open the page for editing
  3. Move cursor to last position of link
  4. Select the whole link and remove it
  5. Start typing plain text

PROBLEM: the text is undelined, but should have no format

#7895 Using the enter key after a placeholder value confirmed Bug Normal
Description

The enter key does not work when the cursor is directly after a placeholder. The ForceEnter setting does not alter this behavior.

To reproduce the issue, just open the placeholder Sample, http://nightly.ckeditor.com/6949/_samples/placeholder.html, position the cursor right after the closing brace of the placeholder, and press the enter key. A new line will not be created.

#7902 JAWS not reading updated values of width/height on Image Properties dialog confirmed Bug Normal
Description

To reproduce the defect:

  1. With JAWS on, Insert an Image, Open Image properties dialog of the image.
  1. Navigate to width and height fields, change the values of those fields.
  1. Now navigate to Reset size button and press space bar.

Expected Result: Width and height values for the image restored to original values and JAWS should read updated values of width and height.

Actual Result: Width and height values for the image restored to original values but JAWS not reading out the updated values of width and height.

we can fix this be keeping aria-live="assert" on width and height fields when the user presses Reset size button.

#7903 Table Tools APIs are not exposed confirmed New Feature Normal
Description

The table tools plugin provides many useful functions for inserting and deleting table cells/rows/columns, merging cells, splitting cells etc. However these APIs are not available when developing extensions to the editor. Can these APIs please be exposed so that we can provide extensions to the table functionality in our products?

#7920 Webkit: Incorrect font name is displayed confirmed Bug Normal
Description

Steps to reproduce the defect:

  1. Open the Ajax sample in either Safari or Chrome.
  1. Enter some text.
  1. Select the text and choose Comic Sans MS (or any other font name) from the Font Name combo box in the toolbar.
  1. Select the text & hit spacebar. See that the Font Name in the combo box changes to Arial.
  1. Type so more text.

Result: The text that has been entered is Comic Sans MS (or whatever font you chose) but Arial is still displayed in the Font Name combo box.

#7921 editor.mode always returns empty string confirmed Bug Normal
Description

To solve the problem, I have to modify the file plugins/editingblock/plugin.js. Is this OK ?

New code : (1 line disabled, 1 line added)

CKEDITOR.editor.prototype.setMode = function( mode ) {

this.fire( 'beforeSetMode', { newMode : mode } );

var data, holderElement = this.getThemeSpace( 'contents' ), isDirty = this.checkDirty();

Unload the previous mode. if ( this.mode ) {

if ( mode == this.mode )

return;

this.fire( 'beforeModeUnload' );

var currentMode = getMode( this ); data = currentMode.getData(); currentMode.unload( holderElement ); this.mode = ; LINE HAS BEEN DISABLED

}

holderElement.setHtml( );

Load required mode. var modeEditor = getMode( this, mode ); if ( !modeEditor )

throw '[CKEDITOR.editor.setMode] Unknown mode "' + mode + '".';

if ( !isDirty ) {

this.on( 'mode', function() {

this.resetDirty(); this.removeListener( 'mode', arguments.callee );

});

}

modeEditor.load( holderElement, ( typeof data ) != 'string' ? this.getData() : data);

FOLLOWING LINE HAS BEEN ADDED this.mode = (this.mode == 'wysiwyg') ? 'source' : 'wysiwyg';

};

#7923 No horizontal scrollbar when inserting a right aligned floating element that is wider than the page confirmed Bug Normal
Description

Steps to reproduce the defect:

  1. Open the Ajax sample in IE8 or IE9.
  1. Insert a table that has a width of 120% and is right aligned.

Result: There is no horizontal scrollbar so you cannot view the data in the left-most cells. If you remove the editor there is still no horizontal scrollbar.

#7928 elementspath + getSelectedElement problem confirmed Bug Normal
Description

When you click an element in the elements path, the elementspath.js plugin executes the instruction

editor.getSelection().selectElement(element);

However, in all browsers except Firefox, the editor.getSelection().getSelectedElement() returns null !

Is this a problem that has been solved already in some patch ?

#7935 background:url() get stripped on ie8- confirmed Bug Normal
Description

on ie8- if you add a style on an element using background:url() it get completely stripped from the source, same problem with background-image:url()

It can be reproduce in your demos as well.

code example:

    <div style="text-align: center; width: 800px; background: url('http://symple2.com/editor_images/image_c88658f6/Patterson Farms/Fresh Produce/PattersonProduceEadsmallheader_02_419.jpg') left top repeat-y;">
             test</div>
#7936 Large cursor next to images in Webkit confirmed Bug Normal
Description

Reproduce:

  1. With Safari and Chrome, go to http://ckeditor.com/demo
  2. Right click on the Little Red Riding Hood image.
  3. Select "Image Properties"
  4. Changle "Alignment" to "<not set">
  5. Press "Ok"

Place your cursor in the "Little Red Riding Hood" text that is next to the image. Observe that the cursor is as tall as the image. This differs from other browsers. While this is probably inherent to the browser, perhaps there is something that can be applied to the image so that it remains inline but does not affect the cursor size.

#7939 CKEditor inserting <p> when source-code has head tags like <meta>, <link> or <title> confirmed Bug Normal
Description

In version "Nightly Build":

To reproduce, change to source-code view and paste this html code:

<title>aa</title>
bbb

now switch again to view html, and again to source-code, now the code will be:

<p>
	<html>
		<head>
			<title></title>
		</head>
		<body></body>
	</html>
</p>
<p>
	<title></title>
	bbb</p>

In version 3.6: To reproduce, change to source-code view and paste this html code:

<title>aaa</title>
bbbb

now switch again to view html, and again to source-code, now the code will be:

<p>
	&nbsp;</p>
<p>
	<title></title>
	bbbb</p>
#7941 Fire an event when a template is selected confirmed New Feature Normal
Description

Hi, a nice feature to have would be to fire an event when we click on a template to select it.

I "forked" the code like this to do so (very easy indeed):

file: /ckeditor/_source/plugins/templates/dialogs/templates.js line: 58

item.on( 'click', function() { insertTemplate( template.html ); } );

replace with

item.on( 'click', function(event) {editor.fire('templateSelected', event); insertTemplate( template.html ); } );

This little thing could be the first step to a "I-know-which-template-is-used-right-now" dynamic.

Just as a notice, this is useful in the case you have multiple templates, each with its own css. You select a template, you do a few modification, and send data to server. Then, if the server needs to know which template was selected to fetch the appropriate css, you're screwed.

If an event is fired, at least you can do some work to get the css path. Let's say the template thumb and its css are in the same folder. If you know the thumb's src, you know the css place.

After a clic on the template, you can get the target (event.data.getTarget()) and then browse up to the <table>, then down to the <img> and you're ok.

But that's an other story . Just the fire('templateSelected') would be very nice!

Thanks

#7950 [IE] Text pasted differently than in other browsers reopened Bug Normal
Description

To reproduce the defect:

with config.pasteFromWordRemoveStyles = false & config.pasteFromWordRemoveFontStyles = false copy the text from attached word doc and paste it in to the editor.

Expected Result Text pasted properly and should be same across all browsers

Actual Result we are seeing the differences between IE(6,7,8& 9) & all other browsers.

In IE the top text is shown in bold and big font size where as in other browsers it is shown with small font size and with out bold.

I have attached screen shots of pasted text in IE & FF.

#7952 Creating lists inside a part of span looses span formatting on first row confirmed Bug Normal
Description

To reproduce:

  1. start with a clean editor.
  2. set font size to 20 (or some other formatting ending up in span)
  3. type 'asdf' hit shift+enter
  4. type 'asdf' hit shift+enter
  5. type 'asdf'
  1. now, select row 2 and 3 with mouse.
  2. press the bullet list icon/button.

the first bullet in the list will have lost the formatting.

#7954 Editing pasted Numbered list with different Start Value not working properly confirmed Bug Normal
Description

To reproduce the defect:

  1. Copy the list from attached word doc and paste it in to editor.
  1. press enter after first list item.

Expected Result: A new empty list item is created and Numbers for other list items should update accordingly.

Actual Result: A new empty list item is created but Numbers for other list items are not updated they remain the same.

same behavior happens when we press enter after any of the pasted list items in the pasted list

#7962 <td> align attribute causes validation errors in IE 8 confirmed Bug Normal
Description

If I enter this code into the source view using IE8:

<table>

<tr>

<td align="center">some text</td>

</tr>

</table>

It gets changed to

<table>

<tr>

<td align="middle">some text</td>

</tr>

</table>

The new value of "middle" instead of "center" and the page is no longer validate using an xhtml transitional dtd.

#7968 CKEditor 3.6 in IE7 - Unable to get value of the property 'getRanges': object is null or undefined confirmed Bug Normal
Description

I found this issue after recent upgrade to the version 3.6.

Steps:

  • Set Focus to the CKEditor text area;
  • Click any other control you have on a page (like link or button);

See attached video (6-1-2011 6-56-55 PM.zip) and an ASP.NET sample application I used for testing (CKEditorTest.zip) for details.

#7969 Add ability to move rows in a table (up/down, preferably with drag) confirmed New Feature Normal
Description

It would be very useful to have ability to rearrange rows in a table. Ideally with drag/drop, but if not, even a context menu "move row up" / "move row down" would be helpful.

#7980 JS error when switching to source mode under specific conditions confirmed Bug Normal
Description

Humor me with this one.

This involves a nested form and nested forms are not valid. Regardless, that does not explain why I am having this problem. You know it is possible to start with a single form, nest a form via javascript (Move Editor below), extract data via javascript, and be perfectly well with it. It only happens in IE7 and IE8, IE9 is happy.

  1. Load the sample
  2. Press "Create Editor".
  3. Press "Move Editor".
  4. Press "Source"

This recreates a scenario that I am having issues with. Here you will receive a JS error emanating from the richcombo plugin. The following event is fired on mode changes and it is the 'setValue' call below that is the cause of the problem.

editor.on( 'mode', function()
	{
		this.setState( this.modes[ editor.mode ] ? CKEDITOR.TRISTATE_OFF : CKEDITOR.TRISTATE_DISABLED );
		this.setValue( '' );
	},
	this );
#7985 Horizontal Line breaks current formatting confirmed Bug Normal
Description
  1. Start with an empty editor
  2. Press the "Bold" button
  3. Type in "Test"
  4. Press the "Horizontal Line" button
  5. Type in "Test"

Note that step 5 produces text that is not bold. This text is expected to be bold and the editor seems to agree to a point as when you inspect the contents of the editor, you see (in <br /> mode)

<strong>TEST</strong>
<hr>
TEST
<strong></strong>

Note the empty strong tags at the bottom, which really should be around the second TEST. This is also reproducible on the demo, which is using <p> tag mode.

#7989 Lists: Hitting enter with a selection outdents instead of clearing selection confirmed Bug Normal
Description
  1. Go to demo page
  2. Produce following content

  1. Hit enter

Observe : an outdent-action occurs. Expected selection to be cleared and cursor to be position on an empty paragraph below the list.

#7995 IFrame dialog Style field in Advanced tab not reflecting values entered for Width & Height in General tab confirmed New Feature Normal
Description

To reproduce the defect:

  1. Open CK Editor,click on IFrame icon to open IFrame Properties dialog.
  1. On General tab enter values for width(200)& Height(100) and click on Advanced tab.

Expected Result: Style field should have following values width: 200px; height: 100px;

Actual Result: Style field is empty.

#8008 Cannot delete horizontal rule via backspace confirmed Bug Normal
Description

Put the following html into editor

<p>

This is some text</p>

<hr /> <p>

This is some more text.</p>

<p>

Another paragraph</p>

Place cursor at beginning of "This is some more text." line. Press backspace. The horizontal rule is not removed, cursor remains in the same place. Press backspace again. On FF, cursor moves to unexpected location (after the first line). Put cursor at beginning of the line again. Press backspace. Nothing happens. Press backspace again, finally the hr is removed.

Observed in 3.4.2 and 3.6

#8009 Paste From Word creates <a> tags with no attributes wherever contents are "highlighted" by Comments confirmed Bug Normal
Description

Please forgive the poor summary of this ticket, as it is hard to summarize.

When pasting content from Word, any Microsoft Word Comments are also pasted (whether or not "View Markup" is currently selected). This creates anchor links and footnotes in the content (which may or may not be desirable behavior) but also creates "empty"

<a>...</a>

tags around the first paragraph associated with the comment. The anchor tags are empty in the sense that they have no attributes such as "href" or "name".

I don't know if this is technically invalid html but it is certainly undesired behavior. Since our site stylesheets don't make these "a" elements stand out by default, the extra tags just remain undetected in the source code once the rest of the comment markup is deleted from the editor.

I attached a Word doc with contents that can be pasted into the editor to demonstrate.

I would also like to see at least a config option to strip out the comments completely, but I guess I can create a feature request ticket depending on how much of this behavior is considered a bug.

System: Windows XP, IE 8, Microsoft Word 2003

#8010 setData from dialog makes empty undo step confirmed Bug Normal
Description

On FF4 dialogs who sets contents with setData methode makes empty undo step.
I've written a little plugin for testing. Set extraPlugins:'diatest' and 'DialogTest' as toolbar button.

#8018 Opera: cursor not staying in current table cell after inserting a smiley. confirmed Bug Normal
Description

To reproduce the defect:

Scenario 1:

  1. Open Ajax sample and insert a table with default values.
  1. Go to any table cell(except first), enter some text, click on smiley icon to open smiley dialog.
  1. click on one of the smileys.

Expected Result: Smiley is added in the table cell(where we had cursor in step 2) and cursor stays in the same cell.

Actual Result: Smiley is added in the table cell(where we had cursor in step 2) but cursor going to first table cell.

Scenario 2:

  1. Open any sample(except Ajax) and insert a table with default values.
  1. Go to any table cell(except first), enter some text, click on smiley icon to open smiley dialog.
  1. click on one of the smileys.

Expected Result: Smiley is added in the table cell(where we had cursor in step 2) and cursor stays in the same cell.

Actual Result: Smiley is added in the table cell(where we had cursor in step 2) but cursor going to start of first paragraph in editor body.

#8021 Problem handling images confirmed Bug Normal
Description

Hi,

On firefox 4 I can copy an image from my computer and past it directly on to CKEditor (ctrl + c and ctrl + v), but, when I try to do this on IE 8 or google chrome nothing happens.

Does anyone know why?

Thank You!

#8061 Webkit Drag and Drop shifts event focus to iframe document confirmed Bug Normal
Description

I've only tested this in webkit, but it's a fairly annoying problem. After dragging text from one CKEDITOR instance to another, events are no longer fired properly on the parent window. I've attached a very simple example of this problem.

  1. Click on the 'Click to test' button. It will fire an alert with the message 'Test Successful'.
  2. Click the 'Click to replace' button. This will create two instances of CKEDITOR on the page.
  3. Drag text from the first instance to the second instance.
  4. Click on the 'Click to test' button. Nothing will happen.

In Chrome, if you repeat step 4, the message will now appear. In Safari, the button will never fire the message.

#8062 Problem with enterMode = BR when changing font/size then partial bulleting confirmed Bug Normal
Description
  • Change enterMode to 'BR'
  • Enter the following in editor:

1 2 3 4 5

  • Highlight all then change font and change font size
  • Highlight only 3,4,5 then click on the unordered list

Notice that the bullets are not properly generated.

#8091 IE CKEDITOR.editor.resize throw 'invalid argument' when no height value is specified confirmed Bug Normal
Description

Steps to reproduce:

  1. Go to ckeditor.com/demo
  2. Open a javascript console and execute, 'CKEDITOR.instances.editor1.resize(50);'

The height value that is assigned becomes 'NaNpx' which is an invalid argument. Likely this has to due with line 345 in theme.js.

345 - contents.setStyle( 'height', Math.max( height - delta, 0 ) + 'px' );

In this case since height is undefined, Math.max(undefined - delta,0) returns NaN. NaN + 'px' = 'NaNpx'. Other browsers must handle this error more gracefully than IE. A simple conditional statement should fix this problem.

344 - if(height) {
345 - contents.setStyle( 'height', Math.max( height - delta, 0 ) + 'px' );
346 - }

#8092 CKEDITOR.editor.resize - Invalid documentation confirmed Bug Normal
Description

The documentation for this method states...

{Number|String} width The new width. It can be an pixels integer or a CSS size value.
{Number|String} height The new height. It can be an pixels integer or a CSS size value.

The method unfortunately only accepts a number parameter however. Resize calls the method setSize, here is the setSize method:

CKEDITOR.dom.element.prototype.setSize = function( type, size, isBorderBox )

{

if ( typeof size == 'number' ) {

if ( isBorderBox && !( CKEDITOR.env.ie && CKEDITOR.env.quirks ) )

size -= marginAndPaddingSize.call( this, type );

this.setStyle( type, size + 'px' );

}

};

As you can see, it only accepts a number as it's parameter.

#8097 URL is applied incorrectly when the selection contains an anchor confirmed Bug Normal
Description

When we try to apply a new link to a selection that already contains an anchor, the url for the anchor does not get updated with the new url value.

To reproduce this issue:

  1. Open any sample from the nightly build and enter the following in the source tab
    <p>
    	text goes here <a href="http://ckeditor.com">URL goes here</a> More text goes here</p>
    <p>
    
  2. Switch back to wysiwyg mode and select all the text.
  3. Click on the 'Link' icon and specify a url in the link dialog. Click OK.


Expected Result: The new URL value gets applied to the entire text including the anchor node.

Actual Result: The original anchor still has its old url value, while the new url value is applied to the text before and after it.

#8106 IE8 : Javascript error when deleting in bulleted list confirmed Bug Normal
Description

When deleting a row in a bulleted list CK throws a Javascript error with message 'null' is null or not an object on row.

Steps to reproduce the error:

  • Open up the demo page http://ckeditor.com/demo
  • Remove content
  • Click on Insert/Remove Bulleted List
  • Type some text and hit Enter, create at least two rows
  • Select the first row and create a link
  • Put the cursor in front of the link
  • Hit Enter to create a new row
  • Press up to move to the first row
  • Press delete to move the content on the second row to the first row

Expected here is that the link will be moved up to the first row and merge the first and the second row. But instead the cursor is moved down to the second row. I don't know if this is a bug as well?

  • Press Backspace to remove the second row (the list will be split into to lists)
  • Press Backspace again and the cursor will be moved to the first row
  • Press delete to move up the link to the first row
  • Click on Insert/Remove Bulleted List to remove the list

The link will be removed and the Bulleted list seems to be created as it supposed but an Javascript Error will be thrown in IE. I have tried the same thing in FF 4 with no problem at all.

Sorry if its many steps but I tried to do it so easy I could.

#8114 stack overflow at line: 26 old staff in Ckeditor confirmed Bug Normal
Description

I send the content of a form to CKEDITOR that has tags like this:

<dl>
<dt><dd>text<dd><dt> 
<dt><dd>text<dd><dt> 
<dt><dd>text<dd><dt> 
</dl> 

and as you see the <dt> tags are not closed as they should. The ckeditor cant show the content of the form mailed to this editor and make a stack overflow at line: 26. Is there any way to fix it?

Regards

#8118 [FF] Strikethrough style works incorrectly for bigger fonts confirmed Bug Normal
Description

Horizontal line that should be in the middle of text is at the bottom and looks like underline instead of strikethrough.

Way to reproduce:

  1. input some text
  2. change the font size of provided text to 72
  3. choose 'strikethrough' option from toolbar
#8129 Inline CSS does not work when there are comments inside <style> tags confirmed Bug Normal
Description

Inline CSS is not working there are comments inside <style> tags.

How to reproduce:

1) Open ckeditor and switch to source code editor.

2) Paste the following html:

<html>
<head>
    <style type="text/css">
<!--
    .big {
         font-size: 30px;
    }
-->
    </style>
</head>
<body>
    <p class="big">
    Example
    </p>
</body>
</html>

3) Switch back to Wysiwyg editor. "Example" text will be small.

If you try with:

<html>
<head>
    <style type="text/css">
    .big {
         font-size: 30px;
    }
    </style>
</head>
<body>
    <p class="big">
    Example
    </p>
</body>
</html>

It works ok.

#8131 CKEditor instance does not appear confirmed Bug Normal
Description

I am using the CKEditor widget in a framework that does custom "flexing". This works by shrinking all the "flexing" nodes and then setting their heights programmatically.

The fix applied for http://dev.ckeditor.com/ticket/5956 causes a race condition whereby if the flexing all occurs within 1 second then the ckeditor widget gets its display set to none.

To workaround this bug we are setting a timeout of 1200 to clear the display and "reflexing" our ckeditor node.

Note that no errors are caused in firefox if that fix is removed and the node has an offsetheight of 0.

So can either the fix be removed, made configurable or be tied more specifically to the display settings that cause the errors in firefox.

#8134 [IE8] line selection / following elements issue confirmed Bug Normal
Description

Start with an empty page. Create a heading, a text paragraph, and another heading. Source code should look like this:

<h1>heading</h1>
<p>text</p>
<h1>heading2</h1>

Now select the text paragraph (select the whole line from left to right). Then start typing.

Outcome: The text is replaced, the heading is converted to text and moved next to the cursor

Expected outcome: the text is replaced, the heading below remains a heading (in its own line)

Found in IE8, found to work correctly in FF and IE6. Other browsers not tested.

#8136 Pasting numbered list with a different start value and style not working properly confirmed Bug Normal
Description

To reproduce the defect:

Copy the list from attached word doc and paste in to editor.

keep cursor at end of first list item and press Enter.

Expected Result: A new list item is created and numbers for each list item are changed accordingly.

Actual Result: A new list item is created but numbers in the list item are not changed accordingly and when we press enter next to each pasted list item it is creating a separate list.

#8137 IE: Toolbar combos don't open on second click on modal dialogs confirmed Bug Normal
Description

Hi,

We have bought CKEditor last year and now wants to upgrade.

My developer has tested the CK Editor 3.5.3.0 and found a problem that is irritating. He was not able to find its solution on your website either. Please find his text below and attached sample project related to the problem.

Developer Message: “I’ve tested the CK Editor 3.5.3.0 in my sample project. It has the problem when we use the CK Editor in the modal dialog page. The dropdowns (Format, Font and Styles) start flickering on second click. Please see the sample project developed in MS Visual Studio 2008 attached herewith the email. Please suggest the solution.”

Please let me know its solution as soon as possible so that we can decide to move forward with the upgrade.

I have a sample project too but dont know how to upload it through this interface. Please let me know if you want the sample project too and how i can send it to you.

Thanks,

Khurram Sheikh

Development Manager

Great Minds Software

Contact: 914 – 595 – 2577

#8138 Arrow keys stop working after hide-show cycle confirmed Bug Normal
Description

This bug is similar to http://dev.ckeditor.com/ticket/6788.

This happens when you use CKEditor in tab elements. After hide & show CKeditor I can't move cursor with arrow buttons.

To reproduce the bug go into online demo and type the following into your javascript console:

$('.demoInside').hide();
$('.demoInside').show();

Place your cursor and try to move left / right using the arrow keys.

Firefox 5 (Win7)

#8140 Preceeding newline lost when Alignment button is pressed in ENTER_BR confirmed Bug Normal
Description

I am seeing this in, at least, IE8 and FF3.6

  1. Enable ENTER_BR mode
  2. Type a few chars (or not, doesn't matter)
  3. Press "Enter" two times.
  4. Press "Align Left" or "Align Center" or "Align Right"

Note that the cursor jumps up one space, causing the loss of one of the newlines.

The cursor should not jump when an alignment button is used.

#8148 issue about sub-table confirmed Bug Normal
Description

it's an IE only issue. (i'm using IE8) It works in ff and chrome.

1.create a table 2.create a sub-table in a blank cell

you cannot input text in the cell any more. No space between the cell and subtable.

#8156 IE6: In RTL Preview for some special characters not showing properly confirmed Bug Normal
Description

To reproduce the defect:

  1. Open language sample and change language to Arabic or Hebrew and open Special Character dialog.
  1. Hover your mouse over the icons in last row(Arrows & diamond)

Issue: Preview box shows blank rectangle instead of correct character.

#8160 Text selection disappears when open dialogs confirmed Bug Normal
Description

Every single time I select some text, it becomes unlselected when using the paragraph formatting dropdown, changing text to a link, etc.

Firefox 3.6.17, 3.6.18 on CKEditor version: 3.54. CKEditor 3.5.4 (revision 6899)

Here is a demo showing you how link button is breaking: http://screencast.com/t/lvyePQDI9A

Here is a demo showing you how the paragraph formatting dropdown is breaking: http://screencast.com/t/wBo3O7aoj

You will see this is an exact replica of the issue here: http://dev.ckeditor.com/ticket/5780. I was told to create a new ticket for this issue.

#8162 File browser window size confirmed Bug Normal
Description

For some reason, the popup plugin makes it possible to open just winows 640x420 or larger. These defaults cannot be overridden in any way (other than editing the ckeditor.js file but that's a VERY dirty solution (and I'll have to do it whenever I want to upgrade editor). Could this be changed (or at least made adjustable in the config file)?

#8164 IE8: empty paragaphs not editable/visible in wysiwyg mode confirmed Bug Normal
Description

Empty paragraphs (<p></p><p>&nbsp;</p>) cannot be accessed and edited and are not even visible in IE8. config.fillEmptyBlocks has no effect on this behavior. FF/Chrome work just the way they are expected to.

#8186 If copied MS-Word text contains a text box, then text does not display correctly in the editor confirmed Bug Normal
Description

Environment: CK Editor 5.3.1 FireFox 3.5

Steps:

  1. Create MS-Word doc consisting of text box containing some text in it
  2. Copy the text from that doc including the text box.
  3. Paste the text in ck editor.

Actual Result: The text does not display correctly in the editor.

#8189 Empty [link] tag causes content and structure loss confirmed Bug Normal
Description

In the demo or nightly demo, go into source view, delete existing HTML, and paste in the following:

<table> <tr> <td> Left cell</td> <td> <p>First paragraph.</p> <p>Second paragraph, with an empty link tag in it <link />.</p> <p>Third paragraph.</p> </td> <td>Right cell</td> </tr> </table>

Switch to WYSIWYG view. The table, row, and cells are gone, as is the content for the left cell and the first 2 paragraphs of the center cell. I've gotten this result on the latest versions of Opera, Firefox, Chrome, IE, and Safari (all on Windows).

This is skeleton HTML for what we've seen from several of our clients. The empty <link /> tag is the problem - everything is fine if you remove that. I know that shouldn't be there but we have clients who are getting it by copying and pasting content from web pages that already have it in them. One source of this content was Up!CMS. Browsers correctly handle the empty link tag, but CKEditor goes a bit nuts with it.

#8191 No API to get all selected values of Select UIElement (multiple select list) confirmed New Feature Normal
Description

I have a custom dialog where I have select UI element with attribute multiple set to 'multiple'. Now there is no way (or any documentation) to retrieve all (multiple) selected values of this 'Select' element. Please let me know how to retrieve the multiple selected values of 'Select'.

For example :

type:'select', id:'selected_attr', label:'Attribute', multiple:'multiple', style:'width:220px', items:loadAttributes()

var selectObj = this.getContentElement('info','selected_attr');

selectObj.getValue() is returning me always the first selected item, but not all selected values.

#8198 custom smileys in config.js causing errors? confirmed Bug Normal
Description

I added the following to my config.js file:

config.smiley_path='/images/emoticons/';

config.smiley_images=['smiley.gif','teeth.gif','greed.gif','laugh.gif','wink.gif'];

config.smiley_descriptions=[':)',':D','$$-)',':lol:',';)'];

Everything shows up correctly in the Insert a Smiley dialog box, and when I click one the image is inserted, but if I click to view "Source" or try to submit the form I get the following error:

TypeError: Result of expression 'C' [undefined] is not an object.

I've tried it on Safari and Firefox using the nightly build, and it does the same thing.

#8201 Deleting first character of misspelled word deletes entire word (in Chrome) confirmed Bug Normal
Description

The summary says it all. Position the cursor on the first letter of a misspelled word (with spell-checking turned on), hit delete, and the entire word gets deleted.

This behavior occurs in Chrome (version 12.0.742.122). IE 9, Firefox, and Safari.

#8205 IE: using Undo after Unlink moving cursor to start of document in editor confirmed Bug Normal
Description

To reproduce the defect:

  1. Type some paragraphs of text and insert a link using link dialog.
  1. Keep cursor inside the link and click on Unlink icon or open context menu menu and click on Unlink option.
  1. Link inserted in step 1 is removed and cursor stays at the same paragraph where we have the link before.
  1. Press Undo icon in the Tool bar or use Ctrl + Z

Expected Result: Link that was removed comes back and cursor stays inside the link.

Actual Result: Link that was removed comes back but cursor moves to start of document in editor body.

This will be huge inconvenience to the user if document has large number of paragraphs.

#8218 Preselect color dialog to the current color (or bg color) of the selected text. confirmed New Feature Normal
Description

When opening the color dialog, highlight (with a border?) the color of the currently selected text, if it's in the default palette. In the "More Colors" dialog, default the input box to the hex code of the active color (or bg color). If multiple colors are present in the selected text, use the first one encountered?

Sorry if this is a duplicate request, but I didn't find it in my ticket searches.

#8230 Problem with Google minify confirmed Bug Normal
Description

_source/plugins/listblock/plugin.js line 102

' aria-posinset="' + ++this._.size + '">',

When this line is compressed by Google's ModPageSpeed minify script, the result is:

' aria-posinset="'+++this._.size+'">',

While this is an issue with the Google tool, it is widespread and can easily be avoided if the code is changed to:

' aria-posinset="' + (++this._.size) + '">',

Please consider this suggestion.

#8237 CK Editor doesn't support translation of keystroke names confirmed Bug Normal
Description

To reproduce the defect:

Open Language sample and change language to Arabic or Hebrew.

Open Accessibility Instructions dialog by pressing Alt + 0.

Look for the Toolbar Collapse command it will still show ALT+SUBTRACT

#8243 CKEDITOR assumes basepath will include protocol confirmed Bug Normal
Description

As far as client side resources are concerned, a Django 1.3 project can describe two important context variables :

  1. STATIC_URL : This is where we access all files that aren't generated by server side logic and are required by the interface clientside logic or appearance.
  1. MEDIA_URL This is where all resources for client side usage that were uploaded by users is accessed.

keeping site theme files separate from user uploads means we can host them from different domains (usually subdomains of the root)

something.org static.something.org files.something.org

So now onto the problem I'm having with CKEditor :

I define my STATIC_URL and MEDIA_URL like so :

something.org files.something.org static.something.org

What this does for me is reduce the amount of HTTPS <> HTTP wrangling behind the scenes.

However, CKeditor fails to load for me becuase you're codebase assumes the BASE_PATH for ckeditor will explicitly be prefixed by a protocol. Sure i can change the STATIC_URL and MEDIA_URL to :

http://something.org http://files.something.org http://static.something.org

but now keeping the site secure and preventing session cookie bleed-over is a great deal more difficult.

tl;dr : Don't make assumptions about the URL from which you load ckeditor.


Please see comment:5 for short description of problem that user is getting in editor.

#8257 Adding support for css-classes in tableCell dialog confirmed New Feature Normal
Description

This patch adds support for css-classes for ckeditor 3.6.1 and 3.6.2

I attached a patch and the whole file.

#8267 protectedSource is removed when it is the only source confirmed Bug Normal
Description

If a tag matches an item in the protectedSource regular expression and it is the only content, then it is removed when switching to WYSIWYG mode and back to Source mode.

Steps to reproduce:

  1. Create a CKEditor using the following configuration:
    var config = {
                    protectedSource: [/<photo[0-9]+>/gi],
                    startupMode: 'source'
                };
    
  2. Enter the text <photo1> into CKEditor.
  3. Click the "Source" button to switch to WYSIWYG mode and click "Source" again to switch back to source mode

Expected Result:

  1. CKEditor contains the content <photo1>

Actual Result:

  1. CKEditor content is empty
#8271 CKEditor toolbar becomes invisible when using Tab key and Maximize toolbar button confirmed Bug Normal
Description

CKEditor toolbar becomes invisible when using Tab key and the Maximize toolbar button. Please follow the steps in the attached filed to reproduce the issue. This bug also happen in the CKEditor demo site of 3.6.1 version and nightly build.

#8273 Pasting into empty bullet doesn't behave as expected - FF/IE9 confirmed Bug Normal
Description

Steps to reproduce

  1. Goto ckeditor.com/demo
  2. Create three lines with the word, 'Item'
  3. Select the lines and turn them in to an unordered list
  4. Move to the first item, and press enter to create a new empty item.
  5. Left click to place your cursor in the empty bullet.
  6. Right click on the empty bullet and paste.

What's expected? The text is pasted in to the empty bullet

What happens?

In FF4/5 The bullet gets deleted and a new paragraph is created with the text.

In IE9 The text is pasted at the end of the content.

#8278 Opera: In Table dialog values for rows & columns not shown in Rows & Columns fields confirmed Bug Normal
Description

To reproduce the defect:

  1. Open any CK Editor sample and insert a table with default values(3 rows & 2 columns)
  1. Open Context menu inside a table cell and bring up the Table dialog.

Expected Result: Table dialog comes up and it shows value 3 for Rows & 2 for Columns

Actual Result: Table dialog comes up and it's not showing any values and Rows & Columns fields are completely disabled.

#8280 big amount of invalid content slows down SCAYT (chrome) confirmed Bug Normal
Description

With the SCAYT spellchecker enabled in documents with lots of incorrect words slows down the ckeditor, namely with adding newlines. This can cause a long browser freeze when forwarding/replying e-mails with 'invalid' content (different language, error logs, etc), where you still want the spellchecker enabled for componsing and checking your own content.

To reproduce:

  • place some lines of incorrect words, f.e.:

sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdfsdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdfsdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf

  • add some newlines by pressing ENTER 5 times followed by some characters. Repeat this step shortly after doing this for a greater effect.

It takes a couple of seconds to process it, in the mean time window freezes and you can't do anything.

It seems to occur mainly in chrome. In FF en IE9 the problem is present, but less dramatic.

Tested on an Intel Core i 3.4GHz, Windows 7

#8281 Internet Explorer 7.x crashes when changing an item from a bulleted list into numbered list confirmed Bug Normal
Description

Steps to recreate:

  • Make a numbered list
  • highlight one or several lines within the numbered list (make sure that the first or last line of the list is not highlighted)
  • try to change these lines from nubered list to 'bulleted' list
  • Internet Explorer will crash

(works vice versa too)

This issue only occurs until IE7.x it does not occur with other browsers or IE version higer than 8.0 For our company it is vital to use CKEdit with IE7.x as our clinical information system is not validated for IE versions higher than IE7.x

#8288 Internet Explorer will not run blank javascript function as per documentation confirmed Bug Normal
Description

As per: http://docs.cksource.com/CKEditor_3.x/Developers_Guide/File_Browser_%28Uploader%29/Custom_File_Browser#Example_4

Example 4 works fine in all browsers I have tested except IE. Both IE 8 and 9 will not run the additional javascript called, returning only the URL of the image.

#8306 FF : Custom attributes on links dropped during copy/paste confirmed Bug Normal
Description

Custom attributes on anchor tags are being dropped during copy/paste (Ctrl+C/Ctrl+V).

Steps to reproduce:

  1. In Source mode, modify a standard link by adding a custom attribute (e.g. <a href="/index.htm" customAttribute="1">test</a>.)
  2. Switch out of source mode.
  3. Copy (Ctrl+C) the linked text.
  4. Paste (Ctrl+V) on a new line.
  5. Switch back to Source mode, and see that customAttribute="1" was not pasted.

Occurs on the demo page with the following environments:

  • Browser: FF6 OS: Windows Vista, Windows 7
  • Browser: FF5 OS: Mac
  • Browser: FF3 OS: Windows Vista
#8307 [iOS] Maximize is broken confirmed Bug Nice to have (we want to work on it)
Description

When Maximizing, the editor toolbar go out of the viewport boundaries, making it impossible to use the editor and restore the size to use the page.

#8322 [IE] Performance problems with nested documents confirmed Bug Normal
Description

This problem was raised by a customer using Outlook to copy and paste content into CKEditor.

When the content is pasted (or set using the source edit mode),

we are getting a stack over flow error in IE6.

IE7,IE8 Browser stopped responding when we paste the data or set the data in source and navigate to rich text view.

This issue should be fixed in ticket #8246 which was closed so we are logging this new ticket to track the issue

#8323 FF 4: In HC mode, No Visual Focus when we tab to Check boxes & Combo boxes on all the dialogs confirmed Bug Normal
Description

To reproduce the defect:

  1. In High contrast mode, open any CK Editor sample and click on Flash icon in the Tool bar to activate Flash Properties dialog.
  1. When Flash dialog is opened tab through each element to see if the focus is shown properly for all the elements when we are tabbing through them

Focus not shown when we tab through Check boxes and combo boxes on Properties tab of Flash Properties dialog.

Same issue happens with check boxes and combo boxes on all dialogs ( For ex: Find,Link, Table, Image, IFrame)

This issue should be fixed in ticket #6200 which was closed so we are logging this new ticket to track the issue

#8325 Error Message not displayed when we enter invalid CSS in Styles field confirmed Bug Normal
Description

On all dialogs that provide an advanced tab, the user can specify CSS styling through the Styles field. However this field is not validated when user enters inValid CSS & clicks OK. Therefore they can enter fake values and it looks to the user that they are accepted.

To reproduce:

  1. Open the Table dialog.
  2. On the advanced tab, if the user enters a name value pair that is not valid css (e.g. myFakeAttribute: 200px)
  3. Click OK.

Expected Result: An error warning should occur indicating that the user has entered inCalid css

Problem: There is no error warning that the value entered is inValid CSS. However when the dialog is opened again, Styles field is now empty. The user has not been told that their content is invalid so they have no idea why their content has been removed. This would also occur if the user accidentally mis-spelled a CSS attribute name e.g. widtth: 100px. This is not reported as invalid, but it is removed from the Styles field on the dialog.

Is there anyway to use the same validation that removes these entries from the Styles field, to also alert the user to invalid content when they click OK on the dialog? Do you know at what point the invalid entries get removed from the Styles field? Is this something CKEditor has control over or is it due to the browser?

This issue originally reported in ticket #8124 which is fixed in 3.6.2 but the issues mentioned in ticket #8124 still exists so we are logging this new ticket to track the issue

#8331 Ability to ignore "Confirm Cancel"-warning on dialogs confirmed New Feature Normal
Description

If changes have been made to a dialog and the cancel button is pressed an annoying "Confirm Cancel" warning is displayed. It would be nice to toggle weather you want this warning or not.

The new "on cancel event" on the dialog will look like:

this.on( 'cancel', function( evt ) {
  if (!editor.config.ignoreConfirmCancel)
    iterContents( function( item ) {
      if ( item.isChanged() ) {
        if ( !confirm( editor.lang.common.confirmCancel ) )
          evt.data.hide = false;
        return true;
      }
    });
}, this, null, 0 );

The only line added is:

if (!editor.config.ignoreConfirmCancel)

which is in line 323 of the plugin.js in the dialog folder. This is just before the iterContents( function( item )... is called - thus ignoring this check if the ignoreConfirmCancel is set in the editors config.

In order to toggle the warning add the following line to the editors config:

config.ignoreConfirmCancel = true;
#8332 Chrome : link not inserted in correct position when we make a selection for the first time. confirmed Bug Normal
Description

To reproduce the defect:

  1. Open Ajax sample, click on bold icon, type some text( for ex: frederico knabben ck editor)
  1. select knab in the word knabben and click on Link icon
  1. Enter URL in the link dialog and click OK button.

Expected Result: Link inserted with a name knab for the letters in the word knabben

Actual Result: Link inserted at the beginning of paragraph

Only happens when we open the sample,make a selection for the first time, selection should be part of a word and text in paragraph has some styling applied(for ex; bold,italic,font name or font size)

#8334 Strange behaviour, missing line confirmed Bug Normal
Description

when i do the following stpes, one of lines will be missed.

  1. type: 11111111
  2. press shift+enter
  3. press shift+enter
  4. press enter
  5. type: 222222222
  6. copy all content
  7. paste

there are 2 lines instead of 3. . one of the line missed. . .

i am want to know what kind of logic do ckeditor deal with <br> and <p> so that i can do some work around.

#8335 javascript error regularly in this situation confirmed Bug Normal
Description

reproduce as below:

  1. type three lines
  2. first line bold,
  3. second line italic,
  4. third line underline,
  5. copy all of them, paste at the end of third line,
  6. after several pasted, unexpected empty paragraph appeared.
  7. type something in this empty paragraph,
  8. after typed, try to bold, italic or underline,
  9. it doesn't work and after several pressing or hotkey about bold, italic and underline.
  10. javascript error shows "null" is null or not an object, line 116, char: 2337.

IE8, Windows XP sp3 Ckeditor3.6.1, javascript

#8338 Opera: link not inserted in correct position when we have image before cursor position (CORE-14592) confirmed Bug Normal
Description

To reproduce the defect:

  1. Open any CK Editor sample, type some text, insert a smiley or image and click on Link icon in the tool bar to open Link dialog.
  1. Enter the URL for the link and click OK button.

Expected Result: Link inserted after the smiley/Image

Actual Result: Link not inserted before the smiley/Image

#8355 ASP.Net WebPages (Razor) Helper confirmed New Feature Normal
Description

I've used CKEditor for various projects and was thinking it would be nice to have a "Helper" for ASP.Net WebPages (Razor).

Here's an article I found where CKEditor was implemented for MVC3.

It would be preferable to make it a general helper for ASP.Net WebPages rather than aimed specifically at MVC3.

Regards,

Micah

#8358 Safari & Chrome : Paste options are enabled & Paste option shown in context menu when Clipboard is empty confirmed Bug Normal
Description

To reproduce the defect:

Clear your clipboard, Open any CK Editor sample, keep cursor in editor body.

Expected Result: All the Paste(Paste,Paste as plain text,Paste from Word) toolbar icons should be disabled and also when we invoke context menu there should not be any options in context menu.

Actul Result: All the Paste(Paste,Paste as plain text,Paste from Word) toolbar icons are enabled & also when we invoke context menu paste option is shown in context menu.

#8365 List item breakage in IE8 confirmed Bug Normal
Description

Test environment, IE8 - Windows Vista (Problem does not occur on Windows 7)

After moving an existing list item down, and deleting that move, the list item does not correctly return to it's original position.

Steps to reproduce:

  1. Access ckeditor.com/demo
  2. Create three paragraphs, and turn them in to list items.
    • Item 1
    • Item 2
    • Item 3
  3. Place your cursor before Item 2, and press the enter key. This will create an empty item between Item 1 and Item 2. You should have four total items, with one empty one.
    • Item 1

    • Item 2
    • Item 3
  4. Again place your cursor before Item 2, and press the backspace key 2 times. The bullet for Item 2 is removed, and Item 2 is placed below the empty item.
    • Item 1

    • Item 2
    • Item 3

It seems that this process will orphan the Item 2 text outside of an LI tag. If you look at the editor source, you will see...

<ul>

<li>

Item 1</li>

<li>

&nbsp;</li>

Item 2 <li>

Item 3</li>

</ul>

Ideally this will behave as it does on Windows 7 IE 8. In that environment Item 2 will merge back in to the empty item.

#8375 onfocus: Input text selection not cleared in Chrome confirmed Bug Normal
Description

This problem only happens on Google Chrome.

I have a ckeditor on a page that also contains one or more input text fields. If I type something and select/highlight the words in one of the input text field, then click inside the ckeditor, you will notice the selection/highlight of the input text field is not cleared.

You can reproduce this behavior by going to ckeditor demo page (http://ckeditor.com/demo) using Google Chrome browser, type and select "ABC" in the "Search..." box, then click inside the ckeditor so it has the focus. You will see that "ABC" is still selected/highlighted.

#8378 Support for optgroup confirmed New Feature Normal
Description

For a better overview I want to have the optgroup element for select in one of my plugins.

#8382 [IE] PageUp and PageDown not working confirmed Bug Normal
Description

To reproduce the defect:

  1. Enter content in CK Editor that spans multiple pages.
  1. Press PageUp button.

Expected Result: Cursor in editor body moves one page up.

Actual Result: Cursor goes to start of page content.

  1. Press PageDown button.

Expected Result: Cursor in editor body moves one page down.

Actual Result: Cursor goes to end of page content.

Tested against IE8, IE9 & IE10

#8385 Problem when switching between multiple instances of ckeditor confirmed Bug Normal
Description

Script error is displayed when switching between multiple instances of ckeditor in IE7.

Steps to reproduce: 1.create multiple ck-editor instances 2.click on the other ckeditor instances other than the current one in focus.

Expected Result: Editor should be displayed Actual Result: Script error is displayed

"C.getSelection() is null or not an object"

#8386 IE: When copying and pasting a table, an empty <p> is appended on output confirmed Bug Normal
Description

Steps to reproduce:

  1. Open CKEDITOR.
  2. Create a table.
  3. Highlight the table with "Select All" button and click "Copy" icon.
  4. Click "New Page" icon.
  5. Click "Paste" icon.
  6. Click "Source" -> HTML source is displayed, there is "<p> &nbsp;</p>".
  7. Click "Source" -> HTML page is displayed, line break is inserted before the table.

Bug is present since 3.4.2 i believe.

#8388 CTRL-V Paste with Opera going to top of editor confirmed Bug Normal
Description

Seems that this bug is so obvious that it should already be reported but I did not find anything with "opera" and "paste".

Tested at: http://nightly.ckeditor.com/7282/_samples/enterkey.html

First, copy some text so that when you use CTRL+V, you can paste it. I used "text" to paste with CTRL+V. Using ENTER_P mode, enter the following text using Shift+enter or using ENTER_BR mode (what we use).

a
b
c

Place you cursor after the "c", press CTRL+V. Note that it works properly.

a
b
ctext

Now move the cursor to after "b" and press CTRL+V. Note that the text gets pasted at the top of the editor.

Get:

texta
b
ctext

Should be:

a
btext
ctext

Same thing happens if you move the cursor to after the "a".

#8402 SSI-style HTML comments inside href attributes are broken when Source button is clicked confirmed Bug Normal
Description

SSI-style HTML comments such as <!--#echo var='DOCUMENT_NAME' --> become broken when the Source button is clicked.

Example:

Using the CKEditor demo site, click the Source button and add that comment to the first link:

<a href="http://en.wikipedia.org/wiki/Fairy_tale/<!--#echo var='DOCUMENT_NAME' -->" title="Fairy tale">fairy tale</a>

Then click Source to view the content in the normal editor mode. When you click Source again, the link becomes this:

<a href="http://en.wikipedia.org/wiki/Fairy_tale/{C}<!--#echo var='DOCUMENT_NAME' -->" title="Fairy tale">fairy tale</a>

Note the {C} that has been added. In fact, every time the source is viewed, another {C} is added:

<a href="http://en.wikipedia.org/wiki/Fairy_tale/{C}{C}<!--#echo var='DOCUMENT_NAME' -->" title="Fairy tale">fairy tale</a>
<a href="http://en.wikipedia.org/wiki/Fairy_tale/{C}{C}{C}<!--#echo var='DOCUMENT_NAME' -->" title="Fairy tale">fairy tale</a>

and so on.

#8406 StyleSheetParser and Fullpage confirmed New Feature Normal
Description

Currently if FullPage=true then no style sheets are loaded via ContentsCss and hence the styles drop down isn't populated with the styles available for the page.

Ideally the stylesheetparser should load all the external styles sheets referenced in the html if fullpage=true

#8411 Losing formatting on backspace confirmed Bug Normal
Description

No special setup, can be seen on sample files that come with the download.

  • Open one of the demos
  • Delete the default demo text
  • Type any text
  • Hit Return a few times to allow some space
  • Type some more text and give it formatting "Heading X"
  • Go to the beginning of the line
  • Hit backspace
  • The line with "Heading X" format is back to normal
#8412 Opera: insertElement() not working as expected for inline elements confirmed Bug Normal
Description

When inserting multiple elements into the editor in Opera, the elements are sometimes added in the incorrect order. This only seems to occur when one of the elements being added is an inline element.

To reproduce:

  1. Save the attached file into the _samples directory and open it in Opera.
  2. Click the 'Insert Elements' button. This should add an empty image to the editor, followed by a paragraph of text.

Problem: The Paragraph of text is sometimes added to the editor before the image.

This problem only occurs when inserting elements into an empty editor and it occurs roughly every 2nd time.

The attached sample uses the following code:

temp.setHtml('<img src=""/><p>Text goes here</p>');

However if the img tag is replaced by other inline elements like <span> or <a>, the problem also occurs. We cannot reproduce the issue when using block level elements like <p> or <div> instead of the <img> tag though.

#8426 Strings for specialchar plugin added directly to editor.lang instead of editor.lang.specialChar confirmed Bug Normal
Description

The strings for the special characters dialog are available directly on the editor.lang object when the editor is loaded in a new language. They should be inside the editor.lang.specialChar object.

To Reproduce:

  1. Add the attached fr.js (pseudo translation file) to the specialchar/lang directory and change the value of availableLangs in specialchar\plugin.js to:
availableLangs : { en:1, fr:1 },
  1. Open ui_languages.html in a browser.
  2. Click into the editor and open the special characters dialog. Close the dialog.
  3. Inspect the editor.lang object in the DOM. editor.lang.specialChar will contain all the strings for the specialchar plugin.
  4. Now change the language to French and inspect the editor.lang object in the DOM again.

Problem: All the strings for the specialchars plugin are now available directly on the editor.lang object. Note that these are the strings in English. When the special characters dialog is opened again, the editor.lang.specialChar object is correctly updated with the pseudo French strings.

specialchar\plugin.js does extend the editor.lang.specialChar object with the string values.

CKEDITOR.tools.extend( editor.lang.specialChar, plugin.langEntries[ langCode ] );

However the CKEDITOR.plugins.load function in core\editor.js always extends the editor.lang object.

CKEDITOR.tools.extend( editor.lang, plugin.langEntries[ lang ] );

This works correctly for the a11yhelp plugin because the strings in a11yhelp\lang\xx.js are specified within the accessibilityHelp group. Perhaps the special characters lang files also need to group the strings like this?

#8428 Copyright header missing from specialchar\lang\en.js confirmed Bug Normal
Description

The specialchar\lang\en.js file does not contain any copyright information in the 3.6.2 release.

#8441 Selection not updating when moving from left -> right confirmed Bug Normal
Description

The editor.on( 'selectionChange' ) is not called when text is selected with the mouse moving from left to right when using Chrome v14.0.

This can be veryfied in the nightly build: http://nightly.ckeditor.com/7293/_samples/replacebyclass.html

In order to replicate the bug place the cursor in between the bold text "sample text" and the link "CKEditor". Now drag the selection towards the left. Notice how the enabling of the bold action-button in the toolbar shifts to TRISTATE_ON and then to TRISTATE_OFF when past the bold text.

If the same is done from left to right (starting with the cursor to the left of the bold text and then dragging the selection towards the right then the bold action-button is not affected?!?

#8445 dialog.getSelectedElement() returns wrong element when element selected is within a table for 3.6.2, Firefox confirmed Bug Normal
Description

Observable for instance for a single image inside a table cell. The bug seems to be caused by the selected element being set to be the containing table element even though for instance the double-click event does get the correct element passed as its .data.element.

For a document containing something like (only):

<table>
	<tbody>
		<tr>
			<td>
				<img alt="Silva.jpg" src="/images/Silva.jpg" style="width: 100px; height: 133px;" /></td>
		</tr>
	</tbody>
</table>

reproduce the bug by double-clicking on the image. The image dialog opens, but is not initialized with the image data.

In general,

  1. right-clicking the image will not show the image context-menu;
  2. double-clicking the image will open the image dialog, but will not initialize the dialog correctly;
  3. clicking the image toolbar icon with the image selected will open the image dialog but uninitialized.
  4. Please also note that when you click on image - the elements path shows only body table. If you will try to click on border you will get body table tbody tr td. It is not possible to get img element there.
#8446 IE8 - Unable to place cursor after image confirmed Bug Normal
Description

Go to CKE demo. Ctrl-A/Ctrl-X Insert an image. Click on the image. Now attempt to place the cursor after the image to the right or bottom. You are unable to, and at this point, one cannot add anything after the image.

The same thing happens for iframes which uses image fake element.

#8448 CSS errors in FF 7.01 using CKEditor 3.6.2 confirmed Bug Normal
Description

There are som CSS problems when using CKEditor with FireFox 7.01. I use CKEditor 3.6.2. I don't have an english version of FF - so my FF errors are in Danish:

[12:03:41.373] Forventede farve, men fandt 'auto'.  Forventede farve, men fandt '-webkit-focus-ring-color'.  Forventede 'end of value' men fandt '-webkit-focus-ring-color'.  Fejl i fortolkningen af værdien for 'outline'.  Erklæring droppet. @ http://localhost/components/ckeditor/_source/skins/kama/mainui.css:100
[12:03:41.379] Fejl i fortolkningen af værdien for 'filter'.  Erklæring droppet. @ http://localhost/components/ckeditor/_source/skins/kama/toolbar.css:149
[12:03:41.453] Fejl i fortolkningen af værdien for 'filter'.  Erklæring droppet. @ http://localhost/components/ckeditor/_source/skins/kama/menu.css:55
[12:03:41.511] Fejl i fortolkningen af værdien for 'filter'.  Erklæring droppet. @ http://localhost/components/ckeditor/_source/skins/kama/richcombo.css:65

But all in all the "filter" declaration is a problem - it cannot interpret the value - so the error reads: "declaration dropped"...(toolbar.css line 149, menu.css line 55 and richcombo.css line 65)

Also the interpretation of the value for "outline" doesn't work. Here it expects to find a color but finds: 'auto' or '-webkit-focus-ring-color'... (mainui.css line 100)

It is quite annoying that these messages fill up when you are debugging

#8453 Linebreak after image in Opera brings image down confirmed Bug Normal
Description
  1. Enter some text on one line.
  2. Insert a smilie at the end of the text.
  3. Move caret after the smilies.
  4. Press Enter.

Image is brought down to the next line. Happens with ENTER_BR and ENTER_P

#8458 Ctrl + B can't work in this situation and javascript error is prompted confirmed Bug Normal
Description

I've tried on both ckeditor3.6.1, 3.6.2 demo page and the api.html example downloaded from the webpage. below steps can reproduce the bug - use the api.html page for testing:

  1. Type several lines in the input area.
  2. e.g.

line 1
line 2
line 3
line 4

  1. Select All or Ctrl + A
  2. Ctrl + B to bold them all
  3. press enter several new line at the beginning of the passage, that's mean below in source view:
    <p>
    	&nbsp;</p>
    <p>
    	&nbsp;</p>
    <p>
    	&nbsp;</p>
    <p>
    	<strong>line 1</strong></p>
    <p>
    	<strong>line 2</strong></p>
    <p>
    	<strong>line 3</strong></p>
    <p>
    	<strong>line 4</strong></p>
    
  4. Copy the text inside the "insert Text" box in api.html page, that's mean:

" First line with some leading whitespaces.

Second line of text preceded by two line breaks."

  1. paste the copied content in front of the bolded first line. After pasted the passage should be like this:
    <p>
    	&nbsp;</p>
    <p>
    	&nbsp;</p>
    <p>
    	&nbsp;</p>
    <p>
    	<strong><strong>&nbsp;&nbsp; First line with some leading whitespaces.</strong></strong></p>
    <p>
    	<strong><strong>Second line of text preceded by two line breaks.</strong></strong></p>
    <p>
    	<strong>line 1</strong></p>
    <p>
    	<strong>line 2</strong></p>
    <p>
    	<strong>line 3</strong></p>
    <p>
    	<strong>line 4</strong></p>
    
  1. select content from ^with'' to..... line 2^, so several lines are selected.
  1. now press Ctrl + B for several times, javascript error prompted with the following message:

message: 'null' is null or not an object line: 32 character: 544 source code: 0

  1. if no javascript error prompted, try to select several lines again, the most important thing is to select the text across the pasted content from insertText textarea to the middle of the rest passage. And then press Ctrl+B
  1. ctrl+b would n't work and javascript error prompted eventually.

ps: Platform - windows XP sp3 Browsers - IE8 version - ckeditor3.6.1, 3.6.2

NOTES:

  1. line number and character of the javascript error in step 9 changed sometimes
  2. during the reproduce process, don't switch to source mode.
  3. for text only contain one line to be pasted in step 6, may not got the same problem
#8466 Customized filebrowser button is not open dialog for file selection confirmed Bug Normal
Description

System configuration:

  • Mac OS X Lion (10.7.2)
  • Safari 5.1.1 (7534.51.22) OR Firefox 7.0.1 OR Google Schrome 14.0.835.202 (ALL AFFECTED)
  • CKEditor 3.6.2 OR CKEditor NightyBuild (BOTH AFFECTED)

1) Open _samples/fullpage.html

2) On line 64, after:

CKEDITOR.replace( 'editor1',
        {
                fullPage : true,
                extraPlugins : 'docprops'
        });

Add following code for customizing Insert Image dialog:

CKEDITOR.on('dialogDefinition', function(ev)
{
        var dialogName = ev.data.name;
        var dialogDefinition = ev.data.definition;
        var editor = ev.editor;

        if (dialogName == 'image') 
        {
                var linkTab = dialogDefinition.getContents('Link');
                var browse = linkTab.get('browse');
                var hbox = 
                {
                        id : 'hboxBrowseButtons',
                        type : 'hbox',
                        padding: 2,
                        children :
                        [
                                browse,
                                {
                                        type : 'button',
                                        label : 'Select from site documents',
                                        id : 'site_documents',
                                        filebrowser :
                                        {
                                                action : 'Browse',
                                                target : 'Link:txtUrl',
                                                url : '/some/documents/browser/url'
                                        }
                                }
                        ]
                };

                linkTab.remove('browse');
                linkTab.add(hbox, 'cmbTarget');
        }
});                                     

3) Save it and load _samples/fullpage.html in browser.

4) Click "Insert Image" button, click "Link" tab and then click "Select from site documents" button - and it DO NOTHING and no errors reporting by browser!

But if I then edit _samples/fullpage.html on line 10 and replace

	<script type="text/javascript" src="../ckeditor.js"></script>

with

	<script type="text/javascript" src="../ckeditor_source.js"></script>

and repeat steps 3 and 4, then ALL working fine!

What is the bug?

#8467 <p> belongs with <br> at the end of list cause javascript error - nodeValue.length is null confirmed Bug Normal
Description

Below steps can reproduce the error.

  1. Paste the following content
<ul>
	<li>
		11111111111</li>
	<li>
		22222222222</li>
	<li>
		3333333333333</li>
</ul>
<p>
	<br />
	abcdefg</p>

  1. put the cursor position at the last line, e.g. cursor between d and e
  1. press left arrow key to walk through several lines from last line to the unordered list.
  1. javascript error occurs once the cursor position hit the unordered list content.

ps: the pattern unordered list + <p><br> causes this nodeValue.length error.

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