Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (901 - 1000 of 2591)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Ticket Summary Status Owner Type Priority Milestone
#8666 Wrong rowspan after vertically splitting and merging back cells confirmed Bug Normal
Description

Add a table using the default options:

<table border="1" cellpadding="1" cellspacing="1" style="width: 500px">
	<tbody>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
	</tbody>
</table>
<p>
	&nbsp;</p>

The split the first cell vertically (starting from CKEditor 4.5.0 Horizontally - #8024):

<table border="1" cellpadding="1" cellspacing="1" style="width: 500px">
	<tbody>
		<tr>
			<td>
				&nbsp;</td>
			<td rowspan="2">
				&nbsp;</td>
		</tr>
		<tr>
			<td>
				&nbsp;</td>
		</tr>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
	</tbody>
</table>
<p>
	&nbsp;</p>

Then merge the first cell down:

<table border="1" cellpadding="1" cellspacing="1" style="width: 500px">
	<tbody>
		<tr>
			<td rowspan="2">
				&nbsp;</td>
			<td rowspan="2">
				&nbsp;</td>
		</tr>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
	</tbody>
</table>
<p>
	&nbsp;</p>

It should revert to the original layout, i.e. the first set of html pasted, but instead the first row ends up with four table cells, and the second row ends up with just two.

#8667 [Webkit] Enter works incorrectly into PRE blocks confirmed Bug Normal
Description
  • Open editor and clear all content
  • Apply Formatted paragraph format
  • Type some chars and hit Shift+Enter or Enter


Outcome: cursor jumps to the start of the current line and new line is added before this one.

#8669 Chrome, Line breaking when font size is changed confirmed Bug Normal
Description

Chrome Reproducible steps:

  1. Open editor
  2. Write something
  3. Change fontsize
  4. Keep typing
  5. Change colour
  6. Type more
  7. Change background colour
  8. Type more
  9. Press enter

Expected: Text with different font sizes are kept on same line. Actual: The text from point 7 and onwards is placed on new line

#8670 dom.node#getAddress returns different addresses for detached trees in IE7&8 than in normal browsers confirmed Bug Normal
Description

This test passes in browsers like Fx and Chrome, but fails in IE7&8.

var root = newElement( 'span' ),
	child1 = newElement( 'span' ),
	child2 = newElement( 'span' );

child1.appendTo( root );
child2.appendTo( root );

assert.isTrue( CKEDITOR.tools.arrayCompare( child2.getAddress(), [ 1 ] ) ); // in IE7&8 - [ 0, 1 ]
assert.isTrue( CKEDITOR.tools.arrayCompare( root.getAddress(), [ ] ) ); // in IE7&8 - [ 0 ]
#8677 cke_disabled class is not added to the span for a disabled dialog button confirmed Bug Normal
Description

The dialogui plugin defines a disable function for CKEDITOR.ui.dialog.button objects.

/**
 * Disables the button.
 * @example
 */
disable : function()
{
	this._.disabled = true;
	this.getElement().addClass( 'cke_disabled' );
},

This function adds the cke_disabled class to this.getElement() which corresponds to the a tag for the button. Therefore the a tag can be styled using this class when the button is disabled. However, the cke_disabled class is not added to the span tag which displays the label for the button (see the attached screen capture). Therefore, there is no way to style the text for disabled buttons.

The disable function should be updated to also add the cke_disabled class to the span tag. Perhaps doing something like this:

disable : function()
{
	this._.disabled = true;
	this.getElement().addClass( 'cke_disabled' );
	if(this.getElement().getChildCount() > 0 && this.getElement().getChild(0).getName() == 'span'){
		this.getElement().getChild(0).addClass('cke_disabled');
	}
},

The enable function would need to be updated accordingly to remove the cke_disabled class from the span when the button is enabled again.

#8686 Bold, Italic, Underline plugins not detecting formatting using style element confirmed Bug Normal
Description

I have a document which is using style elements for bold, italics and underlines. eg:<span style="font-weight:bold">bold</span><span style="text-decoration:underline">underline</span>. I am not able to undo the styles using 'bold' and 'Italic' plugins. The issue is also with other plugins like 'underline' and 'strike through'

#8690 Trim trailing whitespace when creating elements confirmed Bug Normal
Description

Under Windows, if I double-click on a word, the space after the word is also selected. If I then click on a button to add an underline, bold, link, etc. that trailing space will become underlined, part of the link, etc.

Normally, links, etc. should end at the end of the word.

Proposed solution: When creating a new element from a selection, trim trailing whitespace and re-add that space on the outside of the closing tag.

I tried to write a patch, but I am not familiar enough with the code base and was unable to find that place where new elements are created.

#8694 IE: copy/paste problem in pre tag confirmed Bug Normal
Description

Steps to reproduce :

  1. Go the ckeditor.com/demo , clear the content
  2. Go to Source view
  3. Paste or Type the following code:
    <pre>
    
    This is test number one
    
    This is test number two
    
    This is another test
    
    </pre>
    
  4. Go back to Design view
  5. Select word ^number^ on the first line, press Ctrl+C (copy)
  6. Select ^This^ on the second line , press Ctrl+V (overwriting 'This' with 'number')

Expected behavior:
The copied text should replace the contents ( 'This' should be replaced with 'number' )

Actual behavior:
Part of the original content is still visible.

Issue has been reproducible from CKEditor 3.1 in all versions of IE.

#8695 Reset fonts confirmed Bug Normal
Description
  1. All browsers
  2. Steps to reproduce:
  • choose font style ( "bold" for example)
  • type something
  • then press Enter twice
  • then move on the previous line, using mouse

Result: Bold font was reset Expected result: If any font style was chosen, it keeps still while typing. Screens are attached

#8705 [iOS] Caret (cursor) may not appear when typing is enabled new Bug Normal
Description

With iOS on iPad:

  1. Open the a page with CKEditor and other standard text fields (the API sample is ok for it).
  1. Tap inside a standard text field to enable editing on it.
  1. Tap inside CKEditor to enable editing on it.

Bug: Editing will be enabled in the editor (it's possible to type), but no caret will be displayed.

#8712 CKEditor.NET 3.6.1: ASP.NET MaintainScrollPositionOnPostback=true does not work for links after update panel if CKEditor is present on page review kaga Bug Normal
Description

In ASP.NET there is a page directive to enforce scroll position after (either full or partial) postback. Scroll position is wrong if postback is triggered by a link button that is located aftern an update panel and if there is a CKEditor.NET control on the page. If you remove the CKEditor.NET control, scroll position is correctly after postback.

To Reproduce, create web site with ckedior in subdirectory, reference to CKEDitor.NET control and create a srolltest.aspx page with the following content. Display the page, scroll to the botton of the page and hit the link. Postback will be done and scroll position is wrong after postback. Repeat the test after removing the CKEDITOR.NET control from the aspx and scroll position will be ok.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="scrolltest.aspx.cs" Inherits="scrolltest"
    MaintainScrollPositionOnPostback="true" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <h1>
        Scroll-Test</h1>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true">
    </asp:ScriptManager>
    <CKEditor:CKEditorControl ID="TextBox1" Text='y' runat="server" Width="800" PasteFromWordCleanupFile="true"
        PasteFromWordNumberedHeadingToList="True" PasteFromWordPromptCleanup="True" PasteFromWordRemoveFontStyles="True">
    </CKEditor:CKEditorControl>
     
        <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
        
        <asp:LinkButton ID="LinkButton1" runat="server">DoPostback 1</asp:LinkButton><br />
        <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
        <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
        <asp:LinkButton ID="LinkButton4" runat="server">psotback before upd-panel</asp:LinkButton>
        <asp:UpdatePanel ID="up" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <h2>
                    UpPanel</h2>
                <asp:LinkButton ID="LinkButton2" runat="server">Async Postback im Upd.Panel</asp:LinkButton>
            </ContentTemplate>
        </asp:UpdatePanel>
        <asp:LinkButton ID="LinkButton3" runat="server">DoPostback-after-up-panel 1</asp:LinkButton>
        <br /><br /><br /><br /><br /><br />
        
    </div>
    <h2>
        Kurz vor Ende Form</h2>
    <asp:LinkButton ID="lb" runat="server">DoPostback-after-up-panel 2</asp:LinkButton>
    </form>
    <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
    
</body>
</html>


Any help is greatly appreciated. Thanks.

#8715 Problems with changing text of a link - some unification is needed confirmed Bug Normal
Description

To reproduce:

  1. Open replacebycode sample
  2. Double click on link - a popup will open. Click OK on the popup. The link should be still selected. Another way to do it is to simply select the link with a mouse but there are some differences.
  3. Start typing to change text of a link

Expected Result:
New text gets linked.

Actual Result:

  • Webkit and Blink - Only first letter gets linked (CKEditor 3.0).
  • IE - text gets linked but till the first space (IMO this is correct)
  • Firefox - If you select the whole link with a mouse - text typed even with spaces will get linked. If you doule click on a link and start typing link will be lost. This is because #8195 bug.

There are definetely problems in Safari, Opera and Chrome which should be fixed. As for Firefox - it will probably hard to make it work as other browsers.

NOTE: There is also a feature request for adding new text filed "Link Text" in Link Dialog #7154. It may solve the above issues but when implementing this feature one should take this ticket into account.

#8716 Better indication of required fields confirmed Bug Normal
Description

Labels for all required fields on our dialogs should have an astrisk(*) and instructions for identifying required fields should be clearly labeled at the beginning of the form.

This is a failure of Accessibility Checkpoint 1.3.1

This is clearly documented in Examples of Success Criterion for 1.3.1

See links here.. http://www.w3.org/TR/2012/NOTE-UNDERSTANDING-WCAG20-20120103/content-structure-separation-programmatic.html

http://www.w3.org/TR/WCAG20-TECHS/H44.html

#8717 Mobile Safari - Cursor remains after switching between wysiwyg mode and text mode confirmed Bug Normal
Description
  1. Goto ckeditor.com/demo
  2. Tap on 'Little'
  3. Press the source button.
#8723 in chrome, span with class attribute removed when merging blocks on delete/backspace confirmed Bug Normal
Description
  • set the enter mode to P or DIV
  • set some style, for example bold to add span with class='bold'
  • clean all text from the edited area
  • press enter (<p><br></p> will be added)
  • switch to bold
  • write some text (you will have <p><br></p><p><span class='bold'>aa</span></p>)
  • go to the 1st line
  • press delete

the expected result is that you'll get <p><span class='bold'>aa</span></p>

but instead you get <p>aa</p>

I understand that this is a webkit bug, but unfortunately I guess that when they will fix the issue it will be with inline style instead of a class.. thanks

#8724 Draw a table with plug-in (one-click table) confirmed New Feature Normal
Description

Ticket REF: 7320-RYDC-2204

Would be nice to have a plug-in available to draw tables like in Office Word.

The Main advantage of using this way with standard height and width is, user may not be confused to insert the table. With the current plug-in have great and more features , but may leads to confuse the user also.

#8734 Chrome doesn’t recognize lists from MS Word 2010 confirmed Bug Normal
Description
  1. Open attached sample file
  2. Copy contents
  3. Paste it using CRTL+V or "paste from word" dialog

Result:
Unordered list is pasted as set of paragraphs.

This issue has been reproducible in Chrome only from CKEditor 3.0.

NOTE: In CKEditor 3.5.3 rev [6616] new handling of lists pasted from Word was introduced. From this revision CKEditor has started recognizing ordered lists in most cases.

The attached file list_test.docx contains working ordered list. There are however ways to insert baddly formatted ordered list:

  1. Please see list_test2.docx. I'm not sure what it depends on. In my test I have always started new document, indented elements before typing and one time it worked, one time it didn't
  1. Use MS Word 2010 for creating multilevel lists. Please see attached jing file.
#8743 IE9: in ENTER_BR table/smiley/form is inserted under br tag confirmed Bug Normal
Description

Steps to replicate the problem

  1. Enter the word "TESTING" without the quotes into CKEditor.
  2. Place cursor before T and press the Enter key. (The word TESTING will be on the 2nd line with a blank line on top).
  3. Place the cursor on the blank line on top of the word Testing.
  4. Click on the table button. The table dialog will appear.
  5. Click on the OK button on the table dialog.

Result: table/smiley/form are always inserted under br

Issue has been reproducible in IE9 only from CKEditor 3.5.3 rev [6624]

#8748 Unable to apply any inline style to text inside first block element inside td when there is a comment before confirmed Bug Normal
Description

To reproduce paste in the below code: 1.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head><!-- Facebook sharing information tags -->
		<meta content=" " property="og:title">
		<title></title>		
	</head>
	<body leftmargin="0" marginheight="0" marginwidth="0" offset="0" topmargin="0">
		<table border="0" cellpadding="20" cellspacing="0" width="100%">
			<tbody>
				<tr>
					<td valign="top"><!--Begin Module Standard Content-->
							<h1 class="h1">Heading 1</h1>
							<h2 class="h2">Heading 2</h2>
							mollis a.
					</td>
				</tr>
			</tbody>
		</table>				
	</body>
</html>
  1. Try to apply font-size or font color to text in heading one
  2. Because of the comment above there will be no change and result will look like
    <span id="cke_bm_111S" style="display: none;">&nbsp;</span>Heading 1<span id="cke_bm_111E" style="display: none;">&nbsp;</span></h1>
    
#8749 Passing data into a shared dialog review Alfonso Martínez de Lizarrondo New Feature Normal
Description

It is sometimes useful to be able to pass data to a shared dialog. For example, I have a datepicker dialog and a treeview selector dialog, both of which are invoked from several other dialogs. The getDialogValue function in the docprops dialog enables a shared dialog to be invoked, and provides a callback for e.g. passing the result to the parent dialog. However, there is no clean way to pass data - for example, the current value of an element in the parent dialog or options.

Here's how this can be achieved.

In plugins/docprops/dialogs/docprops.js:

Add a third argument to getDialogValue:

function getDialogValue( dialogName, callback, data )

Pass the data in the invocation of execCommand:

editor.execCommand( dialogName, data );

Change the following line to be generic (not just for colorDialog):

if ( editor._.storedDialogs[dialogName] )

In plugins/dialog/plugin.js

Add a data argument to show:

show : function(data)

Pass the data in the show event:

this.fire( 'show', data );

Add a data argument to exec:

exec : function(editor, data)

Pass the data in the invocation of openDialog:

CKEDITOR.tools.setTimeout( function() { editor.openDialog( this.dialogName, null, data ) }, 0, this )

And in openDialog itself:

openDialog : function( dialogName, callback, data )

And in the inline invocation of show:

dialog.show(data);

The data can be in any form, but I usually pass it as name-value pairs - for example, for the datepicker:

{ 
    'inputDate' : inputDate,
    'dateFormat' : editor.config.dateFormat 
}
#8759 Add the possibility to remove a context menu item at a certain listener assigned Sa'ar Zac Elias New Feature Normal
Description

During work, I've encountered a situation in which I need to remove the div options from the context menu in a specfic condition (while leaving it intact in any other situation). This is currently impossible - one can remove an option for the entire instance, and not just that one time.
My suggestion is to allow it with null assignment:

return { editdiv : null };
#8760 BR tags get removed when switching from source and back. confirmed Bug Normal
Description
  1. Set
    config.fillEmptyBlocks = false;
    config.enterMode = CKEDITOR.ENTER_BR;
    
  2. Pase the below in source mode and switch to wysiwyg
    <div style="text-align:justify;">
    test line 1</div>
    <div style="text-align:justify;">
    test line 2</div>
    
  3. Put caret behind test line 1^ and press enter two times
  4. Switch to source and wyswig two times

Results: because there is no &nbsp; tag behind <br /> tag, the br tags are removed.

Reproducible in all browsers from CKEditor 3.5

#8761 Better support for pasting from Open Office confirmed New Feature Normal
Description

Based on http://dev.ckeditor.com/ticket/4868#comment:1 I'm opening feature request for better support for pasting from Open Office which is also very popular editor.

If you have a look at two test case files any try them you will see that: Lists are pasted as single level and tables are always pasted with colgroup even if it is empty (maybe that's the beauty of OO).

When pasting tables I have also noticed that it ignores thicker borders for cells.

#8768 CKEDITOR.ui.dialog.uiElement.setValue(value, noChangeEvent) does not respect the noChangeEvent parameter confirmed Bug Normal
Description

I'm creating a custom dialog where I'm setting the value of a text area

var el = dialog.getContentElement('tab1','description');

el.setValue(result.datastylesheet?,true);

Will always detect that the value of the element has changed. Per the documentation the noChangeEvent parameter should either trigger the change event or not. It seems to be firing the event regardless

#8785 There is no option like CKEDITOR.config.forcePasteFromWord confirmed New Feature Normal
Description

People are trying to force the filtering provided by the "Paste from Word" feature, however there is no such configuration option:

It would be nice to introduce it, the alternative right now looks like that: http://stackoverflow.com/a/8379364

#8787 Context menu skips first child of td confirmed Bug Normal
Description

With following code div properties don't show up in context menu when right clicking on image

<table>
	<tbody>
		<tr>
			<td>
				<div class="test">
					<img alt="a" src="http://a.cksource.com/c/1/inc/gfx/logo.png" /></div>
			</td>
		</tr>
	</tbody>
</table>

In addition selection path updates to reflect image has been selected. In #8445 without the div this doesn't happen. It would seem dialog.getSelectedElement() skips first child of td.

<table>
	<tbody>
		<tr>
			<td>
				<img alt="Silva.jpg" src="/images/Silva.jpg" style="width: 100px; height: 133px;" /></td>
		</tr>
	</tbody>
</table>
#8791 Image dialog doesn't display properties set to 0. confirmed Bug Normal
Description
  1. Open image dialog
  2. Insert URl and set border, hspace and vspace to 0
  3. Click OK and switch to source - 0 are present in image styles
  4. Switch back to WYSIWYG, right-click on image and choose image properties.

Result: 0 are not displayed in dialog.

Issue has been reproducible from CKEditor 3.1.1.
From CKEditor 3.0.2 till 3.1 - when you set 0 fir E.g. border style was removed from HTML.

This ticket looks like #4980.

NOTE: Firefox uses pt instead of px when you set image property to 0.

#8793 Make it possible to set the editing area width confirmed Bug Normal
Description

I should be possible to set the editing area width, so it can be more precisely controlled to match target website sizes.

Currently, config.width sets the outer size of the editor UI, unlike config.height, which is applied to the editing area instead.

This comes from ticket:4049#comment:12.

#8798 Inconsistent behavior of rules elementNames and attributeNames in htmlParser.filter confirmed Bug Normal
Description

See attached test case.

Second filter should leave the title attribute just like first filter left "p" element.

#8799 IE, FF: Delete/backspace keys remove anchor instead of joining paragraphs confirmed Bug Normal
Description

Assume you have the following content within the ckeditor:

    <p>This is</p>
    <p>[anchor] an anchor</p>

Where [anchor] is the anchor placeholder.

Placing the cursor at the end of the first paragraph and hitting the DELETE key causes the anchor to be removed whereas I would expect that the second paragraph would be merged into the first paragraph and the anchor retained. [IE9 and FF10]

Placing the cursor at the beginning of the second paragraph, and hitting the BACKSPACE key also removes the anchor. [IE9]

This seems to work as expected on Chrome (WebKit).

I tried this on the following nightly build sample, and it still seems to be an issue: http://nightly.ckeditor.com/7385/_samples/replacebyclass.html

Incidentally, hitting the ENTER key immediately before an anchor on this nightly build seems to cause the anchor to get vertically squished (see screenshot).

#8801 IE8 Bug when paste to an exist selection when ENTER_BR mode is on confirmed Bug Normal
Description

in 3.6.2 with IE8 _samples\enterkey.html

When Enter is pressed: Break the line with a <BR>

In editor, CTRL+A to select all text, and CTRL+C to copy. Then with the selection remains, just paste on the selection.

The IE8 shows the javascript error: Line 130, invalid parameter

#8802 Lose fonts after push tab key confirmed Bug Normal
Description

In BR mode, and tab size = 9. To reproduce :

  • Write some words.
  • Change the font and size of these words.
  • After the last word, push tab key. If you enter some text, the font and size are lost
#8807 Capital letter in "charset" keyword destroys meta tag when using docProps. confirmed Bug Normal
Description
  1. Open fullPage mode and paste in the below code in head section (notice chaRset)
     <meta content="text/html; chaRset=utf-8" http-equiv="content-type" />
    
  2. Switch to WYSIWYG area and open "Document Properties" dialog.
  3. Notice that "Character Set Encoding" is not recognized and the whole phrase is placed in "Other Character Set Encoding" filed.
  4. Click ok on the dialog and Switch again to Source. Checkout the meta tag - notice the extra charset element
          <meta content="text/html; charset=text/html; chaRset=utf-8" http-equiv="content-type" />
    
  5. If you continue switching to WYSIWYG, opening dialog, clicking ok and switching to source you will get more extra char sets.

Sure that this is invalid code when you use it whit XHTML doctype but I not convinced if this explains destroying meta tag by docProps dialog. Maybe making tags/attributes lower case would be more appropriate.

This issue has been reproducible from CKEditor 3.6.

#8808 Non ASCII characters are not being changed to entities in HTML attributes- except for the basic ones confirmed Bug Normal
Description

Paste in the below code in source mode and then switch to WYSIWYG and back to source:

<img alt="This is a test to see how ckeditor handles alt tags with curly quotes &>< other characters. What's going to happen? What’s going to Й  happen with this curly apostrophe." src="/images/test.jpg" style="width: 50px; height: 50px; " />

Notice that basic characters like & > < ” are encoded but ', Й and all other non ASCII are not. What is more even setting the config.entities_additional = '#39,#0146',#1049; will not help. Attribute values are left untouched.

One proposed solution was that perhaps config.entities should be “extended” to support attributes.

#8809 When adding blockquote to Fromat dropdown it doesn't work as expected confirmed Bug Normal
Description

To reproduce:

  1. Add below configuration options or modify format plugin.
    CKEDITOR.config.format_tags = 'p;h1;h2;h3;h4;h5;h6;pre;address;div;blockquote';
    CKEDITOR.config.format_blockquote = { element : 'blockquote' };
    
  2. Refresh the page, you will see blank line at the bottom (adding new entry in language file is optional for tests - tag_blockquote : 'Blockquote')
  3. Try to format selection with it.

Results: you can't change the selection with blockquote. This tag is added in new line when there is no selection but it behaves like paragraph - new blockquote is inserted with every enter.

Workaround is to use blockquote button

#8811 Cell width is not updated when a cell is split horizontally confirmed Bug Normal
Description

To Reproduce:

  • Insert a table into CKEditor.
  • Apply a width of 200px to the first cell using the Cell Properties dialog.
  • Right click in the first cell and select Cell -> Split Cell horizontally. A new cell will be inserted after the selected cell.
  • Switch to source view to see the HTML markup for the table.

Problem: The cell that was split and the new cell both have a width of 200px. They should each have a width of 100px.

<table border="1" cellpadding="1" cellspacing="1" style="width: 500px;">
	<tbody>
		<tr>
			<td style="width: 200px;">
				&nbsp;</td>
			<td style="width: 200px;">
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
	             .....
	</tbody>
</table>
#8813 Cell width is not updated when cells are merged confirmed Bug Normal
Description

To Reproduce:

  • Copy the following table into Source view. This is just a standard table with widths applied to all cells in the first row:
<table border="1" cellpadding="1" cellspacing="1" style="width: 400px;">
	<tbody>
		<tr>
			<td style="width: 100px;">
				&nbsp;</td>
			<td style="width: 100px;">
				&nbsp;</td>
			<td style="width: 100px;">
				&nbsp;</td>
			<td style="width: 100px;">
				&nbsp;</td>
		</tr>
		<tr>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
			<td>
				&nbsp;</td>
		</tr>
	</tbody>
</table>
  • Switch to wysiwyg mode and select any 2 cells in row 1. Right click and select Cell -> Merge Cells.
  • Switch to source view to see the HTML markup for the table.

Problem: The cell that was merged still has a width of 100px. It should now have a width of 200px i.e. the sum of the widths of the merged cells.

<table border="1" cellpadding="1" cellspacing="1" style="width: 400px;">
	<tbody>
		<tr>
			<td colspan="2" rowspan="1" style="width: 100px;">
				&nbsp;</td>
			<td style="width: 100px;">
				&nbsp;</td>
			<td style="width: 100px;">
				&nbsp;</td>
		</tr>
		......
	</tbody>
</table>

Cell widths should also be updated when merged using the Cell -> Merge Right option.

#8817 IE: Context menu doesn't show on second click confirmed Bug Normal
Description
  1. Load replacebyclass.
  2. Double-click on "are" to select it.
  3. Right click on the selection to open the context menu.
  4. Right click on "some". (BUG: the context menu will not appear - be sure to have something to paste, so at least that option should appear).
  5. Repeat 2 and 3.
  6. ESC to close the menu. (BUG: the selection moves to the previous place)

Confirmed with CKEditor 3.6. Works well with CKEditor 3.5.4.

I'm reporting these two issues together because I suspect they're very related.

#8825 Make CKEditor bulletproof against js errors confirmed New Feature Normal
Description

To start, let's state that there are so many variables on the editor usage, which makes it impossible to predict every single case. Because of this, the editor fails with js errors from time to time.

We could have a system in place, to protect users from js errors. The basic idea would be based on a simple "job system":

  1. A job is started by code.
  2. If an error happens during the job life-cycle:
    1. The editor status is reverted to the "before job" state.
    2. The error is reported to the user.
    3. It would be nice to have a way to the user to send the report to us, including their editor configuration, data and selection before job start and details about the job.
  3. The job is finished by code.

The system must support asynchronous operations within the job (setTimeout calls, load of external files, etc).

One idea is integrating this system into the undo system transparently, so it would always revert to the previous undo snapshot in case of errors.

#8830 IE - Cannot determine which cells are selected in a table confirmed Bug Normal
Description

Go to CKE demo. Insert a table. Attempt to select the cells to do something, like change background color. There is no visual indication of what cells are selected.

#8832 Stylesheet parser error if file not on cache review Alfonso Martínez de Lizarrondo Bug Normal
Description

#7784 didn't fix the problem correctly

Reproduction steps:

  1. Clear the cache
  2. Open the console
  3. Load http://nightly.ckeditor.com/latest/ckeditor/_samples/stylesheetparser.html
  4. See the error as reported originally.

Proposed solution:

Revert [6867] and use http://dev.ckeditor.com/attachment/ticket/7784/7784_2.patch as it wasn't rejected because it failed but instead based on coding style. Or rewrite it anyway that you like and test that now it's correctly fixed.

#8852 Fx & Chrome @ Linux: Unlink option is not always available from the context menu when right clicking on a link confirmed Bug Normal
Description

This is clone of #7908, but for Fx & Chrome and only on Linux.

Steps:

  1. Open http://localhost/cksource/CKEditor/tags/3.6/_samples/replacebyclass.html
  2. Without focusing editor before, right-click on the link.

Expected: context menu containing unlink option.

Actual: no unlink option.

I was able to reproduce this from 3.6.

#8854 [IE] A Japanese key input is repeated (when enter mode is set to BR) confirmed Bug Normal
Description
  1. Set to [CKEDITOR.ENTER_BR] as [enterMode] of config.
  2. This CKEDITOR is opened by IE8.
  3. Input some texts in WYSIWYG area.
  4. Select all contents (e.g. Ctrl+A)
  5. A Japanese input is turned ON.
  6. Input some Japanese text (type at least two letters).

Result: The first pressed key is repeated twice. For example, in the case of the Japanese character inputted using the [H] key and the [E] key, it will be in the state where [hhe] was inputted.

Confirmed in IE8/win7.

Links that might be useful:

#8858 [IE] : Undo add extra space at the end of list item confirmed Bug Normal
Description
  1. Load the editor with the following content:
    <ul>
    	<li>foo
    		<ul>
    			<li>bar</li>
    		</ul>
    	</li>
    </ul>
    
  2. Make any small change then undo once;
  • Actual : One unwanted whitespace is added to the end of the first list item (foo), this can be verified only in wysiwyg mode by moving cursor at the end of the list item;
  • Expected: Content is reverted into the original status.
#8861 [IE] Content document scrolls upon focus restored confirmed Bug Normal
Description
  1. Load enough content to overflow the edit area;
  2. Scrolls down to the bottom;
  3. Make a text selection in the viewport;
  4. Click outside of the editor to blur it;
  5. Tab key to bring the focus back to it
  • Actual: Editor has focused, content is scrolled by to the top;
  • Expected: Editor gain focus with the content scroll bar positon remains.
#8868 Hitting return should create a new default block element. confirmed Bug Normal
Description

Sorry if the title isn't very descriptive, but here is the issue. If I add a <div> tag to the document, then hit enter/return, it creates a new <div> tag even though the default block element is a <p> tag. This is a major problem for clients when they copy/paste content that may have a stray <div> tag. If they paste something with a <div> tag, then start typing new text after that, the <div> tag hijacks the current block level element being used and there is no way to return to it without editing the source.

Personally I have an issue with this because it does not allow me to insert a custom <div> tag around, lets say, an image. I'd like to create something such as:

Expected: <p>text</p> <div class="figure"><img src=... /></div> <p>text</p>

Actual <p>text</p> <div class="figure"><img src=... /></div> <div class="figure">text</div>

Lastly, you may wonder why I'm adding a div with the class of "figure", well, because CKeditor does not recognize the <figure> element.

Expected behavior:

<p> tags should be the default block level element _always_. Regardless of what was preceding it. Hitting return/enter should use that default block element, not continue to use the previous block element. Ideally it would recognize <figure> as well. I'd like to be able to insert a <figure> element containing an image, hit return, then start typing text into a <p> tag, not a <div> or <figure> tag containing text. HTML5 support was added to a recent version, but apparently someone forgot about the <figure> tag.

#8872 Native spellchecker clears markup in chrome confirmed Bug Normal
Description

In chrome (on windows) the markup is cleared when using the native spellchecker. Bug found in version 3.6.2 and 3.6.3.

To reproduce:

  • Go to demo in ckeditor.com
  • through the javasscript console make a new editor with native spellchecker enabled:
    CKEDITOR.config.disableNativeSpellChecker = false;
    CKEDITOR.appendTo('demoInside', { height: 300 });
    
  • in source view paste the following:
    <span style="font-size:22px;">This line contains a missepled word<br />
    <br />
    This is the second line</span><br />
    

CTRL-right click the misspelled word ('missepled') and choose a suggestion. You will see the 2nd line come up a little already. Go the the end of the line (press "END") en press ENTER and type some new words. The markup off the new words is lost.

#8877 Missing ARIA roles on certain editor UI parts confirmed Bug Normal
Description

The toolbar collapser and editor resizer doesn't have their appropriate ARIA role assigned.

#8878 Missing docs for dialog.definition.fieldset confirmed Bug Normal
Description

The fieldset element in dialogs isn't documented in the same way as other elements, so there's no list about what are the possible properties that can be used with it.

There's http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.ui.dialog.fieldset.html and the missing part is http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.definition.fieldset.html like this one for example http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.definition.vbox.html

#8881 [iOS] Paste images does not work on iOS new Bug Normal
Description

If you copy an image on iOS (5.1 tested), it looks like its working, but if you show the source it shows: <img src="webkit-fake-url://749E63E5-2740-41C0-BACB-512E6198931E/imagejpeg" /></p>

No one Else can see this image...

Is it possible to paste it as URI image? See: http://en.wikipedia.org/wiki/Data_URI_scheme

#8884 Dragging image wrapped in BlockElement leaves empty block elements in content area. confirmed Bug Normal
Description
  1. Go to http://ckeditor.com/demo
  2. Drag image (which is wrapped in H1) in few places inside content area
  3. Switch to source and notice that there are many empty headers inside content area <h1>&nbsp;</h1>

I have also tried using the below code (img inside div)

<div>
	<img alt="" src="http://a.cksource.com/c/1/inc/img/demo-little-red.jpg" style="margin-left: 10px; margin-right: 10px; float: left; width: 120px; height: 168px;" /></div>
  • In Chrome div completely is lost.
  • In Safari and Opera Div is lost on first drag. Wrapping div stays at the top and doesn't break paragraphs like H1.
  • in Firefox and IE8-10 orphan divs are left throughout content area

Issue reproducible in all browsers from CKEditor 3.0

#8886 htmlspecialchars() calls will return an empty string under certain conditions confirmed Bug Normal
Description

http://php.net/manual/en/function.htmlentities.php Like htmlspecialchars(), htmlentities() takes an optional third argument encoding which defines encoding used in conversion. If omitted, the default value for this argument is ISO-8859-1 in versions of PHP prior to 5.4.0, and UTF-8 from PHP 5.4.0 onwards. Although this argument is technically optional, you are highly encouraged to specify the correct value for your code.

In case of PHP 5.4 environment htmlspecialchars() will return an empty string when supplied with a text in non-default encoding (UTF-8) and no exact encoding specified in third argument. So you need to implement an ability to pass text encoding name to editor() method somehow.

#8891 Expand toolbar button is wrong confirmed Bug Normal
Description

With an open toolbar the "collapse toolbar" button is an upwards-facing arrow. That's fine.

When the toolbar collapses it changes to a left-facing arrow, but it should be a down-facing arrow as that's the direction of the movement that will happen when it's clicked.

#8892 IE9 crashes with p::after clearfix and empty text area confirmed Bug Normal
Description

Similar to the (now closed) ticket #8689, IE9 crashes with an "A problem displaying caused Internet Explorer to refresh the webpage using compatibility View" error on clicking in the editor area, when you have an empty textarea and a stylesheet in contentsCss that contains a clearfix for <p>:

p::after {

clear: both; display: block; height: 0; visibility: hidden; content: ".";

}

Commenting out the line 'content: ".";' IE doesn't crash anymore (but the clearfix won't work either).

Other browsers don't show this problem (Opera, FF, Safari, Chrome).

#8894 Display:inline-block issue confirmed Bug Normal
Description

<span style="display: inline-block"><a href="/send-now"><img alt="Buy - Global Express" src="sites/default/files/media/buy_button.gif" /></a></span>

Paste the above HTML in source.

While using CK editor in IE, if we select the image and click on the link editor, it looses focus and link is inserted at the beginning of the HTML rather than at the image itself.

This is due to display: inline-block and happens only in IE. Please fix.

#8896 Using Ctrl-Z after switching to bold and back causes strange cursor jumps confirmed Bug Normal
Description

Scenario:

  • I start typing
  • I hit Ctrl-B (for bold) and type a word
  • Then I hit it again (to stop typing in bold)
  • Type a few more words
  • Hit Ctrl-Z for undo

The cursors jumps at the beginning of the line. Furthermore, as I continue typing, further strange cursor jumps occur.

I'm using Ubuntu 11.10 64bit with Gnome 3. I can reproduce this in Chrome 18, not in Firefox 11.

#8897 CKPackager: possible issue with variable declarations confirmed Bug Normal
Description

It looks like in certain situations, like the one described in #8895, CKPackager does not rename variables correctly.

#8906 [HTML5] [Full page editing] confirmed Bug Normal
Description

When editing a HTML5 Boilerplate page (download a template here: http://github.com/h5bp/html5-boilerplate/zipball/v3.0.2; see template details here: http://html5boilerplate.com) the conditional comments between the doctype and <html> declaration [used by Modernizr for polyfill detection] are lost. Subsequent html comment blocks within the <html> tags are retained (although the formatting of these is sometimes changed.

Examples of the code before and after are shown in this forum post:: http://cksource.com/forums/viewtopic.php?f=11&t=25267&p=64818#p64818

I verified on the nightly build 3.6.4, downloaded 17 April 2012.

#8919 IE: right-click Paste greyed out review Garry Yao Bug Normal
Description

In IE8 when you right-click quite often 'Paste' is greyed out. Moving the mouse as you right-click increases the chance of this happening.

#8920 IE8 IE9: unable to edit selected text with keyboard (left-click and drag to select text then release left-button outside ckeditor window) confirmed Bug Normal
Description

In IE8, unable to edit selected text with keyboard when the selection was finished by releasing the left-mouse button outside of the ckeditor box.

#8924 Problem with ckEditor inside div with visible=false confirmed Bug Normal
Description

I was previously using 3.6.1, which worked fine for the most part, but in order to fix an issue that cropped up (support for ipads), we decided to upgrade to the latest version.

Using 3.6.3, i now receive the following error when the ckeditor tries to load:

Sys.ScriptLoadFailedException: The script ' http://localhost/idev/ckeditor/ckeditor.js?t=B8DJ5M3' failed to load. Check for: Inaccessible path. Script errors. (IE) Enable 'Display a notification about every script error' under advanced settings. Missing call to Sys.Application.notifyScriptLoaded().

My instance of ckEditor is located inside a div which is located inside an AJAX update panel. The div initially is set to be visible = false, as per the subject. It is toggled to be visible when a button is pushed. The js file is actually at that location as well.

Thinking this could be a problem/conflict with something else in my code, I made a very simple website which ONLY had a ckEditor contained in a div contained in an update panel.

<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>

<html xmlns=" http://www.w3.org/1999/xhtml"> <head runat="server">

    <title>Untitled Page</title>

</head>
<body>

    <form id="form1" runat="server">
	<div>
        <asp:ScriptManager ID="scriptManager1" runat="server" />

        <asp:UpdatePanel ID="upCk" runat="server" UpdateMode="Conditional"> 
			<ContentTemplate>
			
				<asp:Button ID="btnToggle" runat="server" Text="toggle" /> 
				
				<div id="divCk" runat="server" visible="false">
					<CKEditor:CKEditorControl ID="ckEdit" runat="server" />
				</div>
			
			</ContentTemplate>
		</asp:UpdatePanel>

    </div> 
	</form>

</body>
</html>

(the button simply toggles visibility and updates the updatePanel when clicked)

When divCk is set to initially be visible=true, ckEditor works perfectly. When divCk is set to initially be visible=false and the user toggles divCk's visibility by pressing the button, ckEditor does not load correctly, instead presenting the error mentioned above.

I've tested it in 3.6.2 and have the same problem, but, as noted, do not experience it in 3.6.1.

Am I missing some change to how we should load ckEditor post 3.6.1?

#8926 IE: Unnecessary horizontal scrollbar appears when inserting table with width set to 100% confirmed Bug Normal
Description

Original ticket: http://cksource.com/forums/posting.php?mode=reply&f=11&t=25315

  1. In IE9 or IE8 go to Tools -> Compatibility view settings and check "Display all pages in compatibility view"
  2. Open replacebycode sample and insert table with width set to 100%

Result:
Horizontal scrollbar appears.

Reproducible from CKEditor 3.6.3 rev [7421]

#8928 config.corePlugins is always empty confirmed Bug Normal
Description

The corePlugins entry is defined in config.js file and it states that it can be changed only by editing that file, so I wonder why it's there?

If it's empty and people can't use it, then it seems that it should be possible to remove it and adjust the only call that checks it.

#8934 Text/Background color applied to entire paragraph removed when we apply new colour to a word in the paragraph confirmed Bug Normal
Description

To reproduce the defect:

  1. Open AJAX Sample, select a text color ( ex: red)
  1. Start typing the text, see that text color(red) applied to entire text in the paragraph.
  1. Keep cursor in the middle of the paragraph & select a different text color ( ex: green)

Issue: Red color that was applied to the text before was removed, only green color will apply to the text that was typed after the current cursor position

Same issue with Background Color

We expect the text color for the entire paragraph should stay red & green color should be applied to the text typed after current cursor position

#8936 CKEditor does not handle some properties of ASP.NET TextBox Control confirmed Bug Normal
Description

Some properties of ASP.NET TextBox Control is not supported by CKEditor Control. For example many users claim that MaxLength property is not working but this is because it is not supported by CKEditor Control.

In Visual Studio in "Properties" window when using "Categorized" view the only supported options are those mentioned in CKEditor Basic Settings and CKEditor Other Settings.
If user uses "Alphabetical" view then there is no category and users may get false impression that all properties are supported which is not true.

Possible solutions:

  1. Hide unsupported properties
  2. Make unsupported properties disabled (just like TextMode property)
  3. Make them work for CKEditor control.
#8939 IE: Selecting a table row and pressing backspace only deletes a cell instead of the full row confirmed Bug Normal
Description

Steps to reproduce the defect:

  1. Open the Ajax sample in IE.
  2. Create a new table with 3 rows and 3 columns.
  3. Click into any of the cells in the table.
  4. Click on tr in the elements path bar to select the entire table row.
  5. Now click backspace.

Expected result: The entire row is deleted. (behaviour in FF)

Actual result: Only 1 cell in the row is deleted.

#8942 Deleting a list item (numbered and item list) splits the list confirmed Bug Normal
Description

Create a list (numbered or item list) and then backspace to delete a list item. This splits the list instead of removing the list item.

#8943 FF: (HC mode) Text does not get highlighted when using Find & Replace dialog in High Contrast mode until the dialog is closed confirmed Bug Normal
Description

Steps to reproduce the defect:

  1. Hold Alt, Left Shift & PrintScreen to enable high contrast mode.
  2. Open the Ajax sample in FF.
  3. Type some text into the editor.
  4. Click on the Find/Replace buttons in the toolbar to open the Find/Replace dialog.
  5. Type some of the text that you previously entered into the editor into the Find field in the dialog.
  6. Click the Find button.

Expected Result: The text that you are trying to find should become highlighted in the editor.

Actual Result: The text does not get highlighted. It only gets highlighted when you close the Find dialog.

#8944 If a previously set value of a textfield is changed to blank, it stays visible in the editor. confirmed Bug Normal
Description

Steps to recreate:

  1. Insert a textfield with "blah" as value.
  2. Edit the textfield and remove "blah".
  3. It will still say "blah" in the WYSIWYG frame.
#8947 [iOS] (iPad) copy/pasting formatted text new Bug Normal
Description

select a text and change its font size, text color and background color. Copy the selected text to the clipboard. Change position of cursor to new line and paste clipboard content via browser's tooltip. Pasted text should have the same formatting. Instead, the only formatting that is preserved is the text background.

#8951 Scriptloader may fail when loading sequences of already loaded files review Sa'ar Zac Elias Bug Normal
Description

The following code will fail (the file c.js will not be loaded and the second callback will not be triggered):

CKEDITOR.scriptLoader.load( [ 'a.js', 'b.js' ], function()
{
	alert( 'a' );
	CKEDITOR.scriptLoader.load( [ 'a.js', 'b.js', 'c.js' ], function()
	{
		alert( 'b' );
	});
} );
#8956 Link href not displayed on edit link screen confirmed Bug Normal
Description

OS: Windows 7 Professional SP1

Browser: IE

Version: 9

Scenario:

  1. Switch to source mode
  2. Insert this html:
<form action="/formHandler" class="hp-smartInsertForm" method="post">
	<fieldset>
		<p>
			Here you need to add link <a href="http://www.google.com?v=1" target="_self">http://www.google.com</a></p>
	</fieldset>
</form>
  1. Switch back to WYSIWYG mode
  2. Double click the link

Defect: Link editing dialog shown, but field for href is blank

#8957 Copy-paste of table rows does not work correctly confirmed Bug Normal
Description

Scenario 1 -

  1. Create a table with 3 rows and 5 columns.
  2. Enter some data in each row and column.
  3. Add 2 more rows to the table.
  4. Select row 1 & 2, copy the text using ctrl+c.
  5. Now Select row 4 & 5 and paste the text using ctrl+v.

Actual Result: Row 4 & 5, will get merged as single row and Row 1 & 2 will be get pasted in a single row

Expected Result: The text in row 1 & 2 should be get copied to row 4 & 5 similar to what we see in ms-word

Scenario 2 -

  1. Perform the first 4 steps as mentioned in scenario 1
  2. Put the cursor in row 4 column 1
  3. Press ctrl+v to paste the text

Actual Result: Row 1 & 2 will be get copied in row 4 column 1.

Expected Result: The text in row 1 & 2 should be get copied to row 4 & 5 similar to what we see in ms-word

Scenario 3 -

  1. Perform the first 3 steps as mentioned in scenario 1
  2. Select any single cell (Say Row 1 column 1)
  3. Put the cursor in row 4 column 1
  4. Press ctrl+v to paste the text

Actual Result: The text in the selected column will be get pasted in row 4 column 1 along with column border.

Expected result: Only the text in a column should be pasted and not the column border

#8958 can not escape style for a whole line in firefox confirmed Bug Normal
Description

Steps:

  1. input multiple lines of text as pic1 in firefox.
  1. ctrl + a to select all text, then make all selected text bold/underline/... as pic2.
  1. select one line (such as the second line) to unbold the whole line of text as pic3.
  1. place cursor at the end of second line and input "ab"

Expected result:

"ab" is not bold.

Actual result:

"ab" is bold.

Possible cause:

when style in firefox, br is included in "strong" tag as pic4 and when unstyle br is not removed with "strong" tag as pic5.

#8960 IE6-8: editor scrolls up when right clicking on image wrapped in element with styles. confirmed Bug Normal
Description

Reproducible in IE6-8 from CKEditor 3.2.1

<p style="width: 200px">
	<img src="http://dev.fckeditor.net/chrome/site/logos.gif" /></p>
<p>
	<span style="display: inline-block"><img alt="Buy - Global Express" src="http://dev.fckeditor.net/chrome/site/logos.gif" style="width: 100px; height: 75px" /></span></p>

To reproduce:

  1. Paste one of the above code snippets that many times that after you switch to WYSIWYG mode scrollbar will appear
  2. Scroll all the way down and right click on image

Result:Editor will scroll up and you can't display Image properties dialog.

Please note that clicking on the image and pressing Image toolbar button will also not work. The only way to get to Image properties is to double-click on the image.

#8967 obvious bug in getEnclosedNode assigned Jakub Ś Bug Normal
Description

For example:

<div>

^
<bookmark/>
<span id='x'/>
<bookmark/>
^

getEnclosedNode should return span whose id is "x".

for detail see patch in attachement.

#8970 [iOS] Inconsistent behaviour in Editor using Jquery mobile in Safari on iOS5.1 new Bug Normal
Description

When tapping in the editor to enable the on screen keyboard and edit the text, as well as using the next / previous control on the key board the editor does not allow text to be added.

I have tested this with the latest release of CKEditor 3.6.3 as well as jquery.mobile-1.1 and jquery-1.6.4

#8977 CKEditor locks the browser (javascript loop) with certain contents confirmed Bug Normal
Description

When CK is instantiated with some kind of contents there is some kind of loop (I think it's on the parser) that locks the browser.

Tested with chrome and FF.

I attach a simple html with a test case that shows the behavior

#8980 IE: Backspace used to delete list item splits list in two confirmed Bug Normal
Description

Reproducible in all versions of IE from CKEditor 3.0.

To Reproduce:

  1. Create list in CKEditor with 4 items
  2. Place the cursor at the end of item three and start pressing Backspace.

Result: When you remove the item list will be split on two.

NOTES:

  1. In other browsers this behaviour got broken in CKEditor 3.6.3 rev [7392]. Reported here #8942
  2. If you use delete key you will be able to remove the list item without splitting the list.
#8982 Anchor options in Link dialog uses only references to 'a' elements confirmed New Feature Normal
Description

Reported here: http://cksource.com/forums/viewtopic.php?f=6&t=25473

The link dialog provides an option to link by Id, but it provides only the option to link to anchor elements, not other elements with an id attribute although those links will work in any browser.

The proposed patch provides a simple solution for modern browsers that support querySelectorAll. If someone is willing, it shouldn't be hard to write an "else" code path that does the scanning for the older browsers.

#8986 Delete bullet from middle of bullet list, extra space that cannot be removed. new Bug Normal
Description

Bullet a list of 6 items. Delete the fifth bullet item from the middle of the list. Back space to attempt to rejoin the remaining bullet items to the list. There is a wider space than expected between the last 2 items. The only way to get rid of this space is to un-bullet list and re-bullet.

I am using the CKEditor Demo http://ckeditor.com/demo on iOS 5.1.1

#8987 [iOS] Can not "Select All" after Copy and Paste text in the editor new Bug Normal
Description
  1. Select and Copy Text that already exists in edit.
  2. Paste the text further down in the editor.
  3. Focus cursor anywhere in the editor and tap twice to get the Select option menu.
  4. Attempt to choose Select All, the cursor directs to the top of the text editor, but all of the content in the editor has not been selected.

I was using http://ckeditor.com/demo iOS 5.1.1

#8989 IE placeholder plugin - you can't insert one place holder after another confirmed Bug Normal
Description

To reproduce:

  1. Open placeholder sample and clear editor contents
  2. Insert placeholder
  3. Click behind it so that selection frame is lost.
  4. Note that elements path is still showing body p span which means you are still inside place holder (the only way to leave it is pressing space)
  5. Nevertheless try to insert new placeholder

Result: New placeholder replaces the old one.

This particular TC has been reproducible in IE6, IE7 and IE9 browsers from CKEditor 3.5.2 rev. [6434]


Before revision [6434] in IE6, IE7 and IE9 it was possible to insert two placeholders in a row only if you haven’t clicked inside editing area after inserting first placeholder (click toolbar button, insert placeholder, click toolbar button again and insert another placeholder). If you have clicked inside editing area after inserting the first placeholder, the second place holder was not inserted and it was destroying the first one (removing [). Ironically this TC has been reproducible in IE8 Quirks from CKE 3.5.3 rev. [6459] and has been described in #9138


In IE8 next place holder is always inserted at the beginning. It is not possible to move cursor behind placeholder - #8990.

#8994 Firefox, Webkit and Opera - Can't exit link at the end of document in bbcode confirmed Bug Normal
Description

To reproduce:

  1. Open bbcode sample and clear all contents
  2. Insert link http://google.com?test=1&abc=txt using link dialog
  3. Put the cursor at the end of link and try to exit it using Arrows, End, Space or Enter key.

Result: You can't exit link when it is the last element in the document.

Issue reproducible in Webkit and Opera from CKEditor 3.6 rev [6904]

Note: In Firefox you can exit link only if you press End key. Perhaps it has something to do with leaving element boundaries - #8195

#8999 Cannot edit label elements confirmed Bug Normal
Description

When I click on a "label" element the field that the label is defined for ("for" attribute) get focused so I cannot modify the label.

Affected : Firefox 12.0 on Linux, Chromium 18 on Linux, Safari 5.1.7 on Windows Works on : Internet Explorer 9 on Windows, Opera 11.62 on Windows.

#9000 [IE] incorrect enter key behavior into pre block confirmed Bug Normal
Description
  1. Insert the following html:
<p>
	123456</p>
<pre>
123456
123456


</pre>
<p>
	123456</p>

Switch to WYSIWYG mode and move cursor after the "2" char in the first line of the pre block. Hit Shift+Enter. The new line will appear after the "5" char.

  1. Html:
<pre>
123456
123456
123456
123456</pre>
<p>
	123456</p>

Switch to WYSIWYG mode and put cursor to the end of the second line of the pre block. Hit Shift+Enter. Cursor will appear at the start of the 4th line instead of the 3rd line. Toggle to source mode: note that line break disappeared.

#9001 Format cannot be applied if first line of selection is already in target format confirmed Bug Normal
Description
  1. Start an empty page
  2. Select "normal" format and write some words
  3. In new line select "heading 1" format and write some words
  4. Select all and try to apply "normal" format

-> nothing changes Expected: Heading format is changed to "normal"

If the first line is a heading the format can be changed.

#9002 Tabelle cell lost after style has been applied confirmed Bug Normal
Description
  1. Add a new table (2x3)
  2. Enter some text in all cells beside the last cell in the middle row

foo|bar|test foo|bar|<LEAVE THIS CELL EMPTY> foo|bar|test

  1. Select all
  2. Apply style heading 1

--> The Empty cell is removed (TD is lost). It's now impossible to enter some text in this cell.

#9003 IE9 shift+enter causes cursor to jump confirmed Bug Normal
Description

Happens in IE9.

Repro:

  • go to http://ckeditor.com/demo
  • select and remove all of the text
  • type "A" [shift-enter] "-123" [shift-enter] "B" [shift-enter] "C"
  • position the cursor between the "-" and the "1"
  • type [shift-enter]

Result: A -1 23 B C

Expected Result: A - 123 B C

#9011 CKFinder doesn't allow Select, Download or Upload options new Bug Normal
Description

Using iOS5.1 on the iPad.

In any CKEditor instance, when clicking the Browse Server button CKFinder opens in a new Tab.

  1. The "Upload" button is missing and should be next to the "Refresh" button. I understand this is because of lack of iOS support of input type=file.
  1. When you try to choose a file to link to via the context menu drop down (push the down arrow in the upper left corner of the thumbnail), you can Delete, View, Resize and Rename but you cannot Select or Download.


#9013 Formatting IE9 selected text fails confirmed Bug Normal
Description

Only when applying the formatting for the second time it does work.

The same occurs with Underline and Italic formatting. When doing this on a specifiek word in the line the problem does not occur.

The problem might have something to do with this issue: https://dev.ckeditor.com/ticket/6706

#9017 FF, Opera - Page down gets stuck confirmed Bug Normal
Description

In FF, go to CKEditor demo. Go to Source view. Ctrl-a, then paste the attached html into Source View. Go to non-source view. Press page down key. Keep pressing. About two-thirds of the way down, page down will get stuck.

#9020 "vertical split a cell" works error when the row contains "colpan>1" cells confirmed Bug Normal
Description

Follow this simple steps:

  1. create a table with 3 rows, 3 columns.
  2. merge the first two cells in the first row.
  3. veritical split the last cell(the cell after the merged cell) in the first row.

The table structure becomes messy after the third step.
The bug is in "tabletools/plugin.js", cellInRow function. Developer should avoid adding duplicate cells, similar with "cellInCol".

#9023 Removing list formatting strips the id from the contents within the removed list confirmed Bug Normal
Description

Steps to Reproduce

  1. Paste the following into "Source" view:
    <p id="TEST" class="headerInfo">Text</p>
    
  2. Leave Source view and highlight "text".
  3. Click the "Insert/Remove Bulleted List" button to apply the ul/li formatting
  4. Click the "Insert/Remove Bulleted List" button again to remove the ul/li
  5. Review "Source" view of html

Expected Result

<p id="TEST" class="headerInfo">Text</p>

Actual Result

<p class="headerInfo">Text</p>
#9024 Text is not remembered after using browser back button and then forward button confirmed New Feature Normal
Description

When I write some text in the editor and click the back button in the browser, and then when I click the forward button - the text isn't in the editor. This is in all browsers. It is working in TinyMCE. I'm not sure if this is a Bug or a New Feature.

#9026 Make CKEditor prevent caching images in browsers confirmed New Feature Normal
Description

To reproduce:

  1. For simplicity use CKEditor with CKFinder.
  2. In CKEditor click Image button and then Browse Server button
  3. With CKFinder upload image with name abc.jpg, select it and click OK to insert it into CKEditor.
  4. In CKEditor, click on the image, next right click on it and choose image properties dialog.
  5. Click Browse Server button again
  6. While in CKFinder - delete edited image and upload different image with the same name abc.jpg
  7. Double click on this image and the click OK to insert it into CKEditor.

Problem: In CKFinder images are refreshed but in CKEditor old image is seen in preview and in CKEditor content area.

  1. One solution might be using no-cache HTTP headers on server-side
  2. Second is adding some random timestamp parameter behind image name in URL filed of image dialog E.g. abc.jpg?t=1234

The second solution is where editor might come in. It would be nice if CKEditor was doing that in background without any user interaction – perhaps new configuration option could be used here.

#9030 IE9: select text + open link dialog - link creation fails if text contains linebreak <br /> tag. confirmed Bug Normal
Description

In IE9, (in WYSIWYG mode)

Inside a <p> tag:

Creating a few lines of text separated with <br /> (shift+enter in default cfg) and then selecting one of those lines using arrow keys

now if i open the link dialog box and fill in an url and press OK, no link is created.

Alternatively, if not the whole line is selected but only a word, then a link may get created but its text will be the same as the URL instead of the selected word.

This bug is reproducible in the online demo at http://ckeditor.com/demo

This bug seems to have come and gone a few times before: http://dev.ckeditor.com/ticket/8132

/Ola

#9038 IE: error when selecting contents with SHIFT+Arrow confirmed Bug Normal
Description

To reproduce:

  1. Clear editor contents
  2. Write a letter
  3. Press ENTER twice
  4. Write a letter again
  5. Activate 'source view' and go back (without this there will be no script error)
  6. Place the cursor on top-left position - before first letter - at the beginning of editor content area.
  7. Press SHIFT+'arrow down' twice

Result: JavaScript error is thrown.
Ticket has been reproducible in IE8 and IE9 from CKEditor 3.5.1

The error comes from the core\dom\node.js from the getPosition function where the this.$ is undefined. Seems that this object has nothing to do with the underlying DOM object.

NOTES:
From CKEditor 3.5.1 till 3.6.3 the error was
Message: 'length' is null or not an object
Line: 632
URI: /3.6.3/ckeditor/_source/plugins/selection/plugin.js

From CKEditor 3.6.3 rev. [7415] the error has changed: Message: 'compareDocumentPosition' is null or not an object
Line: 430
URI: /3.6.3/ckeditor/_source/core/dom/node.js

#9039 On selecting multiple cell along with thead and applying any cell property other cell also get converted to thead. confirmed Bug Normal
Description

Create a table in ckeditor. Make first row as header. Now select multiple rows of a column along with thead. Apply any cell property, all the selected cells get converted to thead.

#9046 IE9: linking a word doesn't work right when line ends with BR. confirmed Bug Normal
Description
  1. Paste in the below code in Source mode
    <p>
    	test a test testing<br />
    	test a test2, testing a test<br />
    	another test line<br />
    	one more test line</p>
    
  2. Switch to source and use tab to get focus in content area.
  3. Using arrows go to second line
  4. Select word test2
  5. Click on Link button, enter URL and click OK button

Results: Notice that instead of test2 you get est2, linked. Selection was moved one letter to the right. The same thing will happen if you select whole line.

Reproducible only in IE9 from CKEditor 3.5.1

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