Custom Query


Show under each result:

Results (101 - 200 of 2483)

1 2 3 4 5 6 7 8 9 10 11 12
Ticket Summary Status Owner Type Priority Milestone
#13829 Add class based on widget type to the widget wrapper review s.kups Bug Normal CKEditor 4.6.0

This is a follow-up of #13200 issue.

As @Reinmar writes:

Inability to write rules matching certain widget wrapper + widget class

Once classes will be moved to wrappers it would be good if it was possible to write rules like:

.image.centered { ... }
.embed.centered { ... }

As I experienced recently centered image's wrapper may need very different styles than that of an embed widget. E.g. image's wrapper must have text-align: center. This affects embed widgets which may be unwanted if we only want to use margin-left/right: auto.

Hence, it will be useful if widget wrapper had classes based on widgets names - e.g. "widget-image", "widget-embed", etc.

#13833 Styles dropdown doesn't work correctly for tables with border=0 review t.jakut Bug Normal CKEditor 4.5.9

Steps to reproduce

  1. Add some styles to add a class to a table
CKEDITOR.config.allowedContent = true;

CKEDITOR.stylesSet.add( 'my_styles', [
    // Block-level styles
    { name: 'Nice table', element: 'table', attributes: { 'class': 'MyTable' } }
] );

CKEDITOR.config.stylesSet = 'my_styles';
  1. add a little CSS to check that it works
.MyTable {
    border:1px solid blue;
    background-color: #00DD00;

.MyTable td, .MyTable th{
    border:1px solid blue;
        padding: 5px 1em;

  1. Put some tables in your content with that class and border = 0 or border = 1
  1. Now try to use the Styles dropdown

Expected result

In both tables the Style should be shown as "Nice table"

Actual result

Only works correctly in the second one. The first one has the "cke_show_border" class that CKEditor adds automatically and the Styles system doesn't ignore it. Once you click then it's applied and then it works correctly until you reload the content.

Other details (browser, OS, CKEditor version, installed plugins)

This has been failing for eons, all browsers demo at

#13839 Incorrect Tab navigation behavior with radio buttons inside the dialog review t.jakut Bug Normal CKEditor 4.5.9

Steps to reproduce

  1. Open Creating Captioned Images sample
  2. Double click on the image to get 'Image Properties' dialog
  3. Use Tab key to navigate inside the radio button group
  4. Keep pressing Tab key

Expected result

Tab key will enter the radio group.

When Tab or Shift+Tab into a radio group, focus goes to the selected radio button. If none is selected, focus goes to the first radio button if Tab was pressed, or the last radio bottom if Shift+Tab was pressed.

When focus is on any radio button, Tab or Shift+Tab will exit the radio group.

Up Arrow and Left Arrow moves focus to the previous radio button in the group, and selects that button. If focus is on the first item, then focus wraps to last item.

Down Arrow and Right Arrow moves focus to the next radio button in the group, and selects that button. If focus is on the last item, then focus wraps to first item.

Control+Arrow moves through the options without updating content or selecting the button.

Space selects the radio button with focus and de-selects other radio buttons in the group.

Actual result

When focus is on any radio button, Tab will not exit the radio group

Other details (browser, OS, CKEditor version, installed plugins)

#13877 Copy paste from google doc forces bold - removes underline and italics review t.jakut Bug Normal CKEditor 4.6.0

Steps to reproduce

  1. Go to the nightly ckeditor demo
  2. Copy one word from a google doc that is both underlined and italicized
  3. Paste it into editor

Expected result

The word is pasted in italicized and underlined.

Actual result

The word is bolded, no underlines or italics to be found.

Other details (browser, OS, CKEditor version, installed plugins)

#13911 [IE11] Console errors during context menu test execution review k.krzton Bug Normal

When executing following test on IE11:
Test passes but console output shows errors:

SCRIPT5007: Unable to get property 'nodeName' of undefined or null reference
File: element.js, Line: 750, Column: 4

Found during release of 4.5.5 but can be reproduced on 4.5.4 also.

#13921 [Edge] image2/editing test works unstable review t.jakut Bug Normal CKEditor 4.5.9

Run: htttp://

Last test of the suite test dimension should be empty after resetting size and loading image works very unstable in Edge.

#13929 [IE11 CM] Polyfill for classList throws error in manual test. review t.jakut Bug Normal CKEditor 4.5.9

Steps to reproduce

  1. Open

Expected result

There aren't any errors logged.

Actual result

SCRIPT5009: 'Element' is undefined is logged.

Other details (browser, OS, CKEditor version, installed plugins)

Internet Explorer 11 with Compatibility View on.

#13943 When custom config is missing, the default config gets loaded twice. review k.krzton Bug Normal CKEditor 4.5.9

Steps to reproduce

  1. Put below code into your config.js (custom config file doesn't exist under given path)
    config.specialChars = config.specialChars.concat([['♂', 'Male']]);
    config.customConfig = '/abc/config.js';	
  2. Open Special Characters dialog

Expected result

One male symbol is visible.

Actual result

Two male symbols are visible.

Other details (browser, OS, CKEditor version, installed plugins)

Happens in all browsers. I have been able to reproduce this issue from CKEditor 4.0

This issue has been reported on our support channel.

#14252 Styles dropdown doesn't always reflect the current style of the text line in Internet Explorer review k.krzton Bug Normal

Steps to reproduce

  1. Using the latest nightly build full demo eg. , add some new lines of text in the sample text by hitting enter and typing in some new lines (very short lines that don't wrap).
  1. Using Internet Explorer, apply style Subtitle to one of the new lines and style Special Character to the another line.
  1. Click away somewhere and click in the lines where you applied the styles.
  1. The style name is not displayed in the styles combo/dropdown.

Expected result

The style name should be displayed in the styles combo/dropdown.

Actual result

The style name is not displayed in the styles combo/dropdown.

Other details (browser, OS, CKEditor version, installed plugins)

This bug only happens in IE and not in Firefox or Google Chrome. Some styles (such as Italic Title) do display in the combo box. If you can tell me why some of the styles do appear, it would be nice if you could email me with this information so maybe I can change my style definitions. It doesn't seem to only be a case of whether it is a block vs an inline style (e.g. the Marker style works OK). My own custom styles don't show in the combo in IE and I don't know how to get it to work.

#14275 Proper error reporting in scriptloader for all browsers. review k.krzton New Feature Normal CKEditor 4.5.9

While working on #13943 there was a need to check if config scripts were loaded successfully. It is partially supported by scriptloader but not for all browsers (IE < 11, Safari, Opera - probably before migrating to Webkit). It is not really supported by those browsers in a proper way but still it may be needed in the future so probably should be done.

if ( && CKEDITOR.env.version < 11 ) {
    // FIXME: For IE, we are not able to return false on error (like 404).
    script.$.onreadystatechange = function() {
} else {

    // FIXME: Opera and Safari will not fire onerror.
    script.$.onerror = function() {

part of scriptloader.js loadScript function with planned fixes

#14288 Autolink in Firefox places caret inside link review k.krzton Bug Normal CKEditor 4.6.0

Steps to reproduce

  1. Using Firefox, go to a CKEditor build which has the autolink plugin present.
  2. Paste a URL, for example
  3. Hit space and continue typing

Expected result

The text you type appears after the link, not part of it (is behaviour in Safari and Chrome).

Actual result

The text you type is linked as if it was part of the URL.

Other details (browser, OS, CKEditor version, installed plugins)

Tested with:

  • Firefox 43.0.2 (latest at time of creating ticket) on Mac OS X 10.11.2 (latest at time of creating ticket)
  • CKEditor 4.5.6 (latest at time of creating ticket), Basic preset plus autolink plugin, Moono theme with English language

Effectively makes the autolink plugin unusable.

#14329 Typing Japanese with Windows IME on IE 11 does not fire change events review k.krzton Bug Normal CKEditor 4.5.9

Steps to reproduce

  1. Set up a Japanese IME keyboard on Windows (instructions here
  2. Go to nightly ckeditor build in IE 11
  3. Add a simple change hander in the console window that logs change events.

CKEDITOR.instances.editor.on('change', function(e) { console.log(this.getData()); })

  1. Change your input type to Hiragana and type something in like "Arigato". Press space to open the dropdown selector and pick one of the options or just press "enter" to confirm the word.

Expected result

When you confirm your composite word, the change event should fire and log the word typed.

Actual result

The change event does not fire.

Other details (browser, OS, CKEditor version, installed plugins)

Chrome seems to fire change events on nearly every keypress in IME mode. Firefox only does it when a word is "confirmed." I think Firefox has the right behavior, but really either is fine as long as the change event eventually fires. I have not tried IE10 or below, but I'm betting they have the same issues.

#14339 Drag and Drop sample does not work after the editor is destroyed and recreated. review Tade0 Bug Normal CKEditor 4.5.9

And it looks like a bug in the CKEditor, not a core.

Steps to reproduce

  2. In the console: CKEDITOR.instances.editor1.destroy();
  3. In the console: CKEDITOR.inline( 'editor1', { extraPlugins: 'hcard,sourcedialog,justify' } );
  4. Drag any "Contact" to the editor.

Expected result

Drag and drop will work in the normal way, Contact will be inserted.

Actual result

Nothing happen.

In fact, after destroy and recreate, the dragstart event on the contact list is not fired, what is weird, because that event should not be related to the editor instance. What is also interesting I can not attach listener to that event if the editor is not created, because the CKEDITOR.plugins.clipboard is undefined and CKEDITOR.plugins.clipboard.initDragDataTransfer causes error. Also if I add dragstart event on the plugin initialisation it is executed twice.

Other details (browser, OS, CKEditor version, installed plugins)

#14358 [Blink, FF] Block Elements removed when we copy & paste review k.krzton Bug Normal CKEditor 4.5.9

Steps to reproduce

  1. Open a sample with ACF disabled.
  2. Create a Block level element ( ex: H1)
  3. select the Block lelvel elemnt( ex: H1) with mouse or use Shift + Home
  4. Ctrl + C to copy
  5. Press Enter to go to a new paragraph
  6. Ctrl + V to paste

Expected result

Block Level element(ex: H1) pasted properly with all attributes(if any applied)

Actual result

Pasted as plain text with out Block level element and it's attributes

This is a regression from 4.5.x & it's HIGH priority defect for us & we have customer PMR

#14375 No progress bar, notifications in uploadwidget. review Tade0 Bug Normal CKEditor 4.5.9

Steps to reproduce

  1. Open
  2. Drag and drop an image from the file system.

Expected result

There should appear a progress bar, and after the upload is done a success notification should be displayed.

Actual result

There are no notifications and the image is "uploaded" almost immediately(no artificial delay - which should be present).

Other details (browser, OS, CKEditor version, installed plugins)

IE, Chrome, Firefox.

Bug appeared along with commit d691b1a152cae852f1165b78a46133f9875e7c44.

#14391 [Blink, FF] Alignment/Indentation/Language direction lost when we copy & paste review k.krzton Bug Normal

Steps to reproduce

  1. Open nightly build
  2. Type few paragraphs & apply different Alignments(left, center, right, justify)
  3. Select a paragraph with alignment(ex: right), copy it and paste it.

Expected result

Paragraph pasted properly with correct alignment

Actual result

Paragraph pasted with out any alignment.

  1. Type few paragraphs & apply different Indentaions to them
  2. Select a paragraph with Indentation(ex: margin-left:40px;), copy and paste it.

Expected result

Paragraph pasted properly with correct indentation

Actual result

Paragraph pasted with out any indentation.

This is happening across all browsers

#14413 Autogrow does not work in tabs review Tade0 Bug Normal CKEditor 4.5.9

Steps to reproduce

  1. Set up multiple CKEditors in tabs.
  2. Turn on AutoGrow plugin.
  3. Switch tab.

Expected result

All CKEditors to be the correct height to fit the content.

Actual result

In Chrome: the editor expands MASSIVELY to be > 32000px tall. In Firefox: the editor does not expand at all.

Other details (browser, OS, CKEditor version, installed plugins)


Latest CKEditor, 4.5.7. Tabs are using latest Twitter Bootstrap, 3.3.6. CKE config file is here:

#14451 Widget crashes if editable region has a numeric ID review t.jakut Bug Normal CKEditor 4.5.9

CKEditor throws an error if a valid widget has an editable element with a numeric ID (or any ID that needs escaped/serialized).

Underlying cause is getContextualizedSelector() in CKEDITOR.dom.element not escaping/serializing IDs when converting to a CSS selector, resulting in an invalid query passed to querySelectorAll() inside of CKEDITOR.dom.element.find(). Something akin to CSS.escape() is needed to correctly format the ID.

Steps to reproduce

  1. Navigate to "Enhanced Image" example on
  2. Go into source mode
  3. Add a numeric id to the figcaption element (say, id="100")
  4. Exit source mode

Expected result

CKEditor successfully returns to WYSIWYG mode; Widget and CKEditor continue to function normally.

Actual result

Everything is terrible. A JavaScript error is thrown. Editing area returns to WYSIWYG, but buttons are not re-enabled. Tons of CKEditor features don't work. Double clicking on widget does not bring up the editor dialog. Image in widget cannot be resized.

Other details (browser, OS, CKEditor version, installed plugins)

Only tested on CKEditor 4.5.7, but getContextualizedSelector is unchanged since it was added in 4.3.

Issue occurs in every browser I tested:

  • Chrome 48.0.2564.116 (64-bit) on both Mac and Linux
  • Safari 9.0.3 (11601.4.4) on OS X 10.11.3
#14550 Direct path to handle.png in widget plugin review Tade0 Bug Normal

There is the direct path to the image file instead of CKEDITOR.getUrl and that causes the issue when custom CKEDITOR_GETURL function is used.

#14573 Multiple editors, drag handler icon and divarea, missing CSS review k.krzton Bug Normal CKEditor 4.5.9

An example can be seen here, Hover over the widget in the second editor.

If you have two editors using divarea with the second using the enhanced image plugin the drag handle seems to be missing CSS so the image is full width and repeated.

#14605 Test for pagebreak fails in Chrome review Tade0 Bug Normal CKEditor 4.5.9

Open in newest stable Chrome (50). The test fails.

#14620 Autogrow plugin should reset iframe's html height review k.krzton Bug Normal CKEditor 4.5.9

This issue comes from

What happens there is that D8 is overriding min-height attribute for body element which with connection to height: 100% for html breaks the autogrow plugin.

To prevent that we could set body's element min-height (and probably height) to auto in initIframeAutogrow and it should work just fine. Note that it cannot be solved by setting html's element height to auto due to gecko wyswigarea plugin fix.

You'll find some useful findings here

#1066 Multi-user simultaneous editing support reopened New Feature Normal

add online editing, allowing multiple users to redline and display all edits to the ower

#3944 Preview mode reopened New Feature Normal

It would be useful to have the preview mode (just like Source).

#12750 Paste from Word: strikethrough and underscore should have the same color as font reopened pjasiun Bug Normal

Maintain color of strikethrough and underscore the same as font color of the text when copying from Word into CKEditor.


  • In MS Word, type in “Test font” with font family = Calibri, size = 14px and font color = red and then underscore and strikethrough the words “Test font”.
  • Copy from Word and paste the same in CK Editor. The font color remains red as expected but the underscore and strikethrough changes to default black.

Solution: the color of strikethrough (<s>) and underline (<u>) will be maintained, but only if colors, underline, strikethrough are applied to exactly the same selection (portion of text).

#5317 Create tool to improve detection of non released memory pending Task Normal

Follow up of #4555

It's not the typical "memory leak" problem present in the browsers, but it's easy to store data in a way that it isn't released after one instance is destroyed in an AJAX way, and that means more and more memory use, so it's in the end a memory leak.

In the previous bug we have cleaned up the main codeline, but there are other parts that will have to be reviewed and instead of trying to dig into every plugin we must try to find an automated way that help us diagnose where are the problems.

#6486 IE bug: Many smiles in the smiley dialog do not fit into surrounding TD tag pending Bug Normal

This is IE bug only:

I can see that the table with smiles is placed in TD tag (with class cke_dialog_contents) and the TD tag has attribute style="width:270px;height:120px;".

If I put 64 smiles into the smiles table into 8 columns then this table with smiles is bigger then the surrounding TD tag (width:270px;height:120px;).

In FF it is OK and the surrounding TD is enlarged according to the smiles table but in IE it is not.

#6948 Styles combo should more accurately reflect the selection pending Bug Normal

Use the following styles:

	{ name : 'Red Title'		, element : 'h3', styles : { 'color' : 'Red' } },
	{ name : 'Red title with blue background'		, element : 'h3', styles : { 'color' : 'Red', 'background-color' : 'Blue' } }

And the following content (place the caret somewhere inside the <h3>:

<h3 style="color: red; background-color: blue;">
	This is some <strong>sample text</strong>. You are using <a href="">CKEditor</a>.</h3>

Open the styles combo. Both "Red title" and "Red title with blue background" are marked as focused, while only "red title" is presented in the combo label. IMO the label should read "Red title with blue background".

#7239 Upload file and adobe air pending Bug Normal

Hi On air, the file uploader doesn't appears I have to precise that a <input type = "file" /> is properly rendered in air

#9300 Move keystroke handlers pending garry.yao Bug Normal

Currently we hooked all keystroke handles, inside of editable.js, it has the following cons:

  • Even if native behavior canceled by keydown listener, is still firing editor#key event, which should not happen.
  • Bad to continue enlarging editable.js code lines

core/keystrokehandler.js would be a proper new home for them.

#11007 Incorrect display of URL, file path including bidi data pending Bug Normal


Display of text on the screen is governed by Unicode Bidi Algorithm (UBA). This is true for both platform level rendering, web browser rendering and CKEditor rendering. UBA provides good results for plain text but fails to preserve structured in case of structured text includes bidi (Arabic / Hebrew) characters. UBA provide various tools (i.e. Unicode Control Characters) which can be used to instruct it about structure of the text. Using those tools we can achieve perfect display.

CKEditor context

In CKEditor we see following types of structured text:

  1. File paths
  1. URL

When Bidi data is used as part of those cases, the display of data is completely incomprehensible. For example: c:\AAA\BBB\Aa\file.txt (capital letters refer to Bidi letters) will be displayed as: c:\A\BBB\AAAa\file.txt As you can see not only the order of folders names but also their integrity is violated. Judging by appearance, you would think that top most folder is A, while in reality it is AAA. You would also think that there is a folder AAAa, while in reality there is no such folder.

#11166 Mirror editor if using divarea with a JavaScript loader pending Bug Normal

I have discovered a pretty weird issue causing the creation of a double editor, let's call it "Mirror Editor".

The setup:

  • CKEditor 4 (confirmed for 4.0 - 4.3, including custom built from Git)
  • JavaScript loader (self-made/head.js/LABjs)
  • jQuery Adapter
  • divarea Plugin

I need to make use of a JavaScript loader because CKEditor is sometimes dynamically loaded from a remote host, forcing me to use a dependent loader with callback. It is worth noting, that this issue is raised even if the files are loaded from the same host.

The issue is caused by a race condition, we're creating an CKEditor instance by using a custom config passed to $(...).ckeditor($config). Meanwhile the other scripts on the page finished executing and CKEditor's callbacks for domReady are executed. One of these callbacks invokes inlineAll() which normally isn't much of a big deal, but since we're using the divarea plugin, it happens to sometimes trigger it on the editor in creation.

As a result we end up with two editors (the 2nd one has a generic ID and element.$ = div.cke_wysiwyg_div) which are unaware of each other and ultimately breaking everything, even the toolbars overlap.

It is worth noting, that the issue is not always reproducible, usually 1 of 3 page loads result in the broken editor(s).

To solve this issue I'm setting CKEDITOR.disableAutoInline = true; immediately after CKEditor has loaded to prevent this double creation.

You can see this issue on the attached screenshot, the editor with the grayed-out buttons is the mirror editor (2nd created) and you can clearly see the "real" editor hidden below it. Once it loses focus, the 2nd editor becomes invisible.

#11541 In Find & Replace, Match Whole Word option is not working pending Bug Normal

Dear Team,

In Find and Replace, "Match Whole Word" is not working.
when typing the whole word and searching it shows

The Specified Text was not found

It works fine for "Match Case" & "Match Cyclic"

Kindly check with the demo site as mentioned below[[BR]]

Please guide me to resolve this problem.

Thanks in Advance.

#11714 [iOS] Slowness when CKEditor is within an inline-block element on iPad pending Bug Normal

Significant slowness occurs when CKEditor is contained in an inline-block element using an iPad. When styled as a block element these issues go away. This occurs with both Safari and Chrome, both being webkit bases browsers. A simple test case

#12083 placeholder plugin - inline editor - text align break html of the page pending Bug Normal

Hi, I tried using placeholder plugin in a ckeditor inline version in Chrome (Windows 8 64 bit, chrome version 35.0.1916.114 m). If I put one placeholder at the end of the content of a textarea and then I try to modify many times text-aling property (changing to left, right, justify, center randomly), then the html of the page breaks up.

Can you explain that? It does not happen in Firefox (version 29.0.1)

Many thanks Daniele

#12250 Cannot disable auto inline functionality when CKEditor is being loaded via Ajax pending Bug Normal


It seems it is not possible to disable the auto inline functionality when CKEditor is being loaded via Ajax. This is because DOM is ready on the moment CKEditor executes the following code:

CKEDITOR.domReady( function() {
    !CKEDITOR.disableAutoInline && CKEDITOR.inlineAll();
} );

I cannot set CKEDITOR.disableAutoInline before that, because CKEDITOR does not exist in window yet.

Is there a way to resolve this nasty issue?

#12270 iFrame & Javascript videos don't play in IE pending Bug Normal

Can't get streaming videos to play in IE (works in other browsers). I added streaming videos to the CKEditor (using the "Source" function). I did an iFrame to the URL of the video and added the video's Javascript code for another video. The videos are hosted by Brightcove.

The videos play in Chrome and Safari, but don't appear in Internet Explorer 9 (haven't tried other versions of IE). Is there any configuration/setting I can change in the CKEditor to get videos to play in IE? Or alternatively any change I can make to my Javascript code or iFrame code to get the videos to play?


#12314 Entermode inconsistencies pending Bug Normal

I'm using inline mode, enterMode : CKEDITOR.ENTER_DIV

1) Slap a heap of divs into the editor 2) Hit enter anywhere, a new div is created (is this by design?) 3) Ctrl-A, Del 4) Use source button to verify editor is indeed "empty" 5) Use blocks plugin to verify editor is not actually empty, but has a dummy div holder 6) Hit Enter, divs are still created 7) Use source to set <p></p> for content 8) Hit Enter, <p>s are created now

Problems: 1) Is the enter-in-div=div by design? 2) There should be a way to go back to <p> mode between divs 3) The dummy container created for an empty editor should fall back to <p> if editor is indeed empty

#12342 CKEditor in IE 11 Enterprise Mode with Compatibility Mode not working pending Bug Normal

Trying the samples in IE 11 with Enterprise mode enabled. They do not display correctly. See attachment.

Tried it with 4.3.3, 4.4.3 and 4.4.4


Workaround: see comment:3.

#12572 Problem when I typing Korean In IE, Chrome. pending Bug Normal


I have problem when I type Korean language.

This problem like this video. Video:

I read these tickects and

One More things I have a orther problem: After i change font-size. Ex: 48px. And Now, I type korean language. But it didn't keep this font-size(it should be 48px. But it's seted to default).

You can see it in

Can you suggest me how to fix it?

OS: window 8.1 IE: 11 Chrome: 38.0.2125.104 CKedior: 4.4.5

Thank for reading.

#12718 Error on destroying editor, detached from DOM. pending Bug Normal

If you remove editor container from DOM and then call editor.destroy(), you got exception, because CKEditor assumes frameElement of editable is available. But element.frameElement is null.


#12743 Task list: let the user create a list of actionable checkboxes pending New Feature Normal

Let the user enter a list of checkboxes/ radio buttons, that are actionable.

#12995 copied text inserted multiple times pending Bug Normal

In some cases , when i paste data in ckeditor the text copied is duplicated multiple times (2 , 4 sometimes 8 ) . The same issues occurs sometimes with the insertText Method : ex : the code is insertText('beep') ---> the text inserted is 'beep beep beep beep'.

Unfortunately the issue is rare and i straggle to reproduce it everytime . Tho , I noticed that this behaviour may occur after heavy use of ckeditor (paste large amout of text etc etc ) .

In thoses cases when i debug the ckeditor i see many listners to insertText event (in the normal flow i see just one ) .

I guess in some heavier use of ckeditor , the same listner to insertText is register multiple times causing this weired behaviour .

Even if the reason may be not clear , I wonder if there is some workaround like reinitialize all listners before setting text .

Any help whould be truly appreciated since this bug is random and may affect clients data .

#13087 How to unfocus newly created CKEditor widgets pending Task Normal

I'm not sure whether its an issue with CKEditor or an error on my part but this is the issue that I'm facing:

  • I insert some HTML using a custom CKEditor command
  • That element is upcasted to a custom CKEditor widget
  • Focus is on the widget

Now, if an user wants to add some text or something else, one has to explicitly click on the red "Add new paragraph" thingy at the bottom of the widget. Now, my question is that can we automatically add that new paragraph after the widget? From what it seems to me, the issue is that the newly created widget is in focus and hence no other text can be added.

Please let me know how to fix this issue.

#13180 FF: Cursor stops before non content editable element when pressing left arrow key pending Bug Normal

Steps to reproduce:

  1. Go to
  2. In the console: CKEDITOR.instances.editor1.insertHtml('aaa <a contenteditable="false" href="">@Amy Jones126</a> aaa')
  1. Same for a similar structure more similar to mentions
  2. In the console: CKEDITOR.instances.editor1.insertHtml('aaa <span contenteditable="false"><a href="">@Amy Jones126</a></span> aaa')
  3. Press the left arrow key...
#13307 Uncaught IndexSizeError: Failed to execute 'extend' on 'Selection': 1... in Blink-browsers pending Bug Normal

Seemingly at random, I get this exception when calling editor.getData() in my application. The error message is identical to #12727, but I believe it is a different bug since I use neither Div Editing Area or Content Template plugin.

I haven't been able to reproduce the bug myself, but I'm using a bugtracking tool with a console recorder in the public version of my application that tells me that the error occurs quite frequently. It seems to be a Blink-only problem and has been around since 4.4.6 at least.

Screenshot and build-config attached. I'll try switching to an uncompressed version of CKEditor to see if I can get some more info from the console recorder.

#13315 CKEditor object in debug mode doesn't load correctly. pending Bug Normal

Using the CKEditor in debug mode ( ?x-ckeditor-debug=true ) , when the CKEditor loads, i'm getting errors in the console, regarding some methods missing(e.g. the CKEDITOR.on method).

I used to this simple html page to load the editor :

<!DOCTYPE html> <html> <head>

<title>Source defect CKEditor Sample</title> <meta charset="utf-8"> <script src="../ckeditor.js"></script>

</head> <body>


<label for="editor1">

Editor 1:</label>

<textarea cols="80" id="editor1" name="editor1" rows="10">

&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href=""&gt;CKEditor&lt;/a&gt;.&lt;/p&gt;

</textarea> <script>

CKEDITOR.replace( 'editor1' );



</body> </html>

#13380 Alert messages in RTL mode are not mirrored pending Bug Normal

(tested on IE11 and FF)

Impact on all languages: text is not translated in the message box (i.e. text on the button) unless web browser itself is translated to that language.

Impact on bidi languages: message boxes are not mirrored / flipped unless web browser itself is translated to Arabic / Hebrew.

This behavior has a pretty serious impact on user experience, since there are around 18 contexts in which alert message is called.

We suggest to contribute a solution by developing a general modal message box in pure JS which will address all the needs currently addressed by alert dialog.

Do you agree that this issue should be fixed? If so, do you accept the suggested approach to the solution?

Thank you

#13402 Application Error Disclosure pending Bug Normal

Details of some of our error messages are being exposed publically which could potentially allow hackers to have insight into the location of flies on our site. Has this bug been identified? (I could not find anything on the search). It seems to be most common in Chrome. Also, we are not on the most current version of CKEditor. Would upgrading resolve this issue?

#13425 Autoembed: breaking the link before embed loads pending Bug Normal

When you paste autoembedable link into the editor and break it (using enter key) before the embed content loads, broken part is not removed.

Steps to reproduce:

  1. In empty editor, paste
  2. Before the link is converted, press left key and enter key.
  3. Wait for embed content to load.

Expected result: The editor contains only embeded content.
Result: The editor contains embeded content and leftovers from the link.

#13450 CKEditor leaving stray markup in style sheet pending Bug Normal

Today I was alerted to some errors from our CSS inliner. On inspecting it, I found that CKEditor had inserted a style tag in the middle of a style sheet, so it ended up like this:

    table.columns .right-text-pad {
      padding-right: 10px;
    <style data-cke-temp="1">html{cursor:text;*cursor:auto}
<style data-cke-temp="1">html{cursor:text;*cursor:auto}

It was inserted right at the bottom of the style tag that was there already, but still inside it. It's nothing to do with our inliner as I've since found it in other content that doesn't use it.

As you can see, it looks like it has happened more than once. I'm getting the the contents of the editor using cke.getData(), saving it via XHR, which gives me a filtered version back, and so I reinject it into the editor with cke.setData(). For this to happen, it must mean that getData is including this temporary markup.

Very occasionally I've seen another similar problem where every image in the content (which usually gets the little drag cross icon attached top left on rollover) gets the drag icon image permanently attached.

I think it's similar in that it's temporary markup injected by ckeditor failing to be cleaned up in the final output, which should be free of such things.

Unfortunately I can't reproduce this reliably so can't give you a test case at present, but I assume that this is done in some consistent way.

#13479 CKEditor to doesn't work in Firefox 38.0.5 pending Bug Normal

I'm using CKEditor for, version 3.6 in my application and it work fine in Chrome and IE but in Firefox it doesn't appear. There is a compatibility issue with that browser and CKEditor?

#13524 Misaligned icons in Rails pending Bug Normal

I've implemented CKEditor in my Rails app but the icons are not algined properly. I've tried to fix it in several ways but cannot make them align inside the boxes.

#13597 IE11 Undo event bug pending Bug Normal

if test the IE10 or Chrome test data

  1. typing : wiki
  2. Italic text click : wiki
  3. undo click : wiki

if test the IE11 test data

  1. typing : wiki
  2. Italic text click : wiki
  3. undo click : empty
#13611 IE11 selectRanges -> nativeRange setStart indexSizeError pending Bug Normal

I use the Ckeditor 4.5.1

test : IE11

  1. typing the text : testTitle
  2. typing the text : CTRL + Z
  3. selectRanges -> nativeRange.setStart(range.startContainer.$, h.startOffest) : IndexSizeError


#13619 SourceDialog html is empty for Inline editors in chrome pending Bug Normal

Steps to reproduce

  1. Go to
  2. Click in the inline area
  3. Create some whitespace by pressing enter a time or two.
  4. Do either a shift+Enter to nest a <br> or click two formatting options (like Bold and Italics)
  5. Click the SOURCE button

Expected result

Brings up the html markup for the editable area

Actual result

brings up a blank dialog

Other details (browser, OS, CKEditor version, installed plugins)

Google Chrome Version 44.0.2403.125 m Windows 7 Ckeditor 4.5 I did this in an sdk sample so nothing extra, but it happens in my editor with more plugins too.

#13627 [bidi] Structure text is not supported in URL fields in Insert image dialogs pending Bug Normal

Steps to reproduce

URLs or file paths should have structure text (STT) support in order to properly display them. In Insert image dialogs, STT expression is not ordered correctly when contains Hebrew strings/resources duo to lack of STT support.

See attached images for each case:

  • Image file path
  • URL link
  • URL image info

Expected result

Actual result

Other details (browser, OS, CKEditor version, installed plugins)

#13628 config.floatSpacePinnedOffsetY not working correctly with inline ckeditor pending Bug Normal

Steps to reproduce

Steps to reproduce:

  • Open an inline ckeditor that has config.floatSpacePinnedOffsetY set (e.g. = 100)
  • put a lot of empty lines into the editor (so that the end of the editor field resides below the viewport)
  • Put the focus into the ckeditor (so that the floating header appears)
  • Slowly scroll down

Actual behavior: see Floating Toolbar broken.webm

Expected behavior: see Floating Toolbar fixed.webm

Expected result

Actual result

Other details (browser, OS, CKEditor version, installed plugins)

#13664 Select all not working in source mode in ie pending Bug Normal

Steps to reproduce

  1. click on source button

2.write some thing and try to press select all button

  1. nothing is getting selected

Expected result

text should get selected

Actual result

text is not getting selected

Other details (browser, OS, CKEditor version, installed plugins)

#13684 Double Click inside the widget with CK Editor 4.5 && SCAYT Enabled causes IE to Freeze pending Bug Normal

we are using ckEditor 4.5 and scayt version 4.8. when we double click on text area with scayt_autostartup to true, the screen freezes for some time (b/w 30 sec to 1 min) and then responds back. When Scayt_Autostartup = false every thing works fine.

Steps to reproduce

  1. Set Scayt_Autostartup = true
  2. dblclick inside textarea
  3. Screen freezes

Expected result

Actual result

Other details (browser, OS, CKEditor version, installed plugins)

#13698 IE 11 ctrl+end with widgets pending Bug Normal

Steps to reproduce

  1. Go to
  2. Insert multiple "Simple Box" widgets (the same behaviour happens with any widget)
  3. Press Ctrl+a to select all
  4. Press Ctrl+End

Expected result

The cursor moves to the end of the editor contents

Actual result

The cursor moves to the end of one of the widgets

Other details (browser, OS, CKEditor version, installed plugins)

Internet Explorer 11

#13704 Cursor position lost after selected text deletion pending Bug Normal

Steps to reproduce

  1. Configure: config.scayt_autoStartup = true;
  2. Past or Edit text with at least one spell error
  3. Select a few words, including a portion of word with spell error
  4. Delete selected text by Canc or backspace

Expected result

Selected text deleted and correct cursor position

Actual result

Selected text deleted, but cursor moved on random position

Other details (browser, OS, CKEditor version, installed plugins)

Browser: Firefox 40 OS: Ubuntu CKEditor version: 4.4.6 and 4.5.3 installed plugins: placeholder, widget, iframedialog, autogrow

#13734 Method not found pending Bug Normal

Steps to reproduce

First i dowloaded CKEditor with the following settings:

  1. Choose preset: Basic
  2. Select your plugins and skin:

-FontSize and Family -Basic Styles -Editor Toolbar -Enter Key -Escape HTML Entities -IFrame Editing Area -IndentList -Link -List -Undo -... followed by the plugins required by other plugins

As skin i picked "Flat".

  1. Finalize and download:

Editors language is English and German.

Then i downloaded first the Optimezed version and put it in my web projekt. I builded everything and reloaded and got this error:

"Error Parsing /xhtml/include/vdbw/edit.xhtml: Error Traced[line: 135] The element type "textarea" must be terminated by the matching end-tag "</textarea>"."

After i saw this, i commented the scipt block out where CKEDITOR.replace('mytextareaId') is called and typed in my Firebug Console CKEDITOR.replace('mytextareaId'). I got

TypeError: c[a] is undefined
a);var c=this,d=function(){c[a].dir=c.rtl[a]?"rtl":"ltr";b{a,c[a])};this[a]?d()...

So i thought i try the Source code, to see and fix the bug(if its my fault) or to better report. If i tried it with the Source code firebug told me CKEDITOR.replace is not a function.

Expected result

To see the CKEditor.

Actual result


Other details (browser, OS, CKEditor version, installed plugins)

Firefox 40.0.3, Windows 7 Professional, CKEditor 4,

Plugins: -FontSize and Family -Basic Styles -Editor Toolbar -Enter Key -Escape HTML Entities -IFrame Editing Area -IndentList -Link -List -Undo -Dialog -Dialog User Interface -Fake Objects -Floating Panel -Indent/Outdent -List Block -Panel -Rich Combo -UIButton

#13757 HTML tags returning in CKEditor in IE pending Bug Normal

Steps to reproduce

  1. Open a browser in IE11
  2. Navigated to a page with a CKEditor text area.
  3. Clicked on source view

Expected result

I would expect the text view to show without html tags and have correct margins, font styling, paragraphs etc.

Actual result

Text view:

HTML tags are showing in text view and while clicking on source view &gt, &lt, and ;&amp;nbsp; are not being replaced with <,> &nbsp;

Other details (browser, OS, CKEditor version, installed plugins)

this is not consistant but appears to happen on IE11 and was having issues on earlier versions.

#13781 CKEditor didn't work properly while typing Chinese characters pending Bug Normal

When trying to enter Chinese character using pinyin, the word options list disappeared after typed in the first letter (it didn't wait until I finish typing the whole pinyin) and it just auto select the first letter at once. I guess it's similar with this one

I tested on here in standard model. The issue appeared, it's similar but not exactly same thing.

Steps to reproduce

  1. Type some Chinese characters

2.Click a font format button e.g 'Bold'

  1. Continue typing, the issue will appears

Expected result

Select Chinese characters when I finish typing the whole pinyin (usually triggers by space )

Actual result

Just select pinyin letter at once.

Other details (browser, OS, CKEditor version, installed plugins)

Browser: Google Chrome 45.0.2454.99 OS: OSX Yosemite 10.10.5 CKEditor version: 4.5.1 Installed plugins: divarea, autogrow ,placeholder,confighelper

#13806 Removing bookmark around a widget causes an runtime error pending Bug Normal

Steps to reproduce

  1. Open the attached ckeditor.html
  2. click the testWidget button
  3. click the bookmark button
  4. click the bookmark button again

Expected result

No errors.

Actual result

Error printed to console: Uncaught TypeError: Cannot read property 'type' of nulla @ ckeditor.js:126window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.range.createBookmark2 @ ckeditor.js:128window.CKEDITOR.window.CKEDITOR.dom.e.createBookmarks2 @ ckeditor.js:452window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.selection.createBookmarks2 @ ckeditor.js:409window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.plugins.undo.Image @ @ ckeditor.js:948d @ ckeditor.js:943h @ @ @ @ @ ckeditor.js:740window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.ui.button.render.n.execute @ ckeditor.js:741(anonymous function) @ ckeditor.js:742(anonymous function) @ @ ckeditor.js:29onclick @ ckeditor.html:1

Other details (browser, OS, CKEditor version, installed plugins)

Chrome, Linux, 4.5.4, only one plugin in the html installed ==

#13813 When calling CKEDITOR.replace with two extra Plugins twice, the editor does not load on the second time pending Bug Normal

I am trying to add two extra plugins. Every time I open the editor, I call CKEDITOR.replace. It works fine first time I open the editor, however if I close it and reopen it again (i.e. call CKEDITOR.replace again), the editor never loads. Also, I noticed that if I leave a single plugin, the problem disappears.

I have took a look into the source code and I found a mistake in the CKEDITOR.scriptLoader.load method.

var scriptCount = scriptUrl.length;

// ...

for (var i = 0; i < scriptCount; i++) {
    loadScript( scriptUrl[ i ] );

// ...

var checkLoaded = function( url, success ) {
    ( success ? completed : failed ).push( url );
    if ( --scriptCount <= 0 ) {
	showBusy && CKEDITOR.document.getDocumentElement().removeStyle( 'cursor' );
	doCallback( success );

As you can see, there is a loop, where loadScript is called for each scriptURL (a number of scriptURLs equals to scriptCount). However it turns out that loadScript decreases the scriptCount. So if scriptCount = 2, the second scriptURL does not have a chance to be processed, because the loop is ended after the first iteration!

I have resolved this problem by replacing scriptCount to scriptUrl.length in the loop:

for (var i = 0; i < scriptUrl.length; i++) {
    loadScript( scriptUrl[ i ] );

You may want to apply this fix.

#13845 Editor screen collapse after switching from full screen mode to normal mode pending Bug Normal

Steps to reproduce

  1. Go to Editor and Select Full Screen option
  2. Edit something there
  3. Back to small screen

Expected result

When user is back to small screen after editing content in full screen mode the screen should be as is as it was before shifting to full screen mode.

Actual result

When user is back to small screen after editing content in full screen mode the screen collapse shows editor get shifted slightly to left under something makes unable to see full editor.

Other details (browser, OS, CKEditor version, installed plugins) ==Browser: Google chrome

Editor version : 4.5.3 All plugins installed came in full featured CK Editor

#13866 Content Loses Formatting When Copied From Citrix Session into Local CKEditor Instance pending Bug Normal

Content that is pasted from a Citrix-delivered application (Word, Outlook, etc.) loses formatting when pasted into a non-Citrix delivered browser. Examples of lost formatting are bold, valid bullets (created with Word bullet tool vs. "fake" typed bullets) that should be transformed into <ol> and <ul></li> structures are instead changed to HTML entities (&bull; with trailing &nbsp;).

Pasting into IE 11 from Citrix to local does retain bullet formatting, but loses bold formatting, and extra <p> tags are injected where there should be none.

Screenshots of each condition/result and source are provided. Primary platform is Windows 7, Citrix is also on Windows Server 2008 R2.

#13937 Clearing "mouseup" timeouts on destroy in clipboard plugin pending Bug Normal

We found an issue with "mouseup" callback in ckeditor clipboard plugin which is executed after editor had been destroyed. There was already a bug for this issue (#10219), but actually the solution was not a full fix, although the bug has been closed.

The current solution (4.5.x/plugins/clipboard/plugin.js, lines 642-658):

var mouseupTimeout;

// Use editor.document instead of editable in non-IEs for observing mouseup
// since editable won't fire the event if selection process started within
// iframe and ended out of the editor (#9851).
editable.attachListener( ? editable : editor.document.getDocumentElement(), 'mouseup', function() {
	mouseupTimeout = setTimeout( function() {
	}, 0 );
} );

// Make sure that deferred mouseup callback isn't executed after editor instance
// had been destroyed. This may happen when editor.destroy() is called in parallel
// with mouseup event (i.e. a button with onclick callback) (#10219).
editor.on( 'destroy', function() {
	clearTimeout( mouseupTimeout );
} );

The full solution for this issue should be like this:

var mouseupTimeouts = [];

editable.attachListener( ? editable : editor.document.getDocumentElement(), 'mouseup', function() {
	mouseupTimeouts.push(setTimeout( function() {
	}, 0 ));
} );

editor.on( 'destroy', function() {
	for (var i = 0; i < mouseupTimeouts.length; i++) {
		clearTimeout( mouseupTimeouts[i] );
} );

Timeouts are set many times on each "mouseup" event, so they all should be cleared on destroy (not only the last one which is assigned to variable).

Please validate our suggested solution as soon as possible.

#13958 Selection ranges sometimes calculates out of bounds indexes. pending Bug Normal

Steps to reproduce

  1. Make selections in ckeditor rapidly.

Expected result

No console messages

Actual result

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36 Error: Failed to execute setStart on Range: The offset 19 is larger than or equal to the nodes length (18).

at Error (native) at Object.CKEDITOR.dom.selection.selectRanges ( at Object.CKEDITOR.dom.selection.unlock (

Other details (browser, OS, CKEditor version, installed plugins)

Error is traced back to this line on github:

It appears it is possible to get a larger offset for range.startOffset then is available on the nativeRange.

The impact to the user is minimal as the user has not complained that this results in any noticeable impact.

#13964 page design problem pending Bug Normal


I just want to let you know that my pages do not look the same anymore when i publish content. SO:

  1. previous version (GOOD version as it should look my pages):

  1. BAD version (how my new published pages look like now):

please help. thank you. p.s. don;t know exactly my actual version of ckeditor.

#14240 Track not respecting void element flag. pending Bug Normal

Steps to reproduce

  1. In CKEditor paste:

<track label="English subtitles" kind="subtitles" srclang="en" src="video-subtitles-en.vtt" default>

  1. Toggle the source button on / off

  1. The rendered result is:

<track default="" kind="subtitles" label="English subtitles" src="video-subtitles-en.vtt" srclang="en"></track>

note: ACF should be disabled this is likely why the whole Track tag is stripped in nightly demo as tried to reproduce there.

Expected result

The expected result is that track should respect the fact it is a void element.

Running 'CKEDITOR.dtd.$empty' in the console does show Track is flagged as 1.

Actual result

An extra closing track tag is added.

Other details (browser, OS, CKEditor version, installed plugins)

All CKEditor versions 4.3.5+, MacOSX, Chrome 47, and no plugins

As an aside thank you for all the amazing work done in CKEditor it works superbly otherwise

#14243 img link in code tag gets interpreted, line breaks on adding new record and editing. pending Bug Normal

Steps to reproduce

Running ckEditor 5.4.3 on groceryCRUD, a CodeIgniter library.

  1. Adding new record/ Editing an existing one.
  2. Pasting code with CodeSnippet function works fine.
  3. However, on Click to edit the record (to add more content), code broken

Another way to reproduce error:

  1. Adding new record/ Editing an existing one.
  2. Inserting the <img src to the subject field does appear to give the same issue.

Expected result

  • No parsing of html codes inside the code & pre tags.
  • No line breaks.

Actual result

  • sample img link inside the code portion got interpreted
  • and line breaks appear in pre code portion.

Other details (browser, OS, CKEditor version, installed plugins)

I tried to configure my config.js but I encouter a few issues with my code (using codeSnippet) in code tag being interpreted. See photos Please help.

Link to test:

#14249 Windows 10 Firefox moving cursor when deleting misspelled word pending Bug Normal

Steps to reproduce

  1. Enable SCAYT
  2. Type a bunch of words, some of them being misspelled
  3. Move cursor using mouse to the end of a misspelled word
  4. delete it using the backspace

See this screencast to see the issue happening:

Expected result

Deleting a word should NOT move the cursor

Actual result

When deleting a mispelled word, it either jumps to the next mispelled word or moves to the next line.

Other details (browser, OS, CKEditor version, installed plugins)

Only on Windows 10 and Firefox. Using the latest version 4.5.5. Issue seems to be with SCAYT

#14258 Style Definitions with Variable Values Is Not Replacing ._AC Object Correctly pending Bug Normal

Hello there,

I noticed I bug where is defined in style.js, in the case of variable values, styleDefinition._AC is not being replaced. I encountered this issue when I try to remove a style with variable values, when checkElementMatch is called, we see a discrepancy between styleDefinition.attributes and styleDefinition._AC. For example, styleDefinition.attributes will have the replaced value, myColor: 'white', but styleDefinition._AC will have the non-replaced placeholder, myColor: '#(color)'.

Relevant code block:

if ( variablesValues ) {
            styleDefinition = styleDefinition );

            replaceVariables( styleDefinition.attributes, variablesValues );
            replaceVariables( styleDefinition.styles, variablesValues );

Proposed code change:

if ( variablesValues ) {
            styleDefinition = styleDefinition );

            replaceVariables( styleDefinition.attributes, variablesValues );
            replaceVariables( styleDefinition.styles, variablesValues );
            if ( styleDefiniton._AC ) {
                    replaceVariables( styleDefinition._AC, variablesValues );

Thank you!

#14260 <table>-Widgets lose data-*-attributes when upcasted pending Bug Normal

I don't know if it's intended to use tables as widgets, but i have to do so in a project so I stumbled upon that.

Steps to reproduce

  1. Create a widget that is based on a table element
  2. Store the data in the downcast function as a data-* attribute
  3. Try to reload it in upcast

Expected result

Similar to div elements the data-* attributes should be in the attributes property of the element.

Actual result

They aren't, and the class attribute isn't too, so hasClass() also isn't working.

Other details (browser, OS, CKEditor version, installed plugins)

Tested with versions 4.5.4 to 4.5.6

#14261 IE9/IE11 Enter_BR cursor doesn't go to the next line pending Bug Normal

Related to a closed ticket,, but the behavior occurs when enter key is pressed, not shift+enter.

In ENTER_BR mode, when the user presses the Enter Key at the end of the line, the cursor doesn't go to the next. Instead, the cursor behaves as if the Space key is pressed. The cursor only moves at the next line when the user continues to type after the Enter key.

This issue is intermittent, but it occurs more often if there's a postback that occurs in the page.

Steps to reproduce

  1. Get the 4.5.6 standard version of ckeditor
  2. In config.js add line: config.enterMode = CKEDITOR.ENTER_BR
  3. In the page with the ckeditor loaded, cause a postback (I did so by pressing the Enter while having focus on a button)
  4. Tab over (not mouse click) to the ckeditor and type something and press Enter.

Expected result

The cursor goes to the next line.

Actual result

The cursor stays on the same line

Other details (IE9, IE11, CKEditor version 4.5.6, ASP.NET)

#14270 Formatting buttons not working in Microsoft Edge. pending Bug Normal

Steps to reproduce

  1. create the editor in a website
  2. click on the Horizontal line button or attempt to BOLD text

Expected result

Horizontal line should be inserted, or text should become bold

Actual result

No result as if no action has been taken

Other details (browser, OS, CKEditor version, installed plugins)

#14284 extra white space appear in code snippet area in ckeditor pending Bug Normal

I am using ckeditor's code snippet pluggin.Problem is when in put code in the window everything is ok in chrome ,but when i put it in editor a lot of white space appears.And in firefox white space appears both in snippet window and editor.How i can solve this? i want something like SO's code snippet's auto indentation

i tried the following code.but not helping me much:

CKEDITOR.addCss( 'body {word-break:break-all;}' );

CKEDITOR.addCss('code{font-size:14px;}'); CKEDITOR.addCss('code{white-space:pre-wrap}');

#14292 Font Size Dropdown appending Text also pending Bug Normal

Steps to reproduce

  1. on Button click, i used to append text to the editor.
  2. select one word and trying to change Font size. it is changed as per expectation
  3. when i click the append button again , the content append on editor as well in the Size drowpdown also.

4.Some times the dropdown will not display the list of size

Expected result

After Change inner html of the Editor by external button, the Font size should get change/size dropdown should display the size list box.

Actual result

It will not load the size list box when append the text / change the html content by $('iframe').contents().find('body').html()

Other details (browser, OS, CKEditor version, installed plugins)

#14305 an ASCII character is not removed by the "copy from word" cleaner button pending Bug Normal

Steps to reproduce

  1. paste the Data link escape - ASCII CODE 16 in the paste from word button (

Expected result

The ASCII character should be removed.

Actual result

It remains.

Other details (browser, OS, CKEditor version, installed plugins)

#14344 Add a plugin to view actual content on Website pending New Feature Normal

I want a plugin so the i can view contents on website before saving the data inside Plugin

#14383 Ckeditor don't work with firefox mobile pending Bug Normal

Steps to reproduce

Hi, i reocrd this in video you can see my test made on google chrome for android (works perfectly) and on a firefox mobile (formatting and new line has a bug and don't work) i use CKeditor on IPS4 link of video i don't use plugin installed and test this bug in many place :( Tahnks in advance

Expected result

Actual result

Other details (browser, OS, CKEditor version, installed plugins)

#14513 Insert image and adding link popup not working with editor in popup pending Bug Normal


I'm a new user, but I have a really weird problem. I try to explain what our problem is.

We have an popup with an CKEditor on it. This works like a charm. But we are not able to use the plugins for adding a link and adding an image. When we click on the icons in the toolbar the popup opens, but we can't do anything in that popup.

Is there someone who's got the same problem? And what is the fix we need to do?

We use CKEditor 4.5.6 in a MVC website

#14540 Safari: Opening browser context menu on a link & selecting Open Link option making editor unusable pending j.swiderski Bug Normal

Steps to reproduce

  1. Open nightly build
  2. Keep cursor inside link(CK Editor)
  3. use CMD + Right click to ope Browser context menu
  4. Click on Open Link in Browser context menu


Entire CK Editor replaced by the CK Editor page and can't go back to editor body or click on any options in toolbar

Browser - Safari 9, OS MAC

#14543 EDGE: Replacing text with empty string not working in Find & Replace dialog pending Bug Normal

Steps to reproduce

  1. Open nightly build
  2. Remove existing text and add test find and replace icon button
  3. Keep cursor at beginning of paragraph
  4. Open Find & Replace dialog, go to Replace tab, uncheck all checkboxes
  5. In Find what field type "find", In Replace with field leave it empty
  6. Click on Replace button
  7. It finds word find
  8. Click on Replace button again

Expected result

Find word is removed

Actual result == Find word not replaced

#14597 After enabling scayt in inline mode and click browser back button gives error. pending Bug Normal

Steps to reproduce

  1. I have multiple CKEditor inline instances on a single page.
  2. Click on any inline editor will display CKEditor toolbar.
  3. From toolbar select SCAYT drop-down and click "Enable SCAYT".
  4. On right click of wrong word gives you spell check suggestion select any one from the list.
  5. Now click on browser back button gives error.

Expected result

1.Should not give any error after browser back button click.

2.This gives error only when we "Enable SCAYT", in all other case it working as expected.

Actual result

Gives following error :

Mismatched anonymous define() module: function(a) {
    return a.createModule("SaveRestore", ["WrappedSelection"], function(a, b) {
        function c(a, b) {
            return (b || document).getElementById(a)

        function d(a, b) {
            var c, d = "selectionBoundary_" + +new Date + "_" + ("" + Math.random()).slice(2),
                e = o.getDocument(a.startContainer),
                f = a.cloneRange();
            return f.collapse(b), c = e.createElement("span"), = d, = "0", = "none", c.className = "rangySelectionBoundary", c.appendChild(e.createTextNode(r)), f.insertNode(c), c

        function e(a, d, e, f) {
            var g = c(e, a);
            g ? (d[f ? "setStartBefore" : "setEndBefore"](g), p(g)) : b.warn("Marker element has been removed. Cannot restore selection.")

        function f(a, b) {
            return b.compareBoundaryPoints(a.START_TO_START, a)

        function g(b, c) {
            var e, f, g = a.DomRange.getRangeDocument(b),
                h = b.toString(),
                i = q(c);
            return b.collapsed ? (f = d(b, !1), {
                document: g,
                collapsed: !0	
            }) : (f = d(b, !1), e = d(b, !0), {
                document: g,
                collapsed: !1,
                backward: i,
                toString: function() {
                    return "original text: '" + h + "', new text: '" + b.toString() + "'"

        function h(d, f) {
            var g = d.document;
            "undefined" == typeof f && (f = !0);
            var h = a.createRange(g);
            if (d.collapsed) {
                var i = c(d.markerId, g);
                if (i) {
           = "inline";
                    var j = i.previousSibling;
                    j && 3 == j.nodeType ? (p(i), h.collapseToPoint(j, j.length)) : (h.collapseBefore(i), p(i))
                } else b.warn("Marker element has been removed. Cannot restore selection.")
            } else e(g, h, d.startMarkerId, !0), e(g, h, d.endMarkerId, !1);
            return f && h.normalizeBoundaries(), h

        function i(b, d) {
            var e, h, i = [],
                j = q(d);
            b = b.slice(0), b.sort(f);
            for (var k = 0, l = b.length; l > k; ++k) i[k] = g(b[k], j);
            for (k = l - 1; k >= 0; --k) e = b[k], h = a.DomRange.getRangeDocument(e), e.collapsed ? e.collapseAfter(c(i[k].markerId, h)) : (e.setEndBefore(c(i[k].endMarkerId, h)), e.setStartAfter(c(i[k].startMarkerId, h)));
            return i

        function j(c) {
            if (!a.isSelectionValid(c)) return b.warn("		."), null;↵
            var d = a.getSelection(c),
                e = d.getAllRanges(),
                f = 1 == e.length && d.isBackward(),
                g = i(e, f);
            return f ? d.setSingleRange(e[0], f) : d.setRanges(e), {
                win: c,
                rangeInfos: g,
                restored: !1

        function k(a) {
            for (var b = [], c = a.length, d = c - 1; d >= 0; d--) b[d] = h(a[d], !0);
            return b

        function l(b, c) {
            if (!b.restored) {
                var d = b.rangeInfos,
                    e = a.getSelection(,
                    f = k(d),
                    g = d.length;
                1 == g && c && a.features.selectionHasExtend && d[0].backward ? (e.removeAllRanges(), e.addRange(f[0], !0)) : e.setRanges(f), b.restored = !0

        function m(a, b) {
            var d = c(b, a);
            d && p(d)

        function n(a) {
            for (var b, c = a.rangeInfos, d = 0, e = c.length; e > d; ++d) b = c[d], b.collapsed ? m(a.doc, b.markerId) : (m(a.doc, b.startMarkerId), m(a.doc, b.endMarkerId))
        var o = a.dom,
            p = o.removeNode,
            q = a.Selection.isDirectionBackward,
            r = "";
        a.util.extend(a, {
            saveRange: g,
            restoreRange: h,
            saveRanges: i,
            restoreRanges: k,
            saveSelection: j,
            restoreSelection: l,
            removeMarkerElement: m,
            removeMarkers: n
    }), a

Other details (browser, OS, CKEditor version, installed plugins)

Browser - Google Chrome - Version 49.0.2623.112.

OS - Windows 8.1

CKEditor version - 4.5.8 (Full)

Installed plugins - dragresize, imageresize, placeholder (does not cause any issue with extra plugins).

#14599 disabled editor, still being able to paste pending Bug Normal
  1. enable 'Cut', 'Copy', 'PasteText' in the toolbar
  2. select some text in the editor (previously set with .setData()
  3. the "copy" button gets enabled, correct
  4. click anywhere else, then right click -> the "pasteText" button gets enabled. And now you can paste text, although the ckEditor is disabled. Morover, when you paste text, the whole contents are being replaced!!!

Using version 4.5.8.

The same if you use the right click menu: if you click 2 or more times with the right click, you can select "paste" in the context-menu. This should be disabled if the ckeditor is disabled.

#14610 Notification plugin Cannot read property 'getClientRect' of null pending Bug Normal

Steps to reproduce

  1. I have overlay popup window with bigger size of CK with Empty Toolbar. Other config is: removePlugins: "autosave,embed,embedbase,notificationaggregator,notification,toolbar,elementspath,backup,uploader,charcount,stat"
  2. After confirm button I copy content of this CK to page by this code:
if (CKEDITOR.instances['ck'] && CKEDITOR.instances[elemName]) {
        var data = CKEDITOR.instances.e1.getData();

        var config = CKEDITOR.instances[elemName].config;
        config.allowedContent = {
            // Allow all content.
            $1: {
                elements: CKEDITOR.dtd,
                attributes: true,
                styles: true,
                classes: true
        CKEDITOR.replace(elemName, config);

        CKEDITOR.instances[elemName].setData( data);

        var editorText = document.getElementById(elemName);
        editorText.value = data;
  1. Content is copied, but after few seconds I have error in console:

notification/plugin.js:617 Uncaught TypeError: Cannot read property 'getClientRect' of null

Expected result

No errors.

Actual result

notification/plugin.js:617 Uncaught TypeError: Cannot read property 'getClientRect' of null

Other details (browser, OS, CKEditor version, installed plugins)

CK 4.5.8, Chrome 50.0, Win 8.1, autosave plugin

#513 Implement source view with rich text area (designMode=on) new New Feature Normal

Implement the source view as an IFRAME with designMode=on (using FCKEditingArea), instead of using the <textarea>.

This change would give us many new possibilities to enhance the source view, like source code coloring, automatic selection positioning, and other features that could be implemented by using the DOM only.

Before doing this, we need to discuss all pros and cons of it, and the real possibility to implement it on browsers.

#590 Cluster toolbar items into dropdowns new New Feature Normal

Yahoo Mail has a wysiwyg editor for composing emails, and its toolbar has only one icon for alignment which drops down for left/right/centre/justify. same with bullets. Also, the colour selector, font, font size, and smilies all use the same system.

Its doesn't overwhelm the user with buttons. simple like plucking fruit from a tree!

There's another sourceforge project which does the same little dropdown windowing system: Not fckn half as good as fckeditor tho.

Moved from SF:

#667 [SS] Combination of a link and a style new Bug Normal

Following situation:


  • developer runtime (uncompiled scripts)
  • fckstyles.xml
<Style name="Fat link" element="a">
    <Attribute name="class" value="aBold" />
  1. there is nothing more in the editor then 2 plain words without any formatting
  2. select one word and create a hyperlink using toolbar "Insert/Edit link"
  3. enter some target as usual, the hyperlink is created
  4. now while the text is still selected choose the "Fat link" from the toolbar style pulldown menu

IE behavior

crashes with

Unknown runtime error
Line 28 in fckstyledef_ie.js > e.innerHTML =
oRange.htmlText ;
May be it is a IE bug...

FF behaviour

Firefox has 2 conditions

  1. if the text is still selected it messes up the code
New document -> New <a class="aBold"><a
href="bala.ccc/" />
  1. if the word has been re-selected it is ok (problem with selection cache?)

In both browsers if the style choise is done first, there are no problems.

This problem is not as big in new documents as in old stuff where hyperlinks exist and have to be "re-styled" or modified.

Best regards


Moved from SF:

#855 FCKeditor as a Local Text Editor. new New Feature Normal

Check out This personal wiki program uses JavaScript to save files locally. It only uses html and javascript to do this. It works for all the major browsers (firefox, ie,...). I would like to see your program use the same type of technique to save it's data.

Moved from SF:

#1824 table wizard new New Feature Normal

A table wizard as a GUI to create (complex) table structures.

See rad editor's table wizard

#3358 Optimize 'CKEDITOR.dom.range.enlarge' on block unit new Task Normal

After enlarging the range with a block unit with the following input:


We'll got:


No we got a partially selected block, it's better to have the 'div' been fully selected to prevent consequence operation like extractContent from resulting in unwanted node pieces, so an optimized result would be the following:

#4380 Listblock: Stylename containing single quote will crash onclick method new Bug Normal

When a style contains a single quote in its title, it will crash the listblock.

Offending code (plugins/listblock/plugin.js):

add : function( value, html, title )
	var pendingHtml = this._.pendingHtml,
		id = 'cke_' +;

	if ( !this._.started )
		pendingHtml.push( '<ul class=cke_panel_list>' );
		this._.started = 1;

	this._.items[ value ] = id;

		'<li id=', id, ' class=cke_panel_listItem>' +
			'<a _cke_focus=1 hidefocus=true' +
				' title="', title || value, '"' +
				' href="javascript:void(\'', value, '\')"' +
				' onclick="', this._.getClick(), ',\'', value, '\'); return false;">',
				html || value,
			'</a>' +
		'</li>' );

As you can see, 'value' is passed verbatim into the pendingHtml array, which doesn't do anything to escape single quotes.

#5009 Context sub-menu items should not hide other context menu items new Bug Normal

Create an editor instance that spans the with of the screen.
Create a table with 100% width.
Move the mouse to the right hand side of the editor and right click on the table.
Observe the context menu correctly displays as fixed in #4594.
Open a sub-menu, e.g. Cell Properties.
Observe that the sub-menu covers the main context menu.

#5025 Approach for backward compatibility new Task Normal

This is due to the patch in #4973, but it was a long talk that would distract from the real patch.

The patch in #4972 (v2) removes CKEDITOR.loadStylesSet and CKEDITOR.addStylesSet, so when people tries to upgrade they will get an error if they have used them.

I think that most of the people didn't know anything about CKEDITOR.loadStylesSet unless they had to fight with the lack of CKEDITOR.stylesSet as I did, but I think that there's lots of people using their own styles with the addStylesSet call. If they don't change the code then it will fail and they have to find out the reason.

So my question is: how do we approach backwards compatibility?

We can leave the code as is and they have to read the release notes to notice the reason of the problem. This can be more complex if they are upgrading for example from 3.0 to 3.3 with hundreds of bugs in the mean time.

We can add bold and red statements in the what's new to make it clearer, but they still have to read the docs.

We can provide also a "compatibility" plugin that it's used just to provide compatibility with older apis. This plugin could define just the old functions as mapping to the new APIs and launch a silent warning in the console (if it exists)

Something along these lines:

CKEDITOR.addStylesSet = function( name, styles ) 
    if (window.console)
        window.console("The CKEDITOR.addStylesSet function has been deprecated. Please use CKEDITOR.stylesSet.add. Read... for further info");
    CKEDITOR.stylesSet.add(name, styles)

This way the upgrade is easier, there's a very little overhead and people can remove the plugin when they know that everything is working OK.

#5497 allow 'grouping' in Styles to be configurable new New Feature Normal

My clients find it confusing when the styles, listed in the "Styles" plugin, are grouped by style type.

I created a patch for "stylescombo\plugin.js"

1 2 3 4 5 6 7 8 9 10 11 12
Note: See TracQuery for help on using queries.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy