Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1601 - 1700 of 2591)

Ticket Summary Status Owner Type Priority Milestone
#9070 Right klick destroys the list format confirmed Bug Normal
Description
  • Make a list (numbered or bullet) like
            1.text
            2.text
    
  • Make a new line outside the list
  • Go back in the list with the cursor
  • do a right mouse click outside the list to leave it
  • insert another list, "1." appears and write "text"

--> the text appears one line below and if you delete the text (backspace) the "1." one line above will be deleted

#9073 ImageUpload callback can not be called cross-domain. confirmed Bug Normal
Description

When using filebrowserImageUploadUrl, CKEditor creates an iframe and loads the given filebrowserImageUploadUrl as the source for the iframe. It is my understanding that the HTML loaded in the iFrame is then supposed to execute a Javascript looking like this:

window.parent.CKEDITOR.tools.callFunction(CKEditorFuncNum, uploadedImageUrl, sucessMessage);

The problem is that when filebrowserImageUploadUrl is not on the same domain as the originalPage, browsers absolutely refuse the javascript to access window.parent.CKEDITOR, and the callback is never called back. If I analyzed the problem correclty, this could probably be made to work by creating a <script> tag instead of an <iframe>, in which case there is no cross-domain problem.

#9078 Keyboard shortcut for º (degree symbol) is not working on Mac confirmed Bug Normal
Description

On Mac OS X the keyboard shortcut of alt + 0 (zero) is used to enter º (degree symbol).

In CKEditor this keyboard shortcut does not work. Instead a window with accessibility instructions pops up.

This behavior is very confusing for the user as it does not happen when any other text field is selected.

Proposed changes:

Use another keyboard shortcut for this window on Mac OS X that does not interfere with any system functionality.

#9095 SCAYT adds bad characters confirmed Bug Normal
Description

This was reproduced on CKEditor's demo.

Reproducing the problem

Enable SCAYT Type "This is my text." Select the final word and give it a style (ie: bold) Place cursor at the end of the paragraph using keyboard or mouse. Press enter to create a new paragraph. Type "This is my text." (NOTE: text will be bold as expected). Repeat step 5 & 6. Note that the word "This" will be underlined with a red squiggle. Control case

Make sure SCAYT is not enabled Type "This is my text." Select the final word and give it a style (ie: bold) Place cursor at the end of the paragraph using keyboard or mouse. Press enter to create a new paragraph. Type "This is my text." (NOTE: text will be bold as expected). Repeat step 5 & 6. Enable SCAYT Note that the word "This" will NOT be underlined with a red squiggle.

#9104 IE Compat view: Cursor missing when we apply Right alignment with out focus in editor body confirmed Bug Normal
Description

To reproduce the defect:

  1. Open Ajax Sample
  1. With out focussing in editor body, Click ok Align Right icon in the toolbar.

Expected Result: Right Alignment applied & cursor shown on the right hand side of editor body.

Actual Result: Cursor goes missing & it appears only when user starts typing the text.

This is happening from revision [7421]

#9111 Anchor displayed as inline-block in IE confirmed Bug Normal
Description

When using a template that renders an anchor in display: inline-block, it's impossible to edit the content of this anchor. The problem occurs in IE8/9, not Firefox of Chrome.

The Source is :

<p><a class="file file_doc" href="#">Document PowerPoint</a></p>

The CSS is :

.editor .file {

display: inline-block; padding: 2px 0 2px 22px;

}

.editor a.file_ppt {

background:url(/bundles/projectfrontendcore/images/ul/icones/ppt.gif) no-repeat 0 1px;

}

#9153 IE8 - crash when replace text with textfield, text area, and radio button. confirmed Bug Normal
Description

Against the nightly build, in IE8, browser crashes when you highlight on a text and replace it with a text field/textarea/radio button.

Steps to reproduce: ->Type some text in ckeditor ->highlight the text ->Click on the text field/textarea/radio button plugin and click OK ->Browser crashes

This error doesn't occur with checkboxes.

Environment: XP/IE8, with or without compatibility view.

#9154 cell properties are applied to all children confirmed Bug Normal
Description

When selecting a cell with the elementspath tool and then applying cell properties, if the selected cell contains a table, the cell properties are also applied to the cells of the child table.

This is bad because it makes it impossible to apply some properties only to the cell I want. For example: I could have a cell with a red background ( the parent cell ) which would contain a table with cells of different backgrounds. If I want to change any property on the parent cell then all of the properties of this cell would be applied to all cells in the child table.

I tested this with the latest version of ckeditor from the demo page. Out of curiosity I also tested other online editors ( xinha and tinymce ) and they don't behave like this ( please don't tell me to use those, I think ckeditor is the best :) )

#9159 pasting a table in IE8 and Chrome all cells inherits indent from a paragraph confirmed Bug Normal
Description

When I have a paragraph with text-indent and paste a table in IE8 or Chrome, the table inherits <p> properties to all cells, but when I change to source code and come back the table is fixed.

When this occurs and I look into IE developer tools, the table is inside P tag, and when I go to source, CKE moves to outside.

To reproduce: use this code as source: <p style="text-indent: 80px"> abcde</p>

go to wysiwyg then copy and paste a table from http://www.normaslegais.com.br/legislacao/simples-nacional-anexoI.html

Tested in 3.6.3 and nightly build 7578 This works fine in IE9, FF13, FF14

#9173 Bulleted list properties context option is missing/unnecessary confirmed Bug Normal
Description

Use the following selection and right click:

  • F[oo

C]K

  • Bar

Result: Bulleted list properties option is available. Now:

  • Foo

C[K

  • Ba]r

Result: There's no Bulleted list properties.

The problem is that this option is added conditionally depending on whether selection start is inside of a list.

Anyway, in both cases (start in list, end in paragraph and vice versa), modifying list properties doesn't change anything.

#9176 [Webkit] Double-Clicked word and Backspace does not delete word confirmed Bug Normal
Description
  • Press 'Enter' any number of times
  • Apply 'Formatted' paragraph format
  • Type any word
  • Double-click the word
  • Press 'Backspace'

Expected Outcome: The highlighted word is deleted
Outcome: The previous line is deleted

#9177 Selection Field dialog box fails to work after switching to Source mode. confirmed Bug Normal
Description

To reproduce in ckeditor 3.6.4 and IE 9.

  1. Go to ckeditor demo page
  2. Clear the page
  3. Click on the Selection Field icon
  4. Click in the "Text" type "abc" in that field and click on add then ok
  5. Click the Source icon to view the html
  6. Click the Source icon again to return to WYSIWYG mode
  7. Place the curson on the Select Field just added and right click to bring up a menu
  8. On this menu, click on Selection Field Properties to bring up a dialog box
  9. Click the OK button in the dialog box and see that nothing happens

Clicking on the Cancel button properly closes the dialog box. Once you go to source mode and return, you cannot add any more select list items since the OK button is unresponsive.

#9178 Setting the selected option in Selection Field doesn't work properly. confirmed Bug Normal
Description

To reproduce

  1. Go to the CkEditor demo page
  2. Clear all content from the page
  3. Click on the Selection Field icon to add a select list
  4. Place the cursor in the "Text" field, type "aaa" and click on the "Add" button
  5. Place the cursor in the "Text" field again, type "bbb" and click on the "Add" button
  6. Click on the "bbb" field just added which is below the "aaa" field
  7. Click Set As Selected Value to make "bbb" the selected value.
  8. Go to source mode and notice the that selected="selected" is set on both the "aaa" and "bbb" options (see html below)
<p>
	<select><option selected="selected" value="">aaa</option><option selected="selected" value="">bbb</option></select></p>

I would expect that setting the "bbb" field would remove the selected="selected" tag on the "aaa" entry and place it on the "bbb" entry since the "Allow Multiple Selections" check box has not been checked.

#9182 Indent does not recognize correct margin when expressed other than px confirmed Bug Normal
Description

When I have a paragraph with margin-left:3in (for example) and click on increase indent button, ckeditor change margin-left to 43px.

Indent plugin get only the integer part ignoring unit.

To correct I've changed _source\plugins\indent\plugin.js adding CKEDITOR.tools.convertToPx to getStyle calls inside parseInt.

#9189 Changing Table Headers from both to First Column not working confirmed Bug Normal
Description

To reproduce the defect:

  1. Open CK Editor sample, insert a Table with default values for Rows & columns and set Table headers to both(First Row & First Column)
  1. Enter the data in all table cells.
  1. See that cells in first row & first columns are set as headers
  1. Open Table Properties dialog and Change Table Headers to First Column.

Expected Result: All the cells in First Column remain as headers and all the cells ( except cell in first column) in first row are changed back to normal.

Actual Result: All the cells in First Column remain as headers and all the cells including cell in first column in the first row are changed back to normal.

  1. Open Table Properties dialog again

Expected Result: Table Headers should be shown as First Column

Actual Result: Table Headers is shown as none.

#9193 dont use "-moz-border-radius" use "border-radius" or also use border-radius confirmed Bug Normal
Description

Firefox 13 and newer no longer understand -moz-border-radius. The standard border-radius CSS property must be used instead, which is supported since Firefox 4 https://bugzilla.mozilla.org/show_bug.cgi?id=781059

There are some places in the ckeditor css code where you use -moz-border-radius without also using the border-radius

#9197 IE: Selecting, applying styles or merging empty table cells in IE seems to be impossible confirmed New Feature Normal
Description

It is not possible to select empty table cells in IE. This is the source of merging problem.

When trying to merge empty table cells in IE the context-menu "Merge Cells" option remains disabled.

Steps to reproduce:

  1. Open a new page
  2. Create a table with multiple columns/rows
  3. Try merging some empty cell
    1. Try selecting some empty cells (won't work)
    2. Right-click on "selected" cells to display context-menu
    3. The "Merge Cells" option is disabled
  4. Try applying styles like background colour to multiple empty cells - won't work because you can't select these cells.

Reproducible in all versions of IE from CKEditor 3.0.

#9199 filebrowser throws element is undefined because fails to correctly check what attachFileBrowser is looking at confirmed Bug Normal
Description

in http://dev.ckeditor.com/browser/CKEditor/trunk/_source/plugins/filebrowser/plugin.js#L249 this

if ( element.type == 'hbox' || element.type == 'vbox' || element.type == 'fieldset' ) 

should be something like

if ( element == undefined ) continue;
if ( element.type == 'hbox' || element.type == 'vbox' || element.type == 'fieldset' ) 

otherwise random apparently unrelated things like the link create/edit dialogue cause a RTE.

Often happens when CKEditor is used as a component in some other visual framework i.e. Ember

#9203 <br> inside <body> tag crashes CKEditor confirmed Bug Normal
Description
  • Go to source mode
  • Add the following code: <body><br></body>
  • Leave source mode

Result: CKEditor crashes in Chrome, IE, FF and Opera. All browsers except Opera need to be restarted to unfreeze. Any variation of BR causes the crash (<br>, </br>, <br/>).

#9211 Editor content replaced with a link's destination page when the editor is in readonly mode confirmed Bug Normal
Description

Steps:

Make it so you have an image with a link in the editor. Something like this:

<a href="http://www.google.com"><img alt="smiley" height="20" src="http://nightly-v4.ckeditor.com/3419/plugins/smiley/images/regular_smile.gif" title="smiley" width="20" /></a>

-Make the editor read-only

-Click on the image

Result: The link's url is followed and the ckeditor's content area is replaced with the destination page. This brakes the ckeditor's functionalities even if the buttons are still visible.

If the link has only text, the link is not followed and no problem arise.

Reproducible on every browser at http://ckeditor.com/demo with

CKEDITOR.instances.editor1.setReadOnly( true )

after adding the link to the image.

Or, since there is a button to make read-only, even more easily at: http://nightly-v4.ckeditor.com/3419/samples/readonly.html

#9227 OnTextChanged event required for CKEditor ASP.NET control doesn't fire confirmed Bug Normal
Description

The event is fired in OnPreRender(). This is not the proper place to fire this event.

It should be fired in IPostBackDataHandler.RaisePostDataChangedEvent().

In attachment you can find a pach

#9271 Merge Columns new New Feature Normal
Description

The merge and add row/column function provided is too basic . Merge a row of 10 columns needs 10 individual click to merge.

Step 1: User adds a Table with 10 columns and 3 rows. by clicking on the “Insert/Edit” Table functionality Step 2: User wants to merge the column for the table created. If the user wants to merge the columns C, D, E, and F, the user needs to perform the following steps:

  • Click each cell and right click to select “Cell”
  • Merge Right.

Problem: The user needs to perform multiple clicks in order to perform a simple merging of columns in the table. If the table has multiple columns and rows and some of the columns within certain rows need to be merged then it becomes very time-consuming.

Requested Solution: The customer expects a much more easier functionality like creating a “Table” in Microsoft Word.

#9272 Enter key does not work in textareas anymore confirmed Bug Normal
Description
  1. Open ckeditor demo (3.6.4)
  2. Open insert textarea "plugin"
  3. Set focus on textarea field and start typing and press enter key

-> The dialog is closed.

  • Shift + enter works
  • It seems to be that all dialogs with textareas are affected
  • Works fine with 3.6.3
#9290 Loading CKEditor in readOnly mode breaks the undo/redo toolbar buttons confirmed Bug Normal
Description

Loading a CKEditor instance with the config setting

 readOnly = true

breaks the undo/redo user interface buttons. Ctrl-z and ctrl-y still work, but the undo and redo UI buttons never get activated, they remain grayed out.

Steps to reproduce: Load CKE with readOnly = true, set readonly to false and type. See This JSfiddle for an example. In the example, wait for the editor to be set editable, write something and the undo button never gets enabled but ctrl-z works. The undo buttons flash enabled every time the editor is set to readOnly false, but after focusing on the editor input they get grayed.

Tested in IE9 and Chrome13 on Win 7 64bit.

#9294 IE: Inserting Cell Before or After not working if the table has only one cell confirmed Bug Normal
Description

To reproduce the defect:

  1. Open any sample and insert a table with one row & one column
  1. Keep cursor inside the cell and open Context Menu.
  1. In Context menu select Cell & Insert Cell Before option

Expected Result: A new cell inserted before the current cell

Actual Result: Nothing happens no new cell inserted

Same issue happens with Insert Cell Aafter option

Reproducible in in all IE Verions

#9295 Font Size and Bold/Italic/Underline create multiple spans confirmed Bug Normal
Description

Using the following configuration:

config.coreStyles_bold = { element: 'span', styles: { 'font-weight' : 'bold' } };
config.coreStyles_italic = { element: 'span', styles: { 'font-style' : 'italic' } };
config.coreStyles_underline = { element: 'span', styles: { 'text-decoration' : 'underline' } };

Start with this content:

<p>Test Line</p>

Highlight the text and mark it bold produces this expected content:

<p><span style="font-weight:bold;">Test Line</span></p>

Highlight the text and change the font size produces this unexpected content:

<p><span style="font-size:48pt;"><span style="font-weight: bold;">Test Line</span></span></p>

Expected content:

<p><span style="font-size: 48pt; font-weight: bold;">Test Line</span></p>

This is an issue for us because the resulting content from the editor is displayed in a page with the following css file:

*
{
    font-family: Arial, Helvetica, Verdana;
    font-size:8pt;
}

This causes the inner bold span tag to always force the font size to 8pt.

Leaving the config coreStyles set to the default also produces a similar issue because the bold span is simply replaced with a strong tag.

<p><span style="font-size:48pt;"><strong>Test Line</strong></span></p>
#9308 duplicate no-repeat value for background-repeat in Table dialog confirmed Bug Normal
Description

I found this ticket (http://dev.ckeditor.com/ticket/8451) in your database from 11 months ago and it's marked closed/invalid but the issue still seems to exist.

Steps:


-Create a table -Right-click on it, pick Table Properties -> advanced tab. -Enter: background-repeat:no-repeat; in the Style box, you get background-repeat:no-repeat no-repeat;

That is invalid and shouldn't happen. This can be reproduced in your ckeditor.com/demo site as well as latest nightly build.

What's interesting is that this doesn't happen when you create a new DIV, edit it and enter the same into style box there. This seems to happen on table properties only.

#9320 Editor does not autogrow after entering content in Maximize mode confirmed Bug Normal
Description

Reproducible in IE, Webkit and Opera.

  • Open the autogrow sample and click Maximize on the toolbar.
  • Enter enough content to introduce the vertical scroll bar.
  • Click the Minimize toolbar icon.

Expected result: The editor grows to fit its contents.

Actual Result: The editor has a scroll bar and does not grow to fit its contents until you click into the editing area.

#9329 IE: Focus lost when editor's horizontal or vertical scroll bar is scrolled confirmed Bug Normal
Description

To reproduce the defect:

  1. Open any CK Editor sample & insert a table that is wider than the editor so that vertical & horizontal scroll bars are displayed (e.g. 2000px with 30 rows & 10 columns) .
  1. Enter content in table cells, keep cursor in one of table cells & move either vertical or horizontal scroll bar.

Issue: In IE8 & IE9 Focus goes out of editor body where as in IE7 OR IE8/IE9 Compat view cursor jumps out of table.

#9336 Automatically generated toolbar duplicates items that are included in a toolbar menu confirmed Bug Normal
Description

It is possible to define toolbar menus in CKEditor which can be used to combine a number of toolbar icons into one collection. If toolbar menus are defined, and no config.toolbar value is provided, the toolbar is automatically generated in v4. However any icon included in the toolbar menu is included in the toolbar twice: once in the menu, and once as an individual toolbar icon.

To see an example of this, save the attached plugin and sample file into their respective directories and run in any browser.

Notice how the toolbar contains a Paste Menu which combines all paste icons into one toolbar entry. However the individual Paste icons are also available on the toolbar.

If a toolbar button is included in a toolbar menu, it should not also appear as an individual toolbar icon. Is there any way to prevent this from happening? Is it possible to exclude toolbar icons from the automatically generated toolbar if they are already part of a CKEDITOR.UI_MENUBUTTON?

#9340 Import of bulleted list from MS Word fails when the bullets are styled confirmed Bug Normal
Description

Copy/Pasting a bulleted list from Microsoft Word ends up in broken text.

Pasting the bulleted list from the attached file doesn't work.

I have a feeling that it is related to the encoding of the file, since I cannot reproduce it on a newly created file


The real problem here is that if below two options are not set to false table gets broken which should not hapen:

config.pasteFromWordRemoveFontStyles=false;
config.pasteFromWordRemoveStyles=false;
#9357 Empty 'a href' confuses CKEditor confirmed Bug Normal
Description

If the HTML source includes this:

<a href="">TEXT HERE</a>

...then CKeditor gets confused and won't show "Edit Link" when you right-click on "TEXT HERE".

#9374 Opera: Editor displays off-screen in autogrow sample in maximize mode confirmed Bug Normal
Description

To reproduce the defect:

  1. Open the Autogrow Sample & Maximize the editor by clicking Maximize toolbar icon.
  1. Enter enough content to cause both vertical and horizontal scrollbars to appear.

  1. Click Minimize toolbar icon to return to normal editing mode.
  1. Click Maximize toolbar once again to maximize the editor.

Issue: Editor does not return to Maximize mode correctly at all. Editor displayed off-screen. This issues was mentioned in comment 2 on defect 9311 https://dev.ckeditor.com/ticket/9311#comment:2 which was closed as fixed.

#9394 IE9/IE10: [regression?] table cell selection lost when clicking outside the editor confirmed Bug Normal
Description

I have a custom link picking dialog. When we upgraded from 3.6.2 to 3.6.3 (or newer), problems arose with IE: in some cases the selection that was supposed to become a link was lost. I tried to create a minimal test case, see below.

How to reproduce:

  • open IE9 or IE10.
  • doubleclick on the word "bar" to select it
  • click on the kitten

What I expected to happen:

The selection is preserved. (Well. That is actually not the standard behavior with input controls, but seems to mostly happen with CKeditor, maybe due to it using an iframe?)

What actually happened:

The selection is lost and the cursor is moved to the beginning of the document.

Other notes

The problem is somehow linked to the table. The behavior seems to have changed between 3.6.2 and 3.6.3. Try here: http://venko.net/naapuri/tyo/ckeditor/3.6.2.html - this page doesn't have this problem. Other versions are available in http://venko.net/naapuri/tyo/ckeditor/.

I didn't try to find workarounds for this yet. Binding onmousedown might help.

#9402 [iOS] keyboard gets closed after Paste in the editor new Bug Normal
Description
  1. Select and Copy text that already exists in the editor.
  2. Paste the text somewhere in the editor. After tapping on the Paste menu the keyboard goes away.

The bug can be reproduced using the CKEditor demo: http://ckeditor.com/demo

This bug exists in iOS 6. There is not such a bug in iOS 5.

#9405 Object style from the styles combo not visible in the styles combo confirmed Bug Normal
Description

When an instance is loaded with a custom stylesSet that contains a table or image style and there already is a table or image with that style in the loaded content, the style is not displayed in the styles combo when the table or image has the caret/focus.

Expected: the style would be visible in the combo. It works as expected with even triple nested unordered lists, but not tables or images (see example). Other elements not tested at this point, but basically all the styles combo possible elements (like div) might be good to be checked.

Example at Jsfiddle

Tested with CKEditor 3.6.2 Reproducable in IE9, Firefox 15.0.1 and Chrome 18. All running on Windows 7.

Please see comment:5 and comment:6 for further explanation.

#9407 [iOS] Flash content displays as very long rectangle on iOS 6 new Bug Normal
Description

It looks like iOS 6 is having problems when trying to display a CKEditor-generated Flash object, or at least embedded Youtube videos.
I created the embed code using the CKEditor demo and published the resulting source here: http://havens.no-ip.org/testembed.html
Attached is a screenshot of the resulting rendering on an iPhone with iOS 6.

#9410 An issue applying rowspan for the last column of a table confirmed Bug Normal
Description

When rowspan is applied columnwise to the equal amount of rows, e.g.

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

...rowspan'ing the last column the same way in WYSIWIG should most probably lead to replacing all previously made rowspans and colspans with simple <td></td>, but it doesn't. It leads to strange errors and weird table behaviour.

#9414 Browser hangs and crashes when editing some valid HTML combination confirmed Bug Normal
Description

On the demo page, edit as "Source" and paste this: <br><ul><pre>TEST</pre></ul>

This will crash the browser when trying to view or edit as html again. Tested in all browsers (Chrome, Firefox, Safari, IE 9).

Seems to be some kind of infinite loop because browser starts using lots of cpu.

#9433 [FF] "Browse Server" popup appears behind browser window confirmed Bug Normal
Description

In Firefox 15.0.1, the image "Browse server" popup appears behind the main browser window. When you remove the popup and try again the popup appears in front, as it should.

#9437 Button for commenting/uncommenting part of source confirmed New Feature Normal
Description

Just a suggestion for future: consider adding a button active only in source mode, that comments/uncomments previously selected part of code. Would be useful for testing and debugging purposes, especially related with using of JavaScript and CSS Styling.

#9458 Inline editing does not render iframes confirmed New Feature Normal
Description

Prerequisites:

  1. Must have Iframe button enabled
  2. Must be using inline editing feature

Steps to reproduce:

  1. Click on Iframe button and add an iframe

Result: You will see a placeholder image representing the area the Iframe will be occupying Expected result: You should see the actual iframe being rendered inline.

I understand that for non-inline editing this functionality could make sense. However, with inline editing a user will never be able to see what the finished content will actually look like unless all editors are removed from the page.

Example:

http://i.imgur.com/ZYF6u.png

In the case above, the user would never be able to see his embedded video unless he logs out and inline editors are not present.

#9476 CKEDITOR.dialog#disableButton not working confirmed Bug Normal
Description

It is still possible to click on a dialog button after having disabling it with the disableButton method in CKEDITOR.dialog (http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.dialog.html#disableButton).

When "disableButton" is called, the property "disabled" is correctly set to true and a css class is added to the button. But if you click on the button, there's no check to see if it's disabled and the event is still fired.

I think this could be fixed by modifying the code in _source/plugin/dialogui/plugin.js and adding a check for disabled before the onClick is applied.

Like this :

(line 949)

onClick : function( dialog, func )
{
    this.on( 'click', function()
    {
        if(!this._.disabled)
        {
            // Some browsers (Chrome, IE8, IE7 compat mode) don't move
            // focus to clicked button. Force this.
            this.getElement().focus();
            func.apply( this, arguments );
        }
    });
}

By the way, the css class (cke_disabled) added to the button when it's disabled does nothing and the button doesn't look disabled.

#9501 Find selection throws error on cut in IE6-8 confirmed Bug Normal
Description

Steps To Reproduce:

  1. Go to the demo page in IE6 or IE7 or IE8.
  2. Clear the content in the editor.
  3. Type:
    foo bar
    boo far
    
  4. Click on find icon
  5. type foo into the find field
  6. click find (foo will become selected)
  7. click cancel in the find dialog
  8. click 'cut' icon in ckeditor
  9. (accept the permissions if the browser asks)
  10. Error Invalid Argument gets thrown.

Looks like it's some issue with getting nodeValue (for nodeValue.length) within the GetRanges function of the selection plugin.

// Start the measuring until distance overflows, meanwhile count the text nodes.
var i = siblings.length;
while ( distance > 0 && i > 0 )
{
	sibling = siblings[ --i ];
	if ( sibling.nodeType == CKEDITOR.NODE_TEXT )
	{
		container = sibling;
		distance -= sibling.nodeValue.length;  <----- this line throws the error
	}
}

Same error occurs if you do a find a replace for foo then close the dialog and click cut.

#9519 Unable to exit from pre block in some cases confirmed Bug Normal
Description
  • clear all contents
  • change paragraph format to Preformatted
  • type some text and press Shift+Enter to create new line
  • switch to the Source (notice that pre block has extra line break) and go back to the wysiwyg mode. Without switching to source mode pressing SHIFT+ENTER and ENTER works as expected.
  • put cursor to the empty second line of pre
  • press Enter to exit from pre block

Outcome: We are still into pre block and you have to press enter one more time to get out of it.
Expected: Exit from pre block and create the new paragraph.

The problem is that enterkey plugin appends bogus br element which is converted to the invisible line break.

#9550 Format selector/dropdown is too small when using norwegian language confirmed Bug Normal
Description

Description: When using CkEditor with norwegian language, the dropdown/selector displaying the different format options (heading 1, heading 2 etc) hides the last character in "Overskrift 1".

Browser: Firefox 16.0.2

Actual result: A part of the last character in "Overskrift 1" is hidden.

Expected result: Show the entire text.

See the attached screenshot from ckeditor.com/demo/

Bug is reproducable in version 3.6.2 and the version current at ckeditor.com/demo/.

#9556 [iOS] Can't fully exit out of list and continue adding text to editor in iOS 6.0.1 new Bug Normal
Description

iOS6.0.1 create an ordered list

Example:

  1. lions
  2. tigers
  3. mountain lions

After the last item hit enter twice. xit the list. Start typing, the focus seems to wrap down from the last list item and what I was typing got wrapped up to the last list item rather than remaining as a new line below the list. I see this behavior when the spell check is active on the text I am typing on the new line.

I have a video demonstrating this behavior.

#9558 Allow Additional Line Break In Source View confirmed New Feature Normal
Description

I'm a big fan of clean and easily readable source code. I think it would be great to add an additional parameter to CKEditor SetRules() function just below 'breakAfterClose' named additionalBreakAfterClose which would add a 2nd line break after the closing tag. As a result, the SetRules function could allow for an additional line break after certain tags. I believe this could allow users to make their code easier for human eyes to read.

Current Method:

<div>I'm a happy div</div> <div>I'm another happy</div>

Proposed Method with 'additionalBreakAfterClose':

<div>I'm a happy div</div>

<div>I'm a very happy div now</div>

#9565 in IE, incorrect enter key behavior with block element in a list item confirmed Bug Normal
Description

steps for recreation:

  1. type in some text (E.g. 3 paragraphs with few letters)
  2. select all format as some header (E.g Heading 1)
  3. select all and format as list
  4. place the cursor in the middle of the first list item
  5. press enter twice

(you already have a weird gap between lines 2 and 3)

  1. press up arrow twice (cursor is in the gap but when you start typing it jumps to point 2 and types text has no formatting )
  2. write something
  3. go 1 down and write something (cursor is in the gap and when you start typing text has header formatting )

-> you got

<ol>
	<li>
	<h1>as</h1>
	</li>
	<li>sdf
	<h1>sdf</h1>
	</li>
	<li>
	<h1>df</h1>
	</li>
</ol>

there is some text that is inside the li but outside the h1.

(i saw a similar ticket but for ck3 #4927)

#9567 [iOS] Select All, selected area is not confined to the text area in iOS 6.0.1 new Bug Normal
Description

Select all using the apple context menu.

The selection is not limited to only the text editor.

See image.

#9612 Moving the text cursor inside form elements causes js-error and breaks source-mode confirmed Bug Normal
Description

Moving the text cursor inside a submit, textarea or such by using the arrow keys causes an error shown in Firebug: "Error: Permission denied to access property 'nodeType'" in ckeditor.js on line 13.

This will also result in the Source-button not working so that you cannot enter the source-mode. The button will work again after moving the cursor out of that place.

Here's a sample source code with which you can easily reproduce the bug by moving the cursor with your arrow keys.

Also tested this on the nightly build.

<h1>Form</h1><p><input id="upload" name="upload" type="file" /><br /><input id="submitForm" name="submitForm" type="submit" value="Submit" /></p>"

I am using Win7 Pro and Firefox 16.0.2

#9637 Scripts can be executed from ckeditor using preview plugin confirmed Bug Normal
Description

Copy pasting a HTML snippet from a browser window containing scripts opens channel for the execution of the script from ckeditor using the preview plugin.

Replication steps:

  1. Create a test html page with the following content

<html> <head></head> <body>

<a href="javascript:alert('Executing

Javascript:alert()')">test</a>

<script>alert('Script Tag') </script>

</body> </html>

  1. Save the html and open it using a browser.
  2. Copy the content of the rendered html ( i.e the hyperlinked word “test”) and paste it in RTE.
  3. Click the preview plugin in RTE.
  4. In the preview window that opens, if the hyperlink ‘test’ is clicked it will execute the script.

This posses a security threat as it opens a channel for executing malicious script can be executed from ckeditor. Writing a server code to filter the scripts will not help as it might corrupt the data. Another problem is that server code will trigger only when data is posted but in this case scripts can be executed using preview pluign even before posting data.

#9707 Active editor changing in inline mode on RMB within different editables confirmed Bug Normal
Description

Steps to reproduce:

  • open sample inlineall.html
  • scroll to the area when 3 columns are visible
  • RMB on column 1, RMB on column 2, RMB on column 3
  • RMB on column 1

Expected result:

Editor became active on column 1

Actual result: Editor became active on column 1 and immediately became active on column 3.

#9710 IE7/8: In Kama skin toolbar buttons are not alpha blended properly and appear blurry until the mouse is hovered over confirmed Bug Normal
Description

description of problem can be found at: http://www.jacklmoore.com/notes/ie-transparency-problems

can potentially be resolved be ensuring a background color is specified when doing the alpha blending.

#9728 Tabs don't fit in "Hyperlink" dialog at its smallest possible size in Russian translation confirmed Bug Normal
Description

OS: Windows 7 Browser: Firefox 16.02 Screen resolution: 1920x1080

As can be seen from the screenshot provided, "Hyperlink" dialog appears to be a bit broken in its minimal possible size in Russian translation, since tab names are rather long and don't fully fit into the dialog.

P.S. The version is actually 4.0 Final, but I can't find it in the drop-down list below.

#9740 IE: Unordered list inside font tag causes nested unordered lists confirmed Bug Normal
Description

When displaying HTML that contains a UL inside a FONT tag in Internet Explorer 9, the list items of the UL end up as nested ULs.


Steps to reproduce: 1) Open IE9 2) Load CKEditor with the following HTML source code:

<FONT face=arial>Text here 
<UL>
<LI>Bullet point 1. 
<LI>Bullet point 2. 
<LI>Bullet point 3. 
<LI>Bullet point 4.</UL>
<P><FONT color=#ff0000>More text here</FONT></P></FONT>

3) See that CKEditor breaks up the list items into separate, nested unordered lists, like so:

<p><font face="arial">Text here </font></p>

<ul>
	<li><font face="arial">Bullet point 1. </font>

	<ul>
		<li><font face="arial">Bullet point 2. </font>

		<ul>
			<li><font face="arial">Bullet point 3. </font>

			<ul>
				<li><font face="arial">Bullet point 4.</font></li>
			</ul>
			<font face="arial"> </font>

			<p><font face="arial"><font color="#ff0000">More text here</font></font></p>
			</li>
		</ul>
		</li>
	</ul>
	</li>
</ul>

I realize that block-level elements (such as UL) should not be placed inside inline elements (such as FONT), and that FONT tags should never be used (this HTML was generated by the end user, not me). However, CKEditor handles this HTML gracefully in Firefox and Chrome; it would be nice if it could do the same in IE.

#9743 Table Properties For a Single Row Table not working properly confirmed Bug Normal
Description
  1. Add a table with 1 row and the headers property as first row.
  2. Select the table and right click on it and select Table Properties.
  3. In the Table Properties dialog that opens, change the value of Headers to None.
  4. Try saving the changes by clicking OK. It will not work. Click cancel to close the dialog.
  5. clicking "OK" button in this circumstance, doesn't show any apparent change in the "Rich Text" tab, when the source is viewed, it can be noticed that the tag <td style="display: none;">&nbsp;</td> is added to the <table> tag. The no. of the added "<td style="display: none;">&nbsp;</td>" tags being equal to the no. of times the "OK" button is clicked. And, when switched back to the "Rich Text" view, the Table properties now show the same no. of extra columns.
#9745 IE9, IE10: Image overriding the link if you try to insert it inside a link. confirmed Bug Normal
Description

To reproduce the defect

  1. Open any sample & insert a link.
  1. Keep cursor inside the link & insert an image or Smiley.

Issue: See that the image/smiley overriding the link.

#9756 Strikethrough splits text in Opera confirmed Bug Normal
Description

If strikethrough is pressed without any text being selected it splits the text into two lines in Opera.

Steps to reproduce:

  1. Place the cursor between some text without selecting any.
  2. Click the strikethrough button and the text will be split.
    Video example

Browser: Opera 12.11 (Linux)

#9759 Inconsistency in preview field for images with % heights confirmed Bug Normal
Description

To reproduce:

  1. Open the replacebyclass sample in FF/IE/Opera.
  2. Right click on the image and set the width and height to 100%
  3. Repeat steps 1 and 2 in Safari/Chrome.
  4. Compare the preview field in the 2 browsers.

Problem: In Safari and Chrome, the image is skewed and fits exactly in the preview field without scrolling. In FF, IE and Opera, the aspect ratio of the image remains intact and it is necessary to scroll the preview field to see the bottom of the image.

This seems to be a browser issue regarding how % heights are interpreted. Is there anything CKEditor can do to make this consistent across all browsers?

#9760 IE9 crashes when user clicks on toolbar dropdowns confirmed Bug Normal
Description

The problem occurs in IE9. I am able to replicate it on 3 out of 5 computers. 2 of the problem computers are Win7-64Bit. One problem computer is Win2008R2-64Bit.

Basically, clicking the toolbar dropdowns ('Styles', 'Format', 'Font', 'FontSize') will work the first time you click them. Clicking them a second time, will cause IE to crash.

I can't replicate this on the cdeditor site, however, I can replicate it everywhere else (multiple servers).

You may test it here: http://www.maimedia.com/ckeditortest/test.html

Please see comment:7 and comment:9 for more details.

#9767 [Opera&Framed] Simple formatting not applied to single lines confirmed Bug Normal
Description
  1. Load replacebyclass sample in Opera and clear page contents
  2. In Source mode paste following content:
    <p>asdf asdfs adf asdf asdf</p>
    
    <p>sadfsadf sadf sadf afsd<br />
    asdfsadf<br />
    asdfsdaf</p>
    
    <p>asdfasdfsad</p>
    
  3. Exit Source mode and select whichever whole line
  4. Try applying Bold or Underline formatting
  • Result: Selection is lost, cursor moves to the start of the line and formatting is not applied.

Note: this only applies to paragraphs in single lines (not ones that span across several lines) or ones that are manually broken with Shift+Enter.

Opera version:
Version: 12.11
Build: 1661
Platform: Win32
System: Windows XP

Tested and reproduced on http://nightly.ckeditor.com/3998/samples/replacebyclass.html

#9774 HasPatch adding a body wrapper (usefull for adding (invisible) css wrappers) new New Feature Normal
Description

This is a patch on ckeditor 3.6.2. (this is a new feature and not actually a bugfix, I call it a patch because it involves editing an existing pluging file)

This patch allows inserting html source into the wysiwyg iframe area, which you can NOT edit in the editor itself, is NOT saved in the real source, but WILL allow you to modify the appearance of the wysiwyg editor. It does this by inserting (both prepending and appending) html in the body tag of the wysiwyg editor. (Note: it only works for the NON-FULLPAGE version. luckily, you won't need it for the fullpage config.)

for example, you can add <div id="x" class="y">...</div> wrappers so included css files will work.

I use it to insert html blocks quite deep into a fairly complex website and it still works like a charm.

USAGE EXAMPLE:

site.css:

body#mybodyid.mybodyclass div#myIdcontainer  div.myclasscontainer1{float:right;}
body#mybodyid.mybodyclass div#myIdcontainer  div.myclasscontainer1 div.myclasscontainer2{color:#f00;font-weight:bold;}

html/js:

<script>
	var myckconfig = {
		contentsCss : 'site.css?1234',	
		bodyId      : 'mybodyid',
		bodyClass   : 'mybodyclass',
		bodyPrepend : '<div id="myIdcontainer"><div class="myclasscontainer1"><div class="myclasscontainer2">',
		bodyAppend  : '</div><br style="clear:both;" /></div></div>',
	};
	$('textarea.ckeditor1').ckeditor(myckconfig);
</script>
<textarea class="ckeditor1">this should show up bold and red!</textarea>

#9781 Need Setting to append suffix to assets for cachebusting builds confirmed New Feature Normal
Description

I would like to have a config option to append a suffix to the filename of js and css files.

Use case: The build/deploy tools I use append the git commit hash to the end of the file names of static cdn assets when bulding. This busts the browser/proxy/etc cache when deploying new revisions of our application. For the time being, I had to make edits to the compiled source to make this work.

For thorough coverage, I'd suggest: config.js_suffix = config.css_suffix = config.img_suffix = doesn't apply to me, but might for others

Example filenames given the latest build commit hash is a3fdee /static/js/plugins/ckeditor/ckeditor_a3fdee.js /static/js/plusins/ckeditor/config_a3fdee.js /static/js/plusins/ckeditor/plugins/autogrow/plugin_a3fdee.js /static/js/plusins/ckeditor/themes/moomo/editor_a3fdee.js

All of my js/css assets are app

#9788 ASP.NET 3.6.4 & HTMLEncodeOutput=False will not postback correctly confirmed Bug Normal
Description

In the IPostBackDataHandler.LoadPostData() method, the code will not save the posted value when htmlEncodeOutput=false .

bool IPostBackDataHandler.LoadPostData(string postDataKey, NameValueCollection postCollection)
{
	if (this.config.htmlEncodeOutput)
	{
		string postedValue = HttpUtility.HtmlDecode(postCollection[postDataKey]);
		if (this.Text != postedValue)
		{
			isChanged = true;
			this.Text = postedValue;
			return true;
		}
	}
	return false;
}

Since this is false:

if (this.config.htmlEncodeOutput)

The code will never execute, therefore the value is not saving to:

string postedValue =...
isChanged = true;
this.Text = postedValue;

Change the procedure to the following and it started saving again:

bool IPostBackDataHandler.LoadPostData(string postDataKey, NameValueCollection postCollection)
{
	string postedValue = this.config.htmlEncodeOutput ? HttpUtility.HtmlDecode(postCollection[postDataKey]) : postCollection[postDataKey];
	if (this.Text != postedValue)
	{
		isChanged = true;
		this.Text = postedValue;
		return true;
	}

	return false;
}

The key is that regardless of the htmlencodeoutput value set the post collection saves to the postedValue

string postedValue = this.config.htmlEncodeOutput ? HttpUtility.HtmlDecode(postCollection[postDataKey]) : postCollection[postDataKey];

Please Note, I am using the ASP.NET 3.6.4 code base with the 4.0 version of CKEditor

#9791 IE10: Browser context menu overrides CKEditor context menus on misspelled words confirmed Bug Normal
Description

To Reproduce:

  • Specify the following config setting to allow the browser spell checker to show misspellings in the editor:
    config.disableNativeSpellChecker = false;
    
  • Open a sample in IE10.
  • Enter a misspelled word in the editor.
  • Place the cursor within the misspelled word and right click.

Problem: The browser context menu is opened instead of the CKEditor context menu.

This occurs in both 3.6 and 4.0.

#9805 mailto tag is bad confirmed New Feature Normal
Description

Hello. I have a javascript that truly encrypts email addresses (from Germany javascript developer) however your email linking sends an error message "wrong value" or something like that when I try to implement it. Is there a way to circumvent this so that the email address can be encrypted? The mailto tag is an open invintation to harvesters and the result here in the U.S. at least is over $29 billion dollars of damage. The mailto tag is a monster of a bug and I am reporting it here to you. It's an easy, easy fix. It just needs to be done, is all.

Edited

  1. Please check attached files.
  2. What @altoman wants is a new feature; where it is possible to define custom encrypt/decrypt functions to be used by the editor.
  1. If we are going to take different approach and use only the functions provided by @altoman there will have to be some config option introduced (to use this method or not) so that developer can force usage of it and user "can't bypass it".
  2. There would have to be some documentation explaining that decrypt function has to be used on resulting page. Perhaps editor could insert it.
  3. If editor is to insert it (see point above) then perhaps these n vales could also be configurable if( n >= 8364 ) {n = 128; } as now they are constant and such constant code can be implemented by spambot.
#9810 Links pasted into CKEditor become active in read-only mode confirmed Bug Normal
Description

If a link contains more markup within the <a> tag, the click event will succeed to open the page behind the link in editor's window while the editor is in read-only mode.

This can currently be reproduced using the online example of CKEditor 4 (http://nightly.ckeditor.com/latest/ckeditor/samples/readonly.html).

The following steps describe my test scenario:

  1. Open the read-only sample page
  2. Click on the 'CKEditor' link of the sample text within the editor. Nothing happens, as expected.
  3. Click the 'Make it read-only' button and click once again on the 'CKEditor' link mentioned above. Nothing happens, as expected.
  4. Click the 'Make it editable again' button below the editor to leave the read-only mode.
  5. Replace the content of the editor window with the HTML provided in the attached text file (may have to use source mode in order to do that)
  6. Click on 'world junior hopefuls' link while in editable mode. Nothing happens, as expected.
  7. Switch to read-only mode and click on 'world junior hopefuls' link again. Now, the news article behind this link will open inside CKEditor's window.

It seems that the <font> tag inside the anchor prevents the click protection from functioning while the editor is in read-only mode.

I am not sure if the nightly samples are off the master branch, but I could reproduce it in my environment using the master, so I chose to select it here. Please correct if necessary.

Please let me know if you need more information.

Thanks, Johannes

#9818 hidden field id deleted confirmed Bug Normal
Description

After viewing or changing the properties of a hidden field, the id is completely removed.

It would be best if only the properties exposed in the dialog -- name and value -- are affected by viewing or changing.

This does not seem to happen with any other form field.

#9826 Dialog height not correct if overflow:hidden/scroll confirmed Bug Normal
Description

When i use dialog and put content as :

<div style="height:200px; width:200px; overflow:hidden"> <img src="..." height="1000" width="1000" /> </div>

Dialog height is put to 1000 instead of stay a current height. I can resolve this issue with this if it can help set "vertical-align" to 'top' instead of verticale-baseline

#9828 Can't remove an iframe in BR mode confirmed Bug Normal
Description

How to repdroduce:

  1. Open http://ckeditor.com/demo#enter
  2. Use the developer console to set the editor data (one with the BR mode)
CKEDITOR.instances.editor2.setData('<iframe></iframe>')
  1. Set the cursor after the iframe and press enter to make a newline
  2. Press backspace to delete an iframe

Expected: backspace to delete an iframe Now: Cursor gets stuck on the line after the iframe

#9861 Spacebar keypress ignored in last cell of row when first cell expands full length confirmed Bug Normal
Description

To reproduce on demo page -Click the insert Table button

  • In the first cell of the first row, keep entering text until the line wraps.
  • Press the tab key (it will move you to the last cell of that row
  • Start entering text, you will notice any press of the space bar is ignored when at the end of your text line. If you navigate backward in the string, you are able to enter spaces.
#9928 [iOS] creating form disables text entering new Bug Normal
Description

Summary:

When using iOS to create a form, the keyboard is disabled.

Steps:

  1. Use iOS5+
  2. Load the Full-featured demo (ie, 5 line toolbar)
  3. Clear the content using Source View.
  4. Switch to wysiwyg and click the Form button
  5. Insert a form and move your cursor inside of it
  6. Insert a text field in the form.

Expected result:

The cursor should be positioned after the new field and I should be able to enter new text using my keyboard.

Actual result:

The cursor is positioned after the field but I can type away and no characters are entered.

#9931 Copy/paste of hyperlinks with IE creates font tags confirmed Bug Normal
Description

Hi,

There appears to be a bug affecting IE8 in CKEditor where copying and pasting (via CTRL+C, CTRL+V) changes the HTML and wraps the hyperlink text in font tags. I have been able to reproduce it 100% on http://ckeditor.com/demo. I was able to reproduce with IE8 versions in both WinXP 32-bit and Win7 32-bit.

Before copy HTML:

<a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong">Neil Armstrong</a>

After paste HTML:

<a href="http://en.wikipedia.org/wiki/Neil_Armstrong" title="Neil Armstrong"><font color="#0000ff">Neil Armstrong</font></a>

It seems to affect IE8 only. I've tried to reproduce in IE9, Firefox and Chrome and there was no issue with those browsers.

#9937 [iOS] CKEditor 3.6.3 (revision 7474) - iOS6 iPad - CK editor textarea lost the focus new Bug Normal
Description

When user clicks in the middle of the ckditor text-area, try to type-in, only the first key pressed character is added to the text-area & text-area immediately lost the focus so keyboard hides before user press another key.

Strange thing is when user click on top place of ckeditor textarea OR click between the already written text and try to type-in, it works fine and focus remain in text-area.

Top area means, the area of <p> tag generated by the ckeditor by default.

#9961 Webkit: Deleting empty list items result in BR inserted before text. confirmed Bug Normal
Description
  1. In an empty editor, type "test"
  2. Click on the Numbered List button to make it a list.
  3. Move the cursor to before "test".
  4. Press Enter twice, so that now you have two empty list items, and the third one with "test".
  5. With the cursor still right before "test", click on Increase Indent button.
  6. Now, select the first two list items by double clicking on the first line and dragging into the second line. (See screenshot).
  7. Press delete.

Actual: Two bullets render on the first line (which is normal behaviour), the text appears on the second which is a bug. (See screenshot)

#9962 Paste buttons are disabled after deselecting text. confirmed Bug Normal
Description

Paste buttons are disabled after deselecting text by clicking inside selection.

Reproducible in: IE9, IE8, IE7 with CKEditor 4.0.1 and 3.6.4

Reproduce steps:

  1. Write some text and select it.
  2. Deselect the text by clicking (one time) inside the selection.
#9964 Font Size and Font Name drop-downs do not always reflect font styling confirmed New Feature Low
Description

Currently the font and fontsize combos on the toolbar only reflect styles set through the style definition specified by the fontSize_style and font_style config settings. This means that if font is specified in any other way, the toolbar does not show this.

To Reproduce:

  • Copy the following into Source view:
<h1 style="font-family:arial,helvetica,sans-serif;font-size:14px;">Sample heading text with Arial font, size 14 applied directly on the H1 tag.</h1>

<p><span style="font-family:arial,helvetica,sans-serif;"><span style="font-size: 14px;">Sample text with Arial font, size 14 applied through the style definitions specified by config.fontSize_style and config.font_style.</span></span></p>

  • Switch back to wysiwyg view and click into the second line of text. Note that the font and fontSize combo boxes correctly display the font styling.
  • Click into the first line of text.

Problem: The font and fontSize combo boxes do not reflect the font styling set on the H1 tag.

Setting font and fontSize styling for the paragraph formats is easily achievable in the editor using config.format_<formatName>. For example:

config.format_h1 = { element : 'h1', styles : { 'font-family':'arial,helvetica,sans-serif', 'text-align' : 'center', 'font-size' : '20px;' } };

However the toolbar does not reflect these font styles. Other styles such as text-align and color are correctly represented on the toolbar.

The font and fontsize combo boxes should display the font regardless of how it is applied. Perhaps using the computed font values would be the solution for this. This approach would also address the issue raised in ticket #4887.

#9967 Fire an Event when items are selected on toolbar combo boxes and color panels confirmed New Feature Normal
Description

Currently there is no way to detect that an option has been selected from a toolbar combo box (e.g. font, format) or color panels (e.g. Text Color, Background Color). It is possible to detect other toolbar actions using afterCommandExec and the command name e.g. bold, indent, numberedlist.

Can you provide an event that would signify that a selection has been made on a combo box or color panel?

#9968 [iOS] Cannot select an image on an ipad confirmed Bug Normal
Description

Cannot seem to select an image in the editor in order to access the image dialog box so can adjust image properties. All that happens is the standard ipad select area indicators appear.

i'm using an ipad2 ios 6.0.1

#9984 Blockquote with enterMode = ckeditor.ENTER_BR and autoParagraph = false creates <p> tags confirmed Bug Normal
Description

Using CKEDITOR 4 with <br /> for new lines instead of paragraphs doesn't work for Blockquote as it uses <p> tags with that tool.

This is my configuration:

  // Use <br /> instead of <p> tags.
  CKEDITOR.config.enterMode = CKEDITOR.ENTER_BR;
  CKEDITOR.config.autoParagraph = false;

This is what I'm seeing in the editor:

<body contenteditable="true" class="cke_editable cke_editable_themed cke_contents_ltr" spellcheck="false">
Test text
<blockquote>
<p>A blockquote</p>
</blockquote>
<p>
More lines<br>
Another line<br><br>
</p>
</body>
#9985 Using the Delete key causes input boxes to be deleted. confirmed Bug Normal
Description

Reproduces on the latest version of chrome (24.0.1312.52) in both OSX Mountain Lion and Windows 7.

Steps to reproduce:

  1. Go to full demo (http://ckeditor.com/demo#full)
  1. Edit source to replace existing with the following: (this was originally manually typed into the editor)
    <p>This is the first sentence.</p>
    
    <p>This is a sentence with an&nbsp;<input name="input" type="text" /> in the middle.</p>
    
  2. Leave source view and put the cursor at the end of the first sentence.
  1. On windows, hit the DEL key or on a Mac, use FN+DELETE to get a delete rather than a backspace.

Expected:
The paragraphs should be combined, like this:

<p>This is the first sentence.This is a sentence with an&nbsp;<input name="input" type="text" /> in the middle.</p>

Actual:
The input box and contents afterward are removed:

<p>This is the first sentence.<span style="line-height: 1.6em;">This is a sentence with an&nbsp;</span></p>
#9988 Stop using <a> for everything. confirmed Task Low
Description

What's reason to use <a> element with javascript: pseudo hrefs?

I think we should use <button>'s for buttons. Why not? Or at least <span>'s. Same with context menus.

#9996 Selection disappears from last line on getData() confirmed Bug Normal
Description
  1. open http://nightly.ckeditor.com/13-01-28-08-51/standard/samples/plugins/enterkey/enterkey.html
  2. select BR mode
  3. remove all text
  4. type in some text (line 1)
  5. press enter
  6. type in some more text (line 2)
  7. select all text on the second line
  8. open javascript console and run
CKEDITOR.instances.editor1.getData()

Result: selection disappears! Expected: selection to stay where it was.

Interesting that if you select line 1 and run getData(), everything stays normal.

I was able to reproduce it in Chrome. Bug first appeared in 3.6.5, 3.6.4 works fine.

#9998 [Umbrella][Blink/Webkit] Issues related to backspace and delete keys handling confirmed Bug Normal
Description

This is an umbrella ticket for all issues related to backspace and delete keys handling caused by the following Webkit's and Blink's bugs:

Related tickets: #8438, #8439, #8440, #10359, #10515, #11483, #11592, #11415 and many others...


Cases

<span> created while joining two adjacent elements

Related issues: #9998

Target ticket: #11861

Example 1

  1. Set data
    <p>foo</p>
    <p>^bar</p>
    
  2. Backspace.
  3. <p>foo<span style="line-height:1.6">bar</span></p>

Example 2

  1. Set data
    <h1>foo</h1>
    <p>^bar</p>
    
  2. Backspace.
  3. <h1>foo<span style="font-size:13px; line-height:1.6">bar</span></h1>

<span> created while joining two adjacent elements (non-collapsed selection)

Related issues: #9998

Target ticket: #11980

Example 1

  1. Set data
    <div>
      <p>fo[o</p>
    </div>
    
    <div>
      <p>b]ar</p>
    </div>
    
  2. BACKSPACE
  3. Result:
    <div>
      <p>fo<span style="line-height:1.6">^ar</span></p>
    </div>
    
  4. Expected
    <div>
      <p>fo^ar</p>
    </div>
    

Attempt to preserve the visual style of the contents -> i.e. <strong> becomes <b>

Backspace (unable to remove formatting)

Related issues: #8438, #11592, #11483

  1. <p>x<strong>y^</strong></p>
  2. Backspace.
  3. Type “z”.
  4. <p>x<b>z^</b></p>

Backspace (underlined link becomes <u>)

Related issues: #11592

  1. <p><a href="http://foo">[foo]</a>bar</p>
  2. Backspace.
  3. Type "foo".
  4. <p><u>foo^</u>bar</p>
  5. Frown
  6. Grin

Note: This case uncovers the algorithm used in Webkit. The engine attempts to preserve the style no matter how ridiculous it would be – it uses <u> because it is the closest style, which corresponds visually with underlined link.

Del (unable to remove formatting)

Related issues: #8439, #8440, #12100

  1. <p>foo</p>
  2. CTRL+A.
  3. Bold.
  4. DEL.
  5. Type “bar”.
  6. <p><b>bar^</b></p>

Another example available in Blink browsers only:

  1. Switch to source mode and clear editor contents
  2. Paste this code <p><strong>test</strong></p>
  3. Press Ctrl+A
  4. Hit Backspace.

Result: Elements' path in Blink shows 'p' and when user starts typing text will be bold again. If user presses Backspace two times then whole formatting will be removed but there is no way for user to know that.

<span> created while splitting elements (DnD), extra &nbsp;

Related issues: #10515

  1. Set the following HTML
    <p>
        <span style="font-size:28px">
            foo 
            <strong>[bar]</strong> 
            <em>bam</em> 
            bang
        </span>
    </p>
    
  2. Drag [bar] into ba|m
  3. editor.getData().
  4. See the result.
    <p>
        <span style="font-size:28px">
            foo &nbsp;
            <em>ba</em>
        </span>
        <strong style="font-size:28px; line-height:44.79999923706055px">bar</strong>
        <em style="font-size:28px; line-height:1.6">m</em>
        <span style="font-size:28px; line-height:1.6"> bang</span>
    </p>
    
  5. Then WYSIWYG->Source->WYSIWYG.
  6. ACF brings the ultimate destruction.
    <p>
        <span style="font-size:28px">foo &nbsp;<em>ba</em></span>
        <strong>bar</strong>
        <em>m</em>
        <span style="font-size:28px"> bang</span>
    </p>
    
#10003 Strike through button doesnt not correctly confirmed Bug Normal
Description

Strike through doesn't work for first time for the steps given below:

Way to reproduce:

1) Enter some text and select it. Click strike through
2) Go to next line and click on strike through again to disable it
3) Enter some text again, select it and click strike through
4) Strike out doesnt work for the first time.
5) Again select the text and click strike through. It works

http://screencast.com/t/1ZEvYXj9zd

#10021 Table plugin uses attributes deprecated in HTML5 confirmed Bug Nice to have (we want to work on it)
Description

When I insert new table, without any settings i get border="1" cellpadding="1" cellspacing="1" style="width: 500px;" attributes. These are unexpected and non-valid ones.

Edit:
When I insert new table it uses attributes that are deprecated in HTML5 cellpadding,cellspacing,align,summary,rules,frame,bgcolor attributes. Please see: http://www.w3schools.com/tags/tag_table.asp


Easy workaround (aka solution): comment:13.

#10023 ShowBlocks, do not outline forms/lists/tables confirmed Bug Normal
Description

Currently showblocks outlines too few blocks. It also outlines forms even when showblocks button is not active.

Edit: It seems that show blocks doesn't show tables, forms, lists and other HTML flow elements - http://www.w3.org/TR/html-markup/common-models.html - like: article, section, nav, aside, hgroup, header, footer, address, main, video, audio, menu, details, fieldset.

Please note that tables and firms have very similar style (dotted border) to outline.

#10026 Breaking quotes in Email replies new New Feature Normal
Description

see article in forum: Breaking block quotes in Email replies relaated topic: Ticket #7354

Short Description: Quoted parts of messages are not allways splited, if enter is pressed, e.g. "quotes with a <div>-Tag" are not splitted.

Thunderbird or any other Email client splits the quoted part of the message, if enter is pressed.

#10034 CKEditor 4 Inline editing - Clean trash after destroy confirmed Bug Normal
Description

Hi, I am using the CKEditor 4 Inline editing and as i sow its not cleanning all the trash after using destroy.

Code before i edit it:

<div id="myId">Text text text</div>

Code after i edit it and use destroy to remove the CKEditor instance:

<div id="myId" class="cke_focus" style="position: relative;">Text text text</div>

As we can see the class of "cke_focus" and the "position:relative" are not removed when i use the destroy.

Are there is a way to remove all the CKEditor trash?

#10041 CKEditor 4 Inline Editing - Show the toolbar on a instance without focusing it confirmed New Feature Normal
Description

Hi, When i use "CKEDITOR.inline(myId)" its applying the editor instance to the object but its applying toolbar to it if i do not focus the object.

In my case, I do not like to focus the object on startup because its scroll the page to the start/end (IE browser focus to the end of the page).

It will be very good if i will be able to show the toolbar on a instance without focusing it manually.

I also ask in some forums and there is no solutions: http://ckeditor.com/forums/CKEditor/CKEditor-Inline-Editing-doesnt-show-the-toolbar-on-start http://stackoverflow.com/questions/14724279/ckeditor-4-inline-how-to-show-the-toolbar-on-a-object-without-focusing-it

#10043 Current CKEDITOR.htmlWriter.setRules documentation incomplete confirmed Task Normal
Description

CKEDITOR.htmlWriter.setRules documentation doesn't list all available options and per instance and for every CKEDitor instance configuration examples. http://docs.ckeditor.com/#!/api/CKEDITOR.htmlWriter

Old documentation was more complete. http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Output_Formatting

#10047 FF: Replacing <Enter> with <Shift+Enter> results in extra <br /> confirmed Bug Normal
Description

Firefox only (not reproducible in IE10, Chrome24):

I type a line of text followed by Enter. Whoops - I meant to type Shift+Enter, so I hit Backspace followed by Shift+Enter. What gives? Now my cursor is two 'lines' down!

Here's what I type:

"A line of text", <Enter>, <Backspace>, <Shift+Enter>

And now my cursor is two <br /> down instead of just one.

Verified in the basic demo and the nightly Using the "Enter" key in CKEditor sample, where I can see that 2 <br /> have been inserted from my final single <Shift+Enter>.

I'm running Firefox 18.0.2.

#10049 CKBuilder page could better differentiate Basic/Standard/Full plugins confirmed New Feature Normal
Description

In customizing my build I have to build up my own table of which plugins were included in each of the Basic/Standard/Full presets in order to know exactly what I'm getting.

The CKBuilder interface should use color-coding or additional icons to make it obvious which additional plugins we're getting going from Basic->Standard or from Standard->Full.

#10051 Image dialog - ratio lock is quantised confirmed Bug Normal
Description

The ratio lock is quantised, making the lock to unexpectedly unlock.

  1. Insert a 4000x3000 px image in CKEditor.
  2. Right click on the image and open the image dialiog.
  3. Ensure the ratio lock is lock, then change its width to: 330. The height automatically change to 248.
  4. Save, re-open the image dialog. The width / height are still 330x248, but the ratio lock is unlock even if the values respect the image ratio.

The calculated ratios are not equals:
originalRatio: 1333 (accurate)
thisRatio: 1330 (quantised)

I think the logic in switchLockRatio method is wrong. Instead of comparing the ratio, where one has been quantised to pixels, it would make more sense to re-calculate the height and check if the image height equals the calculated one.

The following code replacement fix this issue:

File: _source/plugins/image/dialogs/image.js
Lines: 132 to 144

var width = dialog.getValueOf( 'info', 'txtWidth' ),
	height = dialog.getValueOf( 'info', 'txtHeight' ),
	originalRatio = oImageOriginal.$.width / oImageOriginal.$.height;
dialog.lockRatio = false; // Default: unlock ratio

if (!width && !height) {
	dialog.lockRatio = true;
} else {
	if (!isNaN(originalRatio)) {
		var ratioHeight = Math.round(width / originalRatio);
		if (ratioHeight == height) {
			dialog.lockRatio = true;
		}
	}
}
#10052 Image dialog - preview do not refresh when field is cleared confirmed Bug Normal
Description

The preview window in the image dialog do not clear the CSS attribute when the value is cleared:

  1. Insert an image in CKEditor.
  2. Right click on the image and open the image dialiog.
  3. Enter a border of 9. The preview image show a border of 9px.
  4. Clear the border field (erase the number 9 from the field). The preview image still show a border of 9px.

Affect: Border, HSpace VSpace, etc.

I notice the following in the code:
File: _source/plugins/image/dialogs/image.js
Line: 848

if ( !isNaN( value ) )
{
	element.setStyle( 'border-width', CKEDITOR.tools.cssLength( value ) );
	element.setStyle( 'border-style', 'solid' );
}
else if ( !value && this.isChanged() )
	element.removeStyle( 'border' );

I don't understand why it check if the field has been changed before removing the style, but if I remove that check, it works as expected:

if ( !isNaN( value ) )
{
	element.setStyle( 'border-width', CKEDITOR.tools.cssLength( value ) );
	element.setStyle( 'border-style', 'solid' );
}
else if ( !value )
	element.removeStyle( 'border' );
#10060 Disabled textarea fields are not readOnly by default confirmed Bug Normal
Description

According to CKEDITOR.config.readOnly, if not specified, it should check to see if the linked textarea has the disabled attribute. This is not currently happening.

#10061 Copy img in Chrome result in opacity: 0.9 confirmed Bug Normal
Description

I've discovered a bug when using the CKEditor 4.01 in Chrome Version 24.0.1312.57 m

For some reason when you select an image and copy paste it, it adds: style="opacity: 0.9" which makes the picture look pale.

Chrome is the only browser that I've seen this problem occur in.

#10065 [Webkit] Changing "Object Styles" of an image does not work properly confirmed Bug Normal
Description

The "Object Styles" of an image with a link cannot be changed.

Go to http://ckeditor.com/demo

  • Click on the image of the rocket.
  • Click on the Style drop-down menu and click "Styled image (left)". This works fine.
  • Now attach a link to the image (select it, click the link button on the toolbar and add a link).
  • Now try to change the object style ("Styled image (left)" or "Styled image (right)"). Nothing happens. The style is not changed / applied.
#10066 Feature to make it possible to hook into elementspath events confirmed New Feature Normal
Description

I need some way to hook into events for elementspath items. I imagine it would not be hard to add some kind of event that happens when elementspath is rightclicked.

This would make it possible to build a custom elementspath context menu - which I need and which stops me from upgrading.

This could be done my modifying the current elementspath\plugin.js and adding to the path item template something like oncontextmenu="HoweverCKEHandlesEvents(event, currentElementsPath, index)" and then defining an onContextMenu handler exactly like onClick is defined;

var onClickHanlder = CKEDITOR.tools.addFunction( onClick );

// imitate onclick and build a contextmenu handling system like it...
function onContextMenu(elementIndex, event) {
	editor.focus();
	var element = editor._.elementsPath.list[elementIndex];
	var data = {};
	data.event = event;
	data.element = element;
	editor.execCommand('elementspathContextmenuForElement', data);
}

var onContextMenuHanlder = CKEDITOR.tools.addFunction(onContextMenu);

---

This would make it possible to create plugins that Greatly extend the usage of elementspath and is really not that very difficult to implement and wouldn't take that link I think. What do you think? This is a must have for me but I Really do not want to create my own "fork" of CKE to get this done. How quickly could this make it into the main trunk?

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