Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (7101 - 7200 of 11754)

Ticket Summary Owner Type Priority Milestone Component
#8093 InsertHTML does not insert at the cursor position in IE6 Bug Normal General
Description

I am unable to insert at the cursor position. I am using IE6.

#8094 Image lock ratio, unlocked when caret moved from image url field Bug Normal UI : Dialogs
Description

When editing image width and heigh, prior to entering image URL, Image Lock ratio is disabled after enetering URL.

TC

Open Image dialog (image lock is set to LOCKED, as default)

  • set width to 1
  • set height to 1
  • enter image url, press Tab to set focus in next textbox

Expected

No change should be made to LOCK ratio.

Actual

LOCK unlocks itself

My opinion:
While entering image dimensions, without first inserting image url (empty url box), preview in Image dialog should work like with wrong url entered.

#8095 Chrome pastes insert a meta tag Bug Normal General
Description

Go to any editor using Chrome (I'm in 12.0.742.68 beta) http://ckeditor.com/demo http://nightly.ckeditor.com/7079/_samples/replacebyclass.html

Copy a word from the editor (select, Ctrl+C) Paste into the editor with Ctrl+V Switch to Source view. The content contains <meta content="text/html; charset=utf-8" http-equiv="content-type" /> .

Now click the Source button repeatedly. Each time it adds another empty paragraph above the meta tag, generating lots of whitespace. I'm not that bothered about the meta tag but switching to Source view shouldn't generate new paragraphs.

#8098 IE9 : Pasting of lists not working properly. Bug Normal General
Description

To reproduce the defect:

Scenario 1

Copy simple lists from attached word doc & paste in to editor using Ctrl +V

Issue Lots of empty paragraphs are added before the list and each list item in the list is pasted as individual Bulleted list.

Scenario 2

Copy simple lists from attached word doc & paste in to editor using Paste from Word dialog

Issue Lots of empty paragraphs are added before the list, only first list item is apsted with special characters(< > ) before it.

Tested using IE9 on windows 7

#8099 RichCombo without css shows nothing Bug Normal UI : Floating Panel
Description

editor.ui.addRichCombo("blabla", {

label: "blabla", className: 'cke_asd', panel:

{

multiSelect: false, attributes: { 'aria-label': this.members.LanguagesTitleId }

},

init: function() {

this.add("abc", "def", "hig");

}}

Shows nothing in the dropdown...

Add

css: editor.skin.editor.css.concat(editor.config.contentsCss),

To the panel, and it works fine.

#8100 IE - &nbsp not honored in table cells Bug Normal Core : Tables
Description

Go to CKEditor demo. Paste attached html into source view. Attempt to select all the cells in the table. &nbsp characters are not selected. Click on right hand side of cell. &nbsp is not honored (cursor goes to extreme left hand side of the cell).

This is a regression from 3.4.2. As there is no feedback in IE when selecting empty table cells, we are relying on &nbsp to provide feedback for our users. Not having any feedback is confusing to our users.

#8101 Image Resizing by mouse Bug Normal General
Description

Open demo page in IE, FF and Chrome. Select image in each browser and try to resize it by mouse. Results:

IE9: ratio is not saving what is a BUG. FF: ratio is saving what is nice :) Chrome: can't to resize image by mouse at all what is a BUG.

#8102 Copy paste of text from external source into a editable div with editor non-editable throws error. Bug Normal Core : Pasting
Description

We use CKEditor with Java for our content management application. We use the editor by default in non-editable mode (only the editor as non-editable, using editor.setAttribute("contenteditable", "false").

But, we provide the user of the application with a DIV(contentEditable = true) placed inside the editor as the only area to provide the data manually or copy and paster from other documents. While the page loads, the editable DIV has a default space present (&nbsp;) with in the DIV tag.If we do "Ctrl + V", some text from external documents(like, word, PDF, etc.,) it is getting copied into the DIV. Incase, if we delete the default space (&nbsp;) and do the paste operation, the content seems to be copied and dis-appears immediately. Only if i try for the 2nd time, the content appears but with an extra <p> tags added (by verifying in the Source) and a javascript error ("type" is null or not an object, l.no: 38 and column.no: 1778) reported. I feel this is an issue, like a dependency present for the default space while pasting the text. Please, provide your suggestions to overcome as we are facing this as an serious issue in our application. Thanks in advance.

#8103 Problems when pasting lists from word Piotrek Koszuliński Bug Normal CKEditor 4.2.1 Core : Lists
Description

This issue was found when reproducing #7982

  1. Paste the list from the attached file to CKEditor
  2. The last second-level list items will be changed to first-level list items.

The file contains description how this list was created in WORD.

Pasting such lists worked till version 3.6.
From revision [6912] it got broken. All elements were pasted as first level list-items.
In rev [6977] there was a slight improvement. Items after first sub-list weren't pasted.
From rev [7008] it works as described above.

#8104 Radio buttons cannot be given a vertical layout Bug Normal General
Description

When we add radio buttons to a dialog, they are always displayed horizontally. There does not seem to be any option to arrange them vertcally instead.

For example, add the following UI element to a dialog:

{
	type : 'radio',
	id : 'type',
	required : true,
	'default' : 'one',
	items :
	[
		[ 'Radio1', 'one' ],
		[ 'Radio2', 'two' ]
	]
}

The resulting radio buttons are rendered horizontally in a table row. We would like the option of displaying them vertically instead as this would be more consistent with the rest of our UI designs.

#8107 Radio buttons on dialogs cause an error in IE quirks mode Bug Normal UI : Dialogs
Description

To reproduce add a radio button element to any dialog e.g.

{
	type : 'radio',
	id : 'type',
	required : true,
	'default' : 'one',
	items :
	[
		[ 'Radio1', 'one' ],
		[ 'Radio2', 'two' ]
	]
}

Load the page in IE in quirks mode and open the dialog.

Problem: The browser throws the following error:

'children[...].align' is null or not an object

This error can be traced back to line 2538 of plugins/dialog/plugin.js:

// In IE Quirks alignment has to be done on table cells. (#7324)
if ( CKEDITOR.env.ie && CKEDITOR.env.quirks && children[ i ].align )
#8108 IE & Safari : Can't remove empty paragraph first in document that's followed by a table Bug Normal General
Description

To reproduce the defect:

  1. Switch to source mode and insert the following code:
      <p>&nbsp;</p>
      <table border="1" cellpadding="1" cellspacing="1" style="width: 500px; ">
        <tbody>
         <tr><td>&nbsp;</td></tr>
        </tbody>
      </table>
      <p>&nbsp;</p>
  1. Switch back to wysiwyg. Now there's an empty paragraph at the top which can't be removed in the wysiwyg mode, we can't get rid of it using delete or backspace.

Tested with IE6,IE7,IE8, IE9 & Safari 5.0.3

Similar issue was reported for FF in #7289 which is closed.

#8110 Default text size Task Normal Core : Styles
Description

If I type 3 lines, and set the 1st to font size 12 and the 3rd to size 14, and leave the 2nd line alone:

This is font size 12 This is font size default This is font size 14

The 1st and 2nd look like the same size, and the 3rd looks bigger. (So, obviously the default size is 12 within the editor)

When I display the saved data in another web page, the 2nd and 3rd look like the same size, and the 1st looks smaller. (So, obviously the default size is 14 in any browser.)

How do I change the default font size to 14 in the editor, so that the input matches the output?

#8111 Text disappears when clicking outside editing box. Bug Normal General
Description

If I click outside of the editing box, the thrid line of text disappears. When I click back into the box, the text reappears.

This is what I have within the editing box: Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do. Do re me fa so la ti do.<br /> All Finished.

Here is the code from my page:

<table>
<tr>
<td colspan="2"><textarea cols="74" rows="9" name="tx_Body" id="tx_Body"></textarea></td>
</tr>
</table>


<script type="text/javascript">
var TheEditor = CKEDITOR.replace('tx_Body', 
	{ 	customConfig : '',
		on : { 'instanceReady' : configureHtmlOutput },
		skin : 'office2003',
		width: 600,
		height: 300,
		startupFocus: true,
		docType: '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">',
		fillEmptyBlocks: false,
		enterMode: CKEDITOR.ENTER_BR,
		font_defaultLabel: 'Verdana',
		fontSize_defaultLabel: '12',
	contentsCss: 'https://www.med.dal.ca/ckeditor/HTMLEmail.css',
		toolbar: 
[
{ name: 'document', items : [ 'Source','-',/*'Save','NewPage','DocProps','Preview',*/'Print'/*,'-','Templates'*/ ] },
{ name: 'clipboard', items : [ 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ] },
{ name: 'editing', items : [ 'Find','Replace','-','SelectAll','-','SpellChecker', 'Scayt' ] },
'/',
{ name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-','RemoveFormat' ] },
{ name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','CreateDiv','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','-','BidiLtr','BidiRtl' ] },
{ name: 'links', items : [ 'Link','Unlink','Anchor' ] },
{ name: 'insert', items : [ 'Image',/*'Flash',*/'Table','HorizontalRule','Smiley','SpecialChar','PageBreak'/*,'Iframe'*/ ] },
'/',
{ name: 'styles', items : [ /*'Styles','Format',*/'Font','FontSize' ] },
{ name: 'colors', items : [ 'TextColor','BGColor' ] },
{ name: 'tools', items : [ /*'Maximize', */'ShowBlocks','-','About' ] }
]
	} );

CKFinder.setupCKEditor( TheEditor, '#APPLICATION.ROOTDIR#common/htmlemail/ckfinder/' ) ;

/*
 * Adjust the behavior of the dataProcessor to avoid styles
 * and make it look like FCKeditor HTML output.
 */
function configureHtmlOutput( ev )
{
	var editor = ev.editor,
	dataProcessor = editor.dataProcessor,
	htmlFilter = dataProcessor && dataProcessor.htmlFilter;
	// Make output formatting behave similar to FCKeditor
	var dtd = CKEDITOR.dtd;
	for ( var e in CKEDITOR.tools.extend( {}, dtd.$nonBodyContent, dtd.$block, dtd.$listItem, dtd.$tableContent ) )
	{
		dataProcessor.writer.setRules( e,
			{
				indent : true,
				breakBeforeOpen : true,
				breakAfterOpen : false,
				breakBeforeClose : !dtd[ e ][ '##' ],
				breakAfterClose : true
			});
	}

	// Output properties as attributes, not styles.
	htmlFilter.addRules(
	{
		elements :
		{
		$ : function( element ){
			// Output dimensions of images as width and height
			if ( element.name == 'img' )
			{
				var style = element.attributes.style;
				if ( style ){
					// Get the width from the style.
					var match = /(?:^|\s)width\s*:\s*(\d+)px/i.exec( style ),
						width = match && match[1];
					
					// Get the height from the style.
					match = /(?:^|\s)height\s*:\s*(\d+)px/i.exec( style );
					var height = match && match[1];
					
					if ( width ){
						element.attributes.style = element.attributes.style.replace( /(?:^|\s)width\s*:\s*(\d+)px;?/i , '' );
						element.attributes.width = width;
					}
					if ( height ){
						element.attributes.style = element.attributes.style.replace( /(?:^|\s)height\s*:\s*(\d+)px;?/i , '' );
						element.attributes.height = height;
					}
				}
			}

			// Output alignment of paragraphs using align
			if ( element.name == 'p' )
			{
				style = element.attributes.style;
				
				if ( style ){
					// Get the align from the style.
					match = /(?:^|\s)text-align\s*:\s*(\w*);/i.exec( style );
					var align = match && match[1];
					
					if ( align ){
						element.attributes.style = element.attributes.style.replace( /(?:^|\s)text-align\s*:\s*(\w*);?/i , '' );
						element.attributes.align = align;
					}
				}
			}
			
			if ( !element.attributes.style )
				delete element.attributes.style;
			
			return element;
			}
		},
		
		attributes :
		{
			style : function( value, element ){
				// Return ##RGB for background and border colors
				return convertRGBToHex( value );
			}
		}
	} );
}

/**
* Convert a CSS rgb(R, G, B) color back to ##RRGGBB format.
* @param Css style string (can include more than one color
* @return Converted css style.
*/
function convertRGBToHex( cssStyle ){
	return cssStyle.replace( /(?:rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\))/gi, function( match, red, green, blue ){
		red = parseInt( red, 10 ).toString( 16 );
		green = parseInt( green, 10 ).toString( 16 );
		blue = parseInt( blue, 10 ).toString( 16 );
		var color = [red, green, blue] ;

		// Add padding zeros if the hex value is less than 0x10.
		for ( var i = 0 ; i < color.length ; i++ ){
			color[i] = String( '0' + color[i] ).slice( -2 ) ;
		}

		return '##' + color.join( '' ) ;
	 });
}
</script>}}}
#8112 Page jumps on click Bug Normal General
Description

Dear Sir/Madam I am from a company that uses licensed version of FCK editor 2.x and now seeking your technical help.We are using FCK editor in our web application to edit the web pages. Recently, we have been experiencing couple of problems with IE where the page jumps up and down.

Problem #1: Scroll down the page and click on a table cell. The page jumps up and but immediately comes downward and focuses the cursor. and the cursor stays where it was clicked.

Problem #2: Scroll down the page and try to select a piece of text. The page scrolls up. and because of this, unwanted text is selected.

We have this problem only with IE. It works fine in firefox.

Could you please share with us if there is a any solution available to this? Appreciate your help. Thanks Bala

#8113 Position of dialogs when CKEditor is in an iframe Bug Normal UI : Dialogs
Description

We have an issue with dialogs position when CKEditor is placed in iframes whose height is higher than the screen height. The positionning calculus is based on the height of the viewport (so the iframe height when in an iframe) causing the dialog to be displayed far away (in the middle of the iframe) from the editor itself, because of the iframe height.

To reproduce this behaviour, we have set up a test case at the following address :

http://www.goademo.com/ckeditor/ckeditor_iframe_dialog/

Click on the special character button of the first editor, the special char dialog is displayed in the middle of the iframe and :

  • on chrome, the browser automatically scrolls to the dialog (so users are lost when they close the dialog - because the editor is on the top of the screen)
  • on other browsers (firefox, probably IE), you have to scroll down to retrieve the dialog (so users think that the button doesn't work at all)
#8115 Getting issue with jquery Task Normal Server : ASP.Net
Description

I am trying to put values of UI LI(html control) on clicking on LI to CKEditor control textarea.

following is the ckeditor I have put into my .net application

<CKEditor:CKEditorControl ID="txtText" runat="server" 
                        CssClass="validate[required]" CausesValidation="True">
                    &nbsp;&nbsp;
                    </CKEditor:CKEditorControl>

and following is the jquery code, I am using

jQuery(document).ready(function() {
        $('#ClickWordList li').click(function() { $('ctl00_ContentPlaceHolder1_ctrlEntry_txtText').val($(this).text()); return false });
            kriesi_closeable_divs(".closeable"); /*remove this if you dont want message box to be closeable*/
            $("#templateContentArea").validationEngine();
        });

Please can you let me know is it possible to set the value of UI LI into CKEditor textarea.

Thanks shailesh

#8116 [IE9] SSL Security Warning when using SSL Bug Normal UI : Spell Checker
Description

I am using our site with the CKEditor 3.6.1 and when trying to use the spell check get a security error. Scayt won't work until you display the blocked content.

#8117 HTML 5 Support / meta element in body Marek Lewandowski New Feature Normal CKEditor 4.4.3 General
Description

It would be nice to be able to enter meta tags like "<meta content=5 itemprop=bestRating />" in the source code view without side effects. Currently it adds empty paragraphs. Example markup: http://schema.org/Event

This happens in google chrome.

#8119 HTML5 / Add support for source and track elements New Feature Normal Core : DTD
Description

Currently if you use source and track elements they are converted from void elements to non void elements, duplicated, nested, and other interesting things :)

Starting in source view:

<video controls autoplay>
 <source src="video.mp4" type="video/mp4" >
 <source src="video.ogv" type="video/ogg"
         onerror="fallback(parentNode)">
</video>

Toggle source view on and off:

<video autoplay="" controls="">
 <source src="video.mp4" type="video/mp4"> 
 <source onerror="fallback(parentNode)" src="video.ogv" type="video/ogg"> 
 </source></source>
</video>

Also, the video or source end tags are misplaced if there is content that follows. Follow

Before:

<video controls autoplay>
 <source src="video.mp4" type="video/mp4" >
 <source src="video.ogv" type="video/ogg"
         onerror="fallback(parentNode)">
</video>
<div>Video Sibling</div>

After:

<video autoplay="" controls="">
  <source src="video.mp4" type="video/mp4"> 
  <source onerror="fallback(parentNode)" src="video.ogv" type="video/ogg"> 
  </source></source>
</video>
<p>
<source src="video.mp4" type="video/mp4">
<source onerror="fallback(parentNode)" src="video.ogv" type="video/ogg">
 <p>
 <source src="video.mp4" type="video/mp4"> 
 <source onerror="fallback(parentNode)" src="video.ogv" type="video/ogg">
 </source></source>
 </p>
 <source src="video.mp4" type="video/mp4">
 <source onerror="fallback(parentNode)" src="video.ogv" type="video/ogg">
  <div>Video Sibling</div>
 <p>&nbsp;</p>
</source></source></source></source></p>
#8120 Blank newpage_html doesn't work with full page plugin Bug Normal General
Description

Setting config.newpage_html = "" doesn't clear the default HTML put in by the full page plugin. I assumed it would have.

Currently newpage_html gets inserted between the <body> tags in the editor HTML. There should be a way to completely remove, or at least modify the default HTML that is being replaced when hitting the new page button.

#8121 Placeholder plugin messes the content of textareas Bug Normal Core : Parser
Description

This is more exactly a problem with the dataProcessor system, but this is the easiest way to reproduce it:

  1. Load the placeholder sample.
  2. Switch to source and add a textarea with a value that includes code that matches the placeholder syntax:
    <textarea cols='80' rows='8' name='test'>[[sample placeholder]].</textarea>
    
  3. Switch to design.

Expected results: the contents of the textarea are shown unmodified

Actual results: the textarea shows this content:

<span class="cke_placeholder" data-cke-placeholder="1" contenteditable="false">[[sample placeholder]]</span>.

And it will get worse everytime you switch to source and back to design.

The problem is that the placeholder plugin acts on the dataFilter 'text' filter, but the content of the textarea isn't text in the same way that it happens in other elements and it should perform the conversion in this situation.

Don't know right now what's the correct solution, maybe a second parameter to the 'text' filter specifying the element where this content is present?

The problem can be reproduced this way since the placeholder plugin was introduced, but the issue itself has been present since the beginning if someone used his own plugin to deal with 'text'

#8122 Insert a new line between a list and another line (internet explorer) Bug Normal General
Description

Insert the following code in source mode :

<ul>
	<li>
		foo</li>
</ul>
next foo

Go to wysiwyg mode, put your cursor at the beginning of the line "next foo". Push enter : new line inserted. Push up to go to the new line. The following error appear in IE console : nodeValue.length is null or not an object.

Thanks in advance.

#8124 Styles field is not validated Garry Yao Bug Normal CKEditor 3.6.2 Accessibility
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 the user 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, enter an invalid value in the Styles field e.g fakeAttribute
  3. Click OK.

Problem: There is no error warning that the value entered is not correct. When the dialog is opened again, the Styles field is now empty.

An error message should be displayed when invalid content is entered in the Styles field. This is an accessibility requirement.

#8125 'font size' and 'font name' are wrongly applied to selected text in XHTML sample Bug Normal General
Description
  1. Open XHTML sample in any browser
  2. Select sample text with a mouse
  3. Choose size ‘Double' from font-size combo
  4. Now choose font size ‘Smaller’ - you will see that text gets smaller but not as small as it normally does. What is more the ‘Double’ option in font-size is still selected.
  5. Choose font size ‘8pt’ and then ‘14pt’ you will see no change of the font size. What is more the ‘Double’ option in font-size is still selected.
  6. Now deselect the ‘Double’ option. You will see that ‘Smaller’ will be selected.
  7. Deselecting ‘Smaller’ causes ‘8pt’ to get selected
  8. Deselecting ‘8pt’ causes ‘14pt’ to get selected.
  9. The same thing is applicable for font name combo

This issue is reproducible from CKEditor 3.2.2.

In CKE 3.2.1 you could select font-size or font-name only once. After that no matter what you click font size or name won’t change.

#8126 Norwegian (no & nb) language updates for CKEditor 3.6.1 Anna Tomanek Bug Normal CKEditor 3.6.2 UI : Language
Description

I've translated all the missing entries from the nb.js and no.js language files. I also added the change from changeset 7025.

I've attached the updated language files and patch files.

#8127 Opera: Undo not restoring the deleted empty paragraphs Bug Normal General
Description

To reproduce the defect:

<p>
	first paragraph.</p>
<p>
	&nbsp;</p>
<p>
	third paragraph.</p>

paste the following code in source view, go to rich text, click on select all button and press Delete

see that all content in the editor is deleted.

click Undo

Expected Result: All the content(3 paragraphs( 2 full & 1 empty) that was deleted is restored back.

Actual Result: Only Paragraphs that have content(paragraphs 1 & 3) are restored and empty paragraphs(paragraph 2) are not restored.

#8128 Italian translation Anna Tomanek New Feature Normal CKEditor 3.6.2 UI : Language
Description

Finished the italian translation.

#8130 FCKEditor 2.6.6- Popup windows (Insert/Edit Link, Image, Table..etc)are not displayed in IE8 Bug Normal General
Description

After upgrading from IE6 to IE8,"Insert/Edit Link, Insert/Edit Table...", .... doesn't work in FCKeditor (version 2.6.6 ,Build 25427). It opens a popup but not shoing properly.

Not sure what the problem could be, It works fine in IE6.

Please see attached screen shot.

#8132 [IE9] When an <a> contains a <br>, when you click the <br> the <a> changes to <a name="cke_range_marker"> Garry Yao Bug Normal CKEditor 3.6.3 General
Description

In ckeditor 3.6.1 and also the latest nightly demo, eg http://nightly.ckeditor.com/7084/_samples/replacebyclass.html

If you have HTML where a link contains a break, like so:

<a href="http://google.com">In IE9 click the end of this line -&gt;<br />
	then the link turns into an anchor</a>

When you click on the end of the line containing the <br>, your link will immediately change to an anchor. The source is changed to this:

<p>
	<a name="cke_range_marker">In IE9 click the end of this line -&gt;<br />
	then the link turns into an anchor</a></p>

I have tested this with IE8, which doesn't have this problem. Other browsers (firefox, chrome etc) do not either.

#8135 Safari: Editor in autogrow does not render nicely when fullPage is set to true Bug Normal General
Description
  1. Set config.fullPage=true;
  2. Load the autogrow sample
  3. Start pressing enter rapidly. I nothing unusual has happened yet scroll up and start pressing enters again.

Result:
From rev [7018] - editor contents sometimes goes out editor border (see 7018.png)

From rev [7056] - editor is not rendered nicely (see 7056.png). Of course if you minimize the browser for a moment editor will come back to its normal look.

#8139 After inserting a table in IE8/9, can not move cursor below in ENTER_BR Bug Normal Core : Tables
Description
  1. Set editor to ENTER_BR mode with IE8/9. I used the "enterkey.html" file form _samples to duplicate.
  2. Insert a table into the empty editor.
  3. Note that you can not get the cursor below the table while you can get it above.
#8142 Application landmark taking focus to Tool bar instead of Editor body after visiting toolbar. Bug Normal Accessibility
Description

To reproduce the defect

  1. With JAWS On, open CK Editor sample, navigate in to editor body
  1. Press Alt+F10 to navigate in to toolbar.
  1. Press Esc to come out out of toolbar and go in to editor body.
  1. Press tab 3 times to come out of editor body & navigate to CK Source link.
  1. Press Ctrl + Insert + ; to open landmarks dialog
  1. Select Application landmark in the dialog and press Tab to go to Application landmark

Expected Result: Focus goes to editor body.

Actual Result: Focus goes to first enabled element in the tool bar.

This issue was some what related to #5955

#8143 Opera: incorrect basic styles toolbar behaviour Bug Normal General
Description

Steps to reproduce:

  1. Open demo http://ckeditor.com/demo on Opera 11.11.
  2. Clear all text inside the editor.
  3. Set normal paragraph font
  4. Click 'Strikethrough' button
  5. Type a text
  6. Click it again
  7. The cursor jumps to the beginning of the line and Strikethrough mode is not turned off
  8. Also when I turn on Italic mode, Underlined mode and Strikethrough mode, type some text and turn off Italic mode all other modes are also turned off and the cursor jumps to the beginning of the line.
#8146 Creating link continues onto second line Bug Normal General
Description

Using Chrome.

  1. Press the "Link" button.
  2. Enter "www.google.com", press "Ok"
  3. Observe that the selected link is placed into the editor.
  4. Press "End" to cancel the highlight and get cursor at end of link.
  5. Type "ABC".
  6. Observe that the characters aren't linked - which is correct.
  7. Delete these three characters with backspace
  8. If in ENTER_P mode, press, shift-enter, if in ENTER_BR, just press enter.
  9. Type "ABC".
  10. Note that "ABC" becomes linked, which it should not.

Simplified TC:

  1. In Chrome, Safari or Opera, having enter mode set to BR, clean editor contents using new page
  2. Click link button and insert link
  3. Press END button
  4. Press Enter (if you start typing everything is ok)
  5. Start typing - link is continued.
#8147 getting the cursor position... Task Normal General
Description

I have a requirement, where i have to get the characters that are around the cursor in source view of FCK editor 2.6.3. so Is there a way i can get the cursor position in terms of index or relative position? Using this index i can get the characters around it by incrementing or decrementing it?

Appreciate your help...

#8150 IE9 toolbar offset bug Bug Normal UI : Toolbar
Description

internet explorer 9 shows an additional offset of 11px between the tops of the cke_wrapper and the cke_editor table element.

#8151 Russian translation update Anna Tomanek Bug Normal CKEditor 3.6.2 UI : Language
Description

Russian translation update

#8152 'Paragraph Format' can not be removed by 'remove format' Bug Normal General
Description

'Paragraph Format' can not be removed by 'remove format' button

1.input some text in ckeditor 2.select all text, choose a format in 'Paragraph Format',such as 'heading 1' 3.click 'remove format' button,but nothing change

#8153 tab-key should increase indention of lists New Feature Normal Core : Lists
Description

Would be nice, if pressing tab-key would move a list-item to the next sublevel, as it is done when pressing the "increase indent" button in toolbar.

And of course it would be good, if shift+tab would decrease indention.

Thanks in advance, Stephan

#8154 CKEditor.NET - Configurations not rendered when set by code Bug Normal CKEditor 3.6.2 Server : ASP.Net
Description

When setting configurations by code, they are not taken into account.

Also the samples provided with, are always ASPX only, so no one really tested the configurations by code!

#8155 Special Character dialog window shows the same tooltip for symbols with different spelling case Anna Tomanek Bug Normal CKEditor 3.6.2 General
Description

To reproduce the defect:

  1. Open any CK Editor sample and open Special Character dialog.
  1. Hover your mouse over the two icons next to bullet in last row

Issue: They both have same label Rightwards double arrow.

The same goes for some pairs of letters, capital & small, like Œ and œ, for example.

#8157 IE8: We can't close Flash/Iframe dialog when dialog is over IFrame/Flash with dialog_startupFocusTab set to true Garry Yao Bug Normal CKEditor 3.6.3 Core : Selection
Description

To reproduce the defect:

  1. With dialog_startupFocusTab = true, paste the following code in source view and go back to rich text.
<iframe width="560" height="349" src="http://www.youtube.com/embed/39jtNUGgmd4" frameborder="0" allowfullscreen></iframe>
  1. Bring up IFrame dialog by opening context menu on IFrame.
  1. click OK button to close the dialog.

Issue: we can't close the dialog, when we drag the dialog away from the IFrame or Flash we can close it.

#8158 Adding a link to an image via toolbar fails if HTML comment is in image's DOM parent chain Bug Normal General
Description

Can be reproduced on the CKEditor demo page. 1) Go to http://ckeditor.com/demo 2) Click on 'Source' in the toolbar. Before the opening <h1>, add an HTML comment: <!-- this is a comment --> 3) Click on 'Source' again to toggle back to WYSIWYG mode. 4) Select the Little Red Riding Hood image. 5) On the toolbar, select the 'Link' button 6) Enter text for the link and click OK.

Result: Link Dialog does not close, image is not link-ified, JavaScript error appears in the console:

sibling.is is not a function

... /core/dom/range.js

Line 1032

It appears that range.js's 'enlarge' function is not taking HTML comments into account.

#8159 Editor fails to load if the browser has no default language set Alfonso Martínez de Lizarrondo Bug Normal CKEditor 3.6.2 UI : Language
Description

Reported in http://cksource.com/forums/viewtopic.php?p=58239#p58239

The solution is simple, but I thought that it might be better to verify that it's ok to include in the next release.

#8163 filebrowserWindowFeatures Sa'ar Zac Elias Bug Normal CKEditor 3.6.2 General
Description

I've noticed that there is no 'filebrowserWindowFeatures' - instead there is fileBrowserWindowFeatures (capital B) while all other "filebrowser" parameters are spelled in lower case. Is this intentional? (it took me pretty long before I realized that fileBrowserWindowFeatures was misspelled.)

#8165 Context Menu not allways closing Bug Normal General
Description

i have a problem with the context menu in ckEditor.

The context menu is not closing allways.

Steps to reproduce:

  • Add a table to an empty control.
  • Right click into the table (context menu will open)
  • Navigate to a submenu e.g. Insert Cell Before but dont click
  • Navigate to Paste (or any other item without submenu) without leaving context menu area and dont click
  • Navigate left leaving the context menu and click to the content.

The context menu will stay and just disappears when selecting a menu item or right click somewhere else in the ckeditor control.

When leaving the contrext menu before hovering the Paste the context menu will close when clicking into the content.

Browsers: All OS: Windows 7

This behaviour is shown in the online demo and nightly build.

Ciao

#8167 CKEditor crashes on simple html code Bug Normal Core : Parser
Description

CKEditor crashes with this simple html code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  </head>
  <body>
    <br>
    <div>
    </div>
  </body>
</html>

Firefox points the problem to core/htmlparser/fragment.js:270.

If you remove the <br> it works:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  </head>
  <body>
    <div>
    </div>
  </body>
</html>
#8168 CKEditor is not showing Bug Normal Server : ASP.Net
Description

Hello,

With Special Thanks of your Dev Group For this Powerful Editor,

I Get Free Download of CKEditor, And Test it in my Local Host in ASP.Net on VB.Net 2005 It Was OK

http://upload.elmoiman1374.ir/cke/local%20host%20shown.jpg

But When i Test it in the Host it is not showing and just a textarea is showing with no error in fiebug.

http://upload.elmoiman1374.ir/cke/host%20shown.jpg

even i test it in a sub domain, and copy the < _Sample > Folder by SmartFTP to Server, but it just Show a textarea.

When I copy FCKEditor to There No Thing Was Shown in Java Sample.

Please Help Me, Everyone Say That this is Free, I Don't know any thing else about it

#8170 Mouse wheel New Feature Normal General
Description

This is just a suggestion but it wouldn't hurt considering it: It would be nice, if mouse wheel used over the editor content disabled scrolling of the entire html page - in other words - if you scroll to the bottom (or top) of your ckeditor content, and keep scrolling (which you almost always do as it is hard to stop turning the wheel at the exact edge of the document), the entire page starts scrolling too, often moving the editor area out of view. It would be nice if there were a mouse wheel handler disabling scrolling of the entire page (but, of course, only if the mouse is over the edited content, elsewhere in the page, scrolling should move the entire page up and down - and leave the editor itself unaffected).

#8171 Change WebSpellChecker wsc_customLoaderScript Task Normal CKEditor 3.6.2 UI : Spell Checker
Description

DNS names of service hosts changed due to rebranding of SpellChecker.net to WebSpellChecker.net. Patch changes default value for wsc_customLoaderScript.

#8172 Change SpellCheckAsYouType scayt_srcUrl Task Normal CKEditor 3.6.2 UI : Spell Checker
Description

DNS names of service hosts changed due to rebranding of SpellChecker.net to WebSpellChecker.net. Patch changes default value for scayt_srcUrl.

#8173 disableObjectResizing on tables only New Feature Normal General
Description

It would be nice if it were possible to define disableObjectResizing for specific objects. In my case I want it off for images but on for of tables. I'm not sure if any other "objects" are affected by this property but one way or another, it would be nice to implement either disableTableResizing and disableImageResizing or disableObjectResizing = "table", disableObjectResizing = "image", and disableObjectResizing = "table, image".

#8174 need ability to change the 'target' of a link New Feature Normal General
Description

1.create an anchor 'test1' 2.create a link,chose 'link to anchor in the text' in link type drop-down list, then choose anchor 'test1' just created.

it will create a link like this <a href="#test1" target="_blank">text</a>

need ability to change the 'target' in the link info tab,such as '_blank','_self','_parent' or remove the target attribute.

http://www.w3schools.com/tags/att_a_target.asp

#8176 Ckeditor reformats HTML in its own way! Bug Normal General
Description

By the Grace of G-d

  1. When I copy and paste text from word, saved in .doc or HTML, it reformatts it in a unusual way (spacing between lines, fonts, size)
  2. When I format the text within the editor and hit Save button, it often resets some of formatting.
  3. When I insert links, it sometimes adds other links to other parts of a text.
  4. It does not let me insert and save ancors although the button is there and it pops up the anchor window - I have to put them one by one manually within the HTML code
  5. After formatting the text with the editor, it then resets arbitrarily when I try to format another part of the text.
  6. When I click save, after all the formatting is done within the editor, it arbitrarily resets formatting, or adds new formatting.
  7. The "undo" button only goes back a few steps, and it disables anfter "Save" command.
  8. When I type in my own code, it still re-writes and over-writes it when I press "preview" or "save"

#8178 CKEditor toolbar should float on a page and be dynamically attached to any selected HTML / DOM element New Feature Normal UI : Toolbar
Description

What we need is the editor's toolbar to be rendered but without that lower body being displayed. Only when a target is selected, will the gray container surrounding the editable area appear. Alternately - when the target is de-selected, the gray border surrounding the editable area will disappear but the editor's toolbar will still remain.

#8179 Hungarian translation update Anna Tomanek New Feature Normal CKEditor 3.6.2 UI : Language
#8181 Incorrect background color setting while changing font size. Bug Normal Core : Styles
Description
  1. Set text background color to background-color:#0000ff or any other.
  2. Type few characters and press space
  3. Change font size to bigger one
  4. Repeat step 2 and 3 until font size 72

Expected

Each part of text should have its own background, height of background is set according to font size.
Example:

<p>
	<span style="font-size:24px;"><span style="background-color:#0000ff;">asd </span><span style="font-size:36px;"><span style="background-color:#0000ff;">asd </span><span style="font-size:72px;"><span style="background-color:#0000ff;">asd </span></span></span></span></p>

Actual

<p>
	<span style="background-color:#0000cd;">asd<span style="font-size: 16px;"> asd<span style="font-size: 20px;"> asd<span style="font-size: 24px;"> asd <span style="font-size: 72px;">asd</span></span></span></span></span></p>

Attached screen

additional info

I was able to reproduce this under FF since cke30, under webkit browsers since 3.5.3 (afer "setting style on colapsed selection" was solved)

#8182 Table context menu does not display in final row with TH enabled Bug Normal General
Description

We need to produce accessible tables, so have added in patches to allow THEAD #2430 and #822. When a table head is specified via Headers in table properties, it is not possible to display the table edit contect menu via right clicking in the final table row, in particular this makes it trickier to add in an extra row after the current last row. Without Headers set, right clicking displays the table menu in all cells/rows, with it set, it cannot be displayed in the last row. We have found the same issue in IE 7/8 and 9, we are using FCK within the FatWire CMS interface. I've attached two screenshorts showing the effect when right clicking in the last row of a table with header and without. Thanks

#8183 Find does not highlight found words for contentEditable=false Bug Normal General
Description

Put the attached source into the CKEditor. Open the Find dialog, enter "This". Notice that there is no feedback given that the item is found. Cancel the dialog and "This" is highlighted.

Regression from 3.4.2, where word correctly shows as highlighted when found.

#8184 Inconsistent behavior when inserting <dt><dd> into a definition list with insertHtml Bug Normal Core : Lists
Description
  1. Open _samples/api.html
  2. Start with the following source and selection
    <p>first line</p>
    <dl>
    <dt>^definition1</dt>
    <dd>detail1</dd>
    </dl>
    
  3. Paste into the textarea below CKEditor:
    <dt>definition</dt><dd>detail</dd>
    
  4. Click "Insert HTML"
  5. Results:
    IE - new definition list is created
    Firefox - dt/dd is pasted inside of exisitng definition list, but also an empty definition term is created:
    <dl>
    	<dt>
    		&nbsp;</dt>
    	<dt>
    		definition</dt>
    	<dd>
    		detail</dd>
    	<dt>
    		^definition1</dt>
    	<dd>
    		detail1</dd>
    </dl>
    
#8185 Delete Table Context Menu not working Bug Normal General
Description

Tested in IE8. Reproducible in IE7,6 .

  1. Access the editor.
  2. Click table icon.
  3. Set "Height" to 300 pixels.
  4. Click "OK" button to add a table.
  5. Right click on the bottom part of the table and choose "Delete Table".

The table is not deleted.

Issue seems to be with this line in tabletools/plugin.js - "startElement.getAscendant( 'table', 1 )".

#8187 Move icon shows only in Firefox Bug Normal General
Description

when I set position:absolute to a div or image , the "move" icon shows above the element . but it is not showing in other browsers Example : <div style="position:absolute;">

Your Text Is Here</div>

the above div shows "move" icon and you can move it without problems but only in FF

thanks

#8188 Internet Explorer 9 inserts sab="#" tags Bug Normal General
Description

Using FCK Editor version 2.6.3 on a Drupal install with the FCK Editor Module version 6-x2.1. Everything works fine with every browser except IE 9. In Internet Explorer 9 (version 9.0.8xxx) the editor is now inserting the sab="#" tag. The # is always some arbitrary number that it picks then begins counting from there with every element. So p sab="1" br sab="2" etc.

I had previously also had trouble getting the About section to display without locking up but that was resolved with the <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" /> fix. This does not resolve the sab="" situation unfortunately.

Is there any way to get rid of this sab tag? Is anyone experiencing the same issue with a newer version?

#8190 Ckeditor in Small IFrame Bug Normal UI : Dialogs
Description

I stuck in this for a while. I place the editor in a small iframe (the size is just as big as the editor).In FCkeditor 2.x,the dialog and menus will float in the parent.But in new Ckeditor,It is just float in the iframe ,that cannot displayed completely.

How can I make the dialog float in the parent just like 2.x? tanks

#8192 CKEditor dow not work properly if editor.js loaded indirectly Bug Normal General
Description

I have loader PHP script on server for loading javascripts and stylesheets. When I load CKEditor by this way:

<script type="text/javascript" src="/getmisc.php?f=/_admin/ckeditor/ckeditor.js"></script>

CKEditor is shown, but without buttons icons and other visual elements. When I just change loading path to this:

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

CKEditor loads fine and everything is OK. I have this line in config.js:

config.baseHref = '/getmisc.php?f=/_admin/ckeditor/';

and even I leave it unchanged and load directly only editor.js CKEditor loads correctly. Just change editor.js to second (indirect) way and CKEditor do not loaded properly.

#8193 Finnish translation update for anchor and toolbar groups Anna Tomanek Bug Normal CKEditor 3.6.2 UI : Language
Description

Translations for some of the missing phrases in /trunk/_source/lang/fi.js

Again I don't have checkout at hand so I don't have a patch to give.

Anchor dialog anchor : { ... remove : 'Poista ankkuri' },

toolbarGroups : { ...

editing : 'Muokkaus', forms : 'Lomakkeet', basicstyles : 'Perustyylit', paragraph : 'Kappale', links : 'Linkit', insert : 'Lisää', styles : 'Tyylit', colors : 'Värit', tools : 'Työkalut'

},

#8194 Tab Order broken with radio buttons inside a dialog Bug Normal General
Description

To reproduce the defect:

Use CKEditor Dialog API Sample and change the dialog Definition to add Radio buttons to the dialog. (I have attached the dialog definition that i used)

Press Tab after you reached the Radio buttons.

Expected Result: Focus goes to OK button.

Actual Result: Focus stays on the radio button itself, even we press Tab any number of times focus stays on the radio button.

This will cause an Accessibility Failure

There are more cases described in #8401.

#8195 Moving in and out of element boundaries in Firefox Bug Normal General
Description

This is the continuation or extension of #7796.

  1. Open replacebycode sample and clean both editors
  2. In first editor press bold button and type few words
  3. Go to second editor and type few words
  4. Go to first editor and click behind the text

Result: Bold button is no longer activated. It all depends whether Firefox decides whether you have left element boundaries or not.

After discussoin with @wwalc we have decided to create such ticket and link it to #7796 just to mark that this is not only about pasting.

#8196 Upload media within text New Feature Normal General
Description

I need to be able to upload podcast and video to appear within the text - can it be done?

#8197 Folders pane too small in CKFinder File Browser in Internet Explorer Bug Normal File Browser
Description

I am running the ColdFusion version of CKFinder and have integrated it with CKEditor. When I launch the File Browser (by clicking the 'Browse' button) in IE9 the 'Folders' pane at top left is too small to use effectively - it only shows the word 'Folders' and is a very small height with a vertical scrollbar. This problem does not exist in Firefox, so I suspect it is a CSS or JavaScript issue with IE. Can you please check this out? Thank you.

#8199 ASP.NET & CKeditor failed! Bug Normal Server : ASP.Net
Description

I'm trying to build a website with ASP.NET (C#). I integrated the CKeditor correctly(by the help of the installation guide). My site is connected to the Access Database file. I'm trying to get the writed text into the CKeditor and send it to my database. But it seems like '<p>' in my database file. I can't solve this problem about a week.

P.S. I did not make any changes on webconfig file.

#8200 Inserting Page break inside table body Bug Normal Core : Tables
Description

Not sure if it is a bug or expected behaviour.

Environment

FF, Chrome, IE8 Ubuntu/WinXp

TC

  1. Insert default table
  2. While cursor is in first cell in first row, press Page Break button.

Result:

<table border="1" cellpadding="1" cellspacing="1" style="width: 500px;">
	<tbody>
		<tr>
			<td>
				<p>
					&nbsp;</p>
				<div style="page-break-after: always;">
					<span style="display: none;">&nbsp;</span></div>
				<p>
					&nbsp;</p>
			</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>

Is it expected that page break is allowed inside table cell?

#8202 [IE] Pasting or typing a textual link auto-hyperlinks it Bug Normal General
Description

We have noticed an odd browser inconsistency when integrating with CKEditor. The issue can be duplicated in the online demo here:

http://ckeditor.com/demo

Visit this page in IE8 or IE9 and scroll to the end of the editor area. Hit enter so you are on a new line. Type in (without quotes) "http://google.com" and then hit the space bar. Bug: The textual URL you just typed in is auto-hyperlinked.

Similarly, this bug exists when you paste in a textual link.

Open notepad/text editor and type in "http://google.com" without quotes. I am doing this just to ensure that we are not copying formatted data from some source. You can similarly copy the URL from the address bar. Go to an empty spot in the editor and hit ctrl + v to paste it in. Bug: The textual link you pasted in is auto-hyperlinked.

The issue is duplicated on Windows XP and Windows 7 (at least). The issue is not present in Firefox 5, Chrome 12, or Safari 5.

#8203 [Chrome] ALT+S for submitting a post in IPB and vBulletin does not work Bug Normal Core : Keystrokes
Description

Both Invisionpower and vBulletin have started using CKE editor in the last few weeks. Both of these applications no longer work with the accesskey ALT+S in Chrome to submit your post or entry.

They both work fine in other browsers, but Chrome does not.

Is this something that can be resolved? It's a very common standard shortcut for submitting forms and post, and all the chrome users are getting upset!

This has been tested and reproduced on several platforms, WinXP, Win7, IE, FF, opera all work, Chrome fails.

Thank you

#8204 table resize issue New Feature Normal General
Description

How to resize the table cell using curser in editor.

I think that this feature request should sound: Please provide a way to resize height of column/row with a mouse cursor

#8208 Disable data URIs when pasting images New Feature Normal General
Description

When pasting images into CKEditor in Firefox 5, a Data URI is used as image source. I would like to be able to disable this, so that in this case no image is pasted.

To reproduce:

  1. Right-click any image in Firefox 5
  2. Select 'Copy Image'
  3. Paste the image into CKEditor

Result:

The source of the pasted image is data:image/png;base64,iVBORw0KGgo...

This might be reproducible in other browsers as well.

I'm sorry, I don't know the right component for this ticket.

Thanks in advance.

#8210 CKEditor not showing up in Drupal boxes Bug Normal General
Description

CKEditor is a wonderful tool. However, right now I'm using a clean Open Atrium 1.0 install with latest version of CKEditor.

The editor does not show up in custom boxes in the dashboard. I have not been able to get it to work in boxes in D7, D6, and Open Atrium.

I've spent so much time to solve this. Can you please suggest a solution?

#8211 scayt span tags left in returned text with Firefox Bug Normal Core : Output Data
Description

When using Firefox 5.0, Misspelled words are returned with the word delimited by the SPAN tags used by Scayt to mark the word (when auto-spellchecking is turned on).

For example, typing the word "mispelled" into a CKEditor enabled window and submitting the form will return this string:

<span data-scayt_word="mispelled" data-scaytid="1">mispelled</span>

IE 9 and Chrome appear to work fine.

#8212 data-scayt_word come automatic Bug Normal General
Description

Hello,

I am using the CKEditor 3.x, from last few days i am facing following problem

In ckEditor i made this text $#rajesh and apply the strong tag if i check the view source it will look like this <strong>$#rajesh</strong>

When i hit enter to save in database, it will be save like this <strong><span data-scayt_word="rajesh" data-scaytid="12">$#</span>rajesh</strong>

so when i want to fetch it from database, simply i fire the SELECT query for that field and fetch it. i want to replace the $#rajesh text with another text and because of this <span data-scayt_word="rajesh" data-scaytid="12"> TAG i cant find it.

I also check it in the ckEditor HTML Source, it will be not there, only when it will save in DB at that time it will save like that.

i have posted same on - http://cksource.com/forums/viewtopic.php?f=11&t=23059

i am confused, how this is coming...is any solution?

#8214 Invalid table colspans break row insert Bug Normal Core : Tables
Description

Reproduce steps:

  1. Open demo
  2. Paste the following in source:
    <table>
    	<tbody>
    		<tr>
    			<td colspan="4">
    				First row</td>
    		</tr>
    		<tr>
    			<td>
    				1</td>
    			<td colspan="2">
    				2</td>
    		</tr>
    	</tbody>
    </table>
    
  3. Click source again to leave source mode.
  4. Right click table and insert row before or after.

Expected result

The row will be inserted before or after, respectively.

Actual result

No row is inserted and in webkit browsers a JS error is thrown:

Uncaught TypeError: Cannot read property 'rowSpan' of undefined

Browsers

This was tested with Chrome 12, FF5, and Safari 5.1.

#8215 config.enterMode = CKEDITOR.ENTER_BR cause error on ie7 Bug Normal General
Description

config.enterMode = CKEDITOR.ENTER_BR; cause getRange error on ie7 when you unfocus the editor and scroll the page

#8216 Source protection doesn't work properly in some cases Bug Normal CKEditor 4.3.4 General
Description

The default protection of <SCRIPT> tags and comments doesn't seem to work properly in certain cases, when <SCRIPT> tag is followed by a comment.

Steps to reproduce

  1. Paste the following source code:
<p>
<SCRIPT LANGUAGE="JavaScript">
//'
</SCRIPT><!-- comment --><SCRIPT LANGUAGE="JavaScript">
//'
</SCRIPT></p>
  1. Switch to wysiwyg mode and back
  2. Result: code is changed into:
    <p>
    <SCRIPT LANGUAGE="JavaScript">
    //'
    </SCRIPT>{C}{C}{C}<!-- comment --><SCRIPT LANGUAGE="JavaScript">
    //'
    </SCRIPT></p>
    

(an extra {C} is added everytime when swiching to source and back). Also an extra text {cke_protected_1} is displayed in wysiwyg mode.

Note: it is a reduced example made from a more complicated sample taken from a live website.

#8217 Turkish Translation of CKFinder New Feature Normal UI : Language
Description

Finished the Turkish translation of CKFinder.

#8219 Copy pasting URL in FireFox Bug Normal Core : Pasting
Description

The issue is by coping a URL in the browser address and pasting it on the CKEditor.

It is pasted as a plain text when using FireFox browser (without the a href tag: to show that it is a link)

But when the same scenario is copied in Internet Explore, it identifies it as an URL.

Hope this is clear enough and you'll have a patch to fix it.

This issue is there even in the CKEditor in you're demo page.

#8220 Renaming ckeditor.js file couse error Bug Normal General
Description

Greetings,

after 5 hours of solving my ckeditor bug:

  • toolbar is undefined
  • m.lang.contectMenu is undefined

....

I found simple bug:

For purposes of my CMS i use custom js library names so i rename ckeditor.js into lib.ckeditor.core.js

After that nothing worked.

Obviously scripts have predefined min ckeditor file name.

My tree structure:

  • lib






.......

index.php

All files are successfully included.

If i missed something, please tell.

#8221 IE: Selection bug when opening dialog on certain content Bug Normal Core : Selection
Description

There seems to be some odd behavior when opening a dialog in the editor without having focused inside the content area. The bug can manifest itself by deleting the HEAD element of the parent document. The loss of the parent document HEAD element does not occur usually on the nightly samples but does occur consistently in our application environment. My suspicion is that this is just due to some odd timeout order being fired as I have seen the issue occur in a nightly sample when stepping through the code with a debugger.

To reproduce:

  1. Open the AJAX sample
  2. Set the data like (the div is important):
    <div>
      <p>Test Paragraph</p>
      <p>Test Paragraph</p>
      <p>Test Paragraph</p>
    </div>
    
  3. Go back to WYSIWYG mode and press "Remove Editor"
  4. Press "Create Editor"
  5. Open the Find dialog from the toolbar, without focusing inside the editor body.

Expected Result: The dialog appears normally.

Actual Result: Although the dialog appears normally, an indication of the selection bug is visible. The Paragraph Format combo will indicate "Heading 1" as selected, this is in fact referring to the sample page heading! This erroneous value for Paragraph Format may seem insignificant, but it is related to our HEAD element being lost.

In addition, you can see that the 'data-cke-bookmark' span is appended to the H1 element at the top of the page.

This is a serious issue as the document outside the editor is being adversely affected.

#8222 IE: Selection bug when opening dialog on certain content Garry Yao Bug Normal CKEditor 3.6.2 Core : Selection
Description

There seems to be some odd behavior when opening a dialog in the editor without having focused inside the content area. The bug can manifest itself by deleting the HEAD element of the parent document. The loss of the parent document HEAD element does not occur usually on the nightly samples but does occur consistently in our application environment. My suspicion is that this is just due to some odd timeout order being fired as I have seen the issue occur in a nightly sample when stepping through the code with a debugger.

To reproduce:

  1. Open the AJAX sample
  2. Set the data like (the div is important):
    <div>
      <p>Test Paragraph</p>
      <p>Test Paragraph</p>
      <p>Test Paragraph</p>
    </div>
    
  3. Go back to WYSIWYG mode and press "Remove Editor"
  4. Press "Create Editor"
  5. Open the Find dialog from the toolbar, without focusing inside the editor body.

Expected Result: The dialog appears normally.

Actual Result: Although the dialog appears normally, an indication of the selection bug is visible. The Paragraph Format combo will indicate "Heading 1" as selected, this is in fact referring to the sample page heading! This erroneous value for Paragraph Format seems insignificant, but it is somehow related to our HEAD element being lost.

In addition, you can see that the 'data-cke-bookmark' span is appended to the H1 element at the top of the page.

#8223 Disabling the Advanced tab for links causes "undefined" to be assigned to the name attribute Bug Normal UI : Dialogs
Description

When disabling the Advanced tab for links using the following:

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

    if (dialogName == 'link' || dialogName == 'image') {
        dialogDefinition.removeContents('advanced');
    }
});

The name attribute is being assigned to any edited links as "undefined". This causes the yellow anchor image to be displayed next to the link, causing our users some confusion.

#8224 IE : scayt AutoStartUp and EnterMode BR moves cursor to the beginning. Bug Normal UI : Spell Checker
Description
  1. Place attached file in sample folder. It contains only two settings:
    var e = CKEDITOR.replace( 'editor1', {
    scayt_autoStartup:true,					
    enterMode : CKEDITOR.ENTER_BR					
    });
    
  2. Open it in IE8 (wait a second until everything loads)
  3. Select whole sample text with a mouse and delete it using BACKSPACE
  4. type "how"

Result: it will be typed as "owh". That is it will be typed as ‘owh” if you type it with regular speed. If you type h, wait until cursor moves to the beginning, type o, than wait again, type w, you will get “woh”.
To sum up if you type a letter and wait the cursor will be moved to the beginning.

Issue has been reproducible in IE8 only from CKE 3.5.3

#8225 Using full screen in source mode misplaces the editor in the demo site Bug Normal General
Description

Test http://ckeditor.com/demo the nightly build seems OK, so it might be some interaction with the css.

Load the demo site in Firefox 6 in mac, switch to source mode and then maximize the editor: the textarea is shown partly off-screen.

Chrome on mac works fine. Firefox 5 on windows works fine

#8227 Problems with insertElement in IE7 Bug Normal Core : Selection
Description

The following is my code snippet that works for every other browser (except IE7)

The IE7 I had issues with, was a genuine IE7 (from one of my testing rig), not IE8 emulating as IE7 under development mode.

The plugin I have written for CKEditor opens up a new window. After the user finished interacting with the plugin browser window and click submit, it'll automatically generate the required html and insert into the editor.

var FCK = window.opener.CKEDITOR;	        
  if (FCK != null)
  {
     var mySelection = FCK.instances.CKInstance.getSelection();
      if (FCK.env.ie) {
           mySelection.unlock(true);
           selected_html = mySelection.getNative().createRange().text;
       } else {
            selected_html = mySelection.getNative();
       }
  }

The problem is that, the above code works for IE8+ and FF, but when under IE7, 'mySelection.getNative().createRange().text' returns ""

The work around for this issue is:

The problem was that, under that specific setup, "mySelection.getNative().createRange().text" returns empty string.

I did an experiment, where I rewrote my plugin to insert the html content into an iframe within a CKEditor dialog. That particular problem went away after I changed the code to look for window.parent.CKEDITOR

However, under such setup, another problem was encountered under IE7, where it did not insert the element properly under such environment.

This is an example of the code I used to insert the html element:

   var element = FCK.dom.element.createFromHtml(html);
    FCK.instances.CKInstance.insertElement( element );		

However, under IE7, all that did was replaced the selected text with empty lines. I did further experimentation, I discovered the following method worked perfectly under IE7 and other browsers.

FCK.instances.CKInstance.insertHtml( html);	
#8228 [Webkit] enter does not exit from pre blocks Bug Normal Core : Styles
Description
  • Type some text
  • Apply Formatted paragraph format
  • Press enter. Nothing happens.
  • Press enter the second time. The new line inside pre block will be created.

Expected: creating of the new paragraph after the first enter.

Probably reason: range.checkEndOfBlock returns false in this case.

Also it would be great if you'll make the behavior of Enter key inside pre blocks configurable so it is possible to come back the old behavior - exiting from pre blocks with Shift+Enter.

#8229 Updating data in CKEditor on IE 8 blanks out the data Bug Normal General
Description

The code we have works fine on Firefox. That said, it is weird on IE 8. On IE 9, it simply crashes the browser. Here is what we are doing: On a page with N CKEditor instances, we let the user enter some data in each of the N text areas. After this, the user can choose the kind of alignment she would like to have & it is expected that the data in each of those text areas would align themselves relative to the longest string of data (and some other rules). Hence, it is expected that the CKEditor instances will update themselves & render properly aligned data. Here are the high level steps we are executing:

  1. Get the CKEditor instances & pass them to the alignment function (JS)
  2. Remove all custom <span>s that we might have applied on each of the instances & simply work with the data
  3. Compute the widest data amongst the instances
  4. Add custom span to each CKEditor instance's data with a padding derived relative to widest piece of data
  5. Call updateElement()

Typical sequence of functions called:

  1. var initialHtml = this.getSnapshot();
  2. Manipulate initialHtml into replacedHtml
  3. this.loadSnapshot(replacedHtml);
  4. this.updateElement();

With each of the editors, the sequence of function calls is as follows:

  1. var html = this.getBody(); & var spanElement = $(html).find('.special_class');
  2. Compute width & required padding
  3. spanElement.replaceWith('blah')
  4. this.updateElement();

Once again, this works fine on FF & then has erratic behaviour on IE 8. Sometimes the alignment goes through fine. Sometimes only some are aligned. Often all data gets cleared/blanked out. On IE 9 it simply crashes.

#8231 Paste or PaasteFromWord with CKEditor in Webkit and Opera inserts empty paragraphs. Bug Normal CKEditor 4.6.0 Plugin : Paste from Word
Description

Steps to reproduce:

  1. Copy the below code taken from http://ckeditor.com/demo
    <h1>
    	<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;" />Little Red Riding Hood</h1>
    
  2. Go to CKEditor sample (any sample)
  3. Clear editor contents using Command+A and Backspace
  4. Paste the demo contents using Command+V
  5. Switch to source

Result:In full page mode there will be extra empty paragraph right after body tag and from CKEditor 3.5.4 rev [6698] there will also be extra empty paragraph right before closing body tag. In any non full page sample you will see empty paragraph at the top and form CKE 3.5.4 also at the bottom


  1. Copy sample list from the attached listTest.doc
  2. Go to CKEditor sample (any sample)
  3. Clear editor contents using Command+A and Backspace
  4. Paste the demo contents using Command+V
  5. Switch to source

Result:You will see empty paragraph at the top and form CKE 3.5.4 also at the bottom


Paragraph at the top has been reproducible in Opera and Webkit from CKEditor 3.0 In Opera 11.62 it is not possible to copy contents from one editor into another so the problem is only reproducible in Webkit. Further more - problem with paragraph at top is because of bug #6131, that is why this ticket should only concern removing paragraphs at the bottom

Paragraph at the bottom has been reproducible in Opera and Safari from CKE 3.5.4 rev [6698] In Opera 11.62 it is not possible to copy contents from one editor into another so the problem is only reproducible in Safari.

This issue is reproducible in all Operating Systems.

NOTE: From CKEditor 3.5.3 if you press backspace two or more times (Look step 3) it is possible to delete the default paragraph. If you do that and then paste the text from demo the paragraph at the top will not be present.

#8232 Inline styles create empty garbage "cke_bm_" spans Garry Yao Bug Normal CKEditor 3.6.2 Core : Styles
Description

This happens in IE9/Windows 7 at least (other versions not yet tested). It does not happen in FF4/Windows 7.

Problem exists in the current nightly build and 3.6.1 at least.

Steps to reproduce:

  1. Open the demo page (http://ckeditor.com/demo)
  2. Highlight the " about" text next to the "fairy tale" link USING THE MOUSE. Make sure the space before "about" is also selected.
  3. Change the text color
  4. The text color does not change, and empty hidden spans <span id="cke_bm_104S" style="display: none;">&nbsp;</span> are added

Notes:

  • This happens with text or background color (possibly other operations as well)
  • Strangely it doesn't happen when you highlight " about" with the keyboard, holding shift to highlight.
  • I have noticed that empty hidden spans are added in other cases as well, but again it only happens with mouse selection, not if you select with the keyboard.
#8234 [Webkit]: Problems when pasting from Demo page Bug Normal General
Description

First of all I'm not sure if this is not duplicate.
Since I haven't found any thing like that I'm reporting it.

I have found this issue when reproducing #8231.

  1. Go to http://ckeditor.com/demo, select all and copy it using CRTL+C
  2. Go to CKEditor sample (any sample)
  3. Clear editor contents using Command+A and Backspace
  4. Paste the demo contents using Command+V
  5. Now press few times the following combination: CRTL+A, Backspace, CRTL+V

Result: Some parts of the code are duplicated what can be seen in elements path(See attachment)

NOTE:
I have stripped down the demo code to

<h1>
	<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;" />Little Red Riding Hood</h1>
<p>
	&quot;<b>Little Red Riding Hood</b>&quot; is a famous <a href="http://en.wikipedia.org/wiki/Fairy_tale" title="Fairy tale">fairy tale</a> about a young girl&#39;s ...</p>
<p>
	&nbsp;</p>

And this is the result after executing the above TC:

<p>
	&nbsp;</p>
<div style="font-family: Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); ">
	<h1>
		&nbsp;</h1>
	<div style="font-family: Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); ">
		<h1>
			&nbsp;</h1>
		<div style="font-family: Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); ">
			<h1>
				&nbsp;</h1>
			<div style="font-family: Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); ">
				<h1>
					&nbsp;</h1>
				<div style="font-family: Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); ">
					<h1>
						&nbsp;</h1>
					<div style="font-family: Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); ">
						<h1>
							<img alt="" src="http://a.cksource.com/c/1/inc/img/demo-little-red.jpg" style="cursor: default; margin-left: 10px; margin-right: 10px; float: left; width: 120px; height: 168px; " />Little Red Riding Hood</h1>
						<p>
							&quot;<b>Little Red Riding Hood</b>&quot; is a famous&nbsp;<a href="http://en.wikipedia.org/wiki/Fairy_tale" title="Fairy tale">fairy tale</a>&nbsp;about a young girl&#39;s ...</p>
						<div>
							&nbsp;</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<p>
	&nbsp;</p>
#8235 Removing some unused CKEditor langueage files Task Normal General
Description

Hi all,

I'm having issues for removing some unused CKEditor language files, been looking all over the place, can't find any so far how to remove correctly...

My goal is the remove some language file(s) that I wont be using such as (eg. ckeditor/_source/lang/pl.js) for example when I try to remove pl (Polish) and change some config from _languages.js, after that when i test everything just pawn out...

please can anyone of you guys help me correctly remove language file off from ckeditor.

P.S. I'm using PHP CKEditor

Any help will be great and you guys are awesome! Thanks!

#8236 specialchar plugin does not allow non-breakable space &nbsp; Bug Normal General
Description

As a workaround for #5523, I have tried to add &nbsp; as a special character available through the specialchar plugin.

It doesn't work: CKEditor adds a normal space instead of &nbsp;

#8238 Estonian translation update Anna Tomanek Bug Normal CKEditor 3.6.2 UI : Language
Description

The file is attached.

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