# Custom Query

Filters

Or

 Status assigned closed confirmed new pending reopened review review_failed review_passed And  CcComponentCreatedDescriptionKeywordsMilestoneModifiedOwnerPriorityReporterResolutionStatusSummaryTicketTypeVersion Or  CcComponentCreatedDescriptionKeywordsMilestoneModifiedOwnerPriorityReporterResolutionStatusSummaryTicketTypeVersion
Columns

Show under each result:

## Results (101 - 200 of 2237)

Ticket Summary Status Owner Type Priority Milestone
#13013 Accents after enter pending Bug Normal
Description

When writing the text and apply the enter accents crash .

example:

á é í ó ú ´a ´e ´i ´o ´u

#13016 lang.js: that[ languageCode ].dir is undefined pending Bug Normal
Description

After line 53 in file core/lang.js the following code is found:

that[ languageCode ].dir = that.rtl[ languageCode ] ? 'rtl' : 'ltr';


This fails because that[ languageCode ] have not been defined yet. This can be fixed by adding:

if(!that[ languageCode ]) {
that[ languageCode ] = {};
}


before that.

#13047 <figure> in stylesSet does not wrap <img> pending Bug Normal
Description

I define this in config:

stylesSet	: [ { name: 'Figure', element: 'figure' } ]


In the editor, when I select an image (<img>) and then select "Figure" from the styles list, I get this (view source):

<figure alt="" src="img.jpg"> </figure>


<figure><img alt="" src="img.jpg"></figure>


There's something wrong with <figure> treatment in the editor, because if I change "figure" to "span" in stylesSet, the image gets nicely wrapped.

#13086 Double click the select control cannot open the dialog in FF pending Bug Normal
Description

#13095 Uncaught TypeError: Cannot read property 'clearCustomData' of null pending Bug Normal
Description

I am getting below error in my application. I have a popup window, for the description field i using the text-format: WYSIWYG Mini. Because of the error, i'm not able to close the popup window.

Uncaught TypeError: Cannot read property 'clearCustomData' of null

CKEditor 4.4.1 Line No. #731

Can you help me for the resolution.

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

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
Description

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: http://sourceforge.net/projects/xsdheditor/ Not fckn half as good as fckeditor tho.

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

Following situation:

Prerequisites

• developer runtime (uncompiled scripts)
• fckstyles.xml
<Style name="Fat link" element="a">
<Attribute name="class" value="aBold" />
</Style>

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/">document</a></a><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

SelfMan

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

Check out http://www.tiddlywiki.com/. 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.

#1824 table wizard new New Feature Normal
Description

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

#2145 Target & title on the same tab as URL and Hyperlink Relationship new New Feature Normal
Description

These are more layout requests rather than bugs... Thought I'd submit it just incase you think they are good ideas...

Do you think it is a waste having a whole tab dedicated to the target of the URL? On the Link tab for the image dialog, you have the target on the same page. This will save a click every time you insert a link you want to open in a new window...

Same with the Advisory Title. Most of those Advanced tab features people wouldn't use but they are worth keeping. However, the Advisory Title is something that is used quite commonly for usability and especially SEO... It might be good to put that in the same tab as the URL as well. I for one use it all the time.

Lastly, can we add a Hyper link Relationship text box (rel="")? This is used in a lot of javascripts these days such as ligthbox (<a href="photo.jpg" rel="lightbox">) and can also be used for SEO. This can go under the Advanced tab as it wouldn't be used that often but is a handy feature.

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

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

<div>text^<p>paragraph</p></div>^


We'll got:

<div>^text<p>paragraph</p></div>^


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:

^<div>text<p>paragraph</p></div>^

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

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_' + CKEDITOR.tools.getNextNumber();

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

this._.items[ value ] = id;

pendingHtml.push(
'<li id=', id, ' class=cke_panel_listItem>' +
'<a _cke_focus=1 hidefocus=true' +
' title="', title || value, '"' +
' href="javascript:void(\'', value, '\')"' +
' onclick="CKEDITOR.tools.callFunction(', 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
Description

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.

#5025 Approach for backward compatibility new Task Normal
Description

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)
};


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
Description

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"

#5600 Create new block Format to end PRE at start of line new New Feature Normal
Description

People usually don't know anything about html tags, they just want things to work, so as long as it's possible we should try to think like a new user and how the expect the editor to behave.

In order to end a PRE-formatted paragraph I think that it's easy to expect that just selecting "Normal" in the format dropdown should start a new paragraph and get out of the pre if the caret is at the start of a new line. This would work in a similar way to the Bold button: you press to start marking things as bold and when you press it again you end the effect.

#5621 [IE] 32-bit windows has broken document.domain for IPv6 address, causing access denied errors new Bug Normal
Description

This issue is partly related to #5434. On a 64-bit server, the fix for #5434 works but on a 32-bit server a different error occurs.

The issue is that 32-bit IE does not appear to support IPv6 addresses correctly, especially when getting document.domain. IE truncates the ip address when it reaches the first colon ":" in the address. This causes "access denied" errors when new IFrames are opened by CKEditor.

On (32-bit) IE:

document.domain = "[fe80:"
window.location.hostname = "fe80::fe80:fe80:fe80:fe80"


A work-around is required for this IE bug.

#5692 Handle file dropping in editor new New Feature Normal
Description

Provide a plugin to detect desktop file dropping into editor, for those support browsers.
The detected file info could be used to upload the file immediately or perform any possible customization.

Edit: Yes that is most correct. Editor should have at least a hook for implementing drag&drop into editor. What I mean is that if editor is connected with file uploader (like CKFinder) it should prepare image information that uploader can use to upload file. After file is uploaded, uploader should send new image path and editor should apply it.

#5768 List plugin: request for preserving paragraphs when creating a list new New Feature Normal
Description

Version 3.3 added support for preserving heading structure when creating a list item. Would be nice to also preserve structure when creating list items from paragraphs.

#5938 Enter into dt/dd elements should toggle these tags new New Feature Normal
Description

Enter at the end of DT element should create new DD element and vice versa.

#5967 Font-Families should be enclosable in quotes new Bug Normal
Description

Font-Families as specified by CSS, should be enclosed in quotes in certain circumstances. The guy in this forum post appears to have run into one such circumstance. http://cksource.com/forums/viewtopic.php?f=11&t=19446

In IE8 simply encolsing the font with \'Font name\' doesn't work. That's also not really a solution in the first place since it causes some weird issues with being able to select the font and having the correct font show in the rich combo box in other browsers.

I don't think fonts should always be encolsed in quotes, but there has to be some criterion we could use to wrap fonts which require it and to have accurate comparisons. Without such functionality certain fonts become inaccessible.

#5998 Sample config.js file (config.sample.js perhaps) new Task Normal
Description

It is sometimes very confortible to have a prepared config file where You could see all the available configuration (commented out) and its documentation without having to go online and search what configuration parts are worth to be added to some particular project (it takes less time to go through config text file).

I have made such sample configuration file and would like to suggest to add it to the project. It is based on the official documentation and at the moment - up to date. In the first usage examples I have placed default values instead of writting them seperately.

#6602 Automatically send WYSIWYG browsers into source mode instead of refusing to work new New Feature Normal
Description

Browsers that don't support tag editing still support ckeditor's source mode, which is better than nothing, and provides a more gradual operational decline.

My suggested patch creates a env.isTextCompatible var, and if env.isCompatible is false but env.isTextCompatible is true, ckeditor defaults to a text entry mode with limited, but still existent functionality.

#6725 Mismatch between dialog::resize and dialog::getSize new Bug Normal
Description

While working on #5084 I've noticed that there's a mismatch between the two methods.
The reason is that we use the contents element in the dialog::resize method, while we use the dialog element in the dialog::getSize method.

#6931 Form creation behaviour new Bug Normal
Description

IMO forms creation should be much like DIV creation, wrapping the selection rather than removing it.

#6934 Alternative style/format outlook new New Feature Normal
Description

Style combo item is not presented under the preview style of the each style definition (same with format combo), sometimes this isn't an option at all (seen on user request #6379), the editor should allow an alternative presentation to be provided in the following format:

	{
name : 'Colored: White',
element : 'span',
styles : { 'color' : 'White' },
displayHtml: '<span style="background-color:#000;color:#fff;">Colored:White</span>'
}


#6937 Applying Block Quote to empty or the only paragraph in Table cell applying Block Quote to Table instead of Table Cell or Paragraph in Table Cell new Bug Normal
Description

To reproduce the defect:

Scenario 1:

1. Open CK Editor and insert a Table.
1. Keep cursor inside a Table Cell and click on Block Quote icon.

Expected Result:

Block Quote is applied to Table Cell.

Actual Result:

Block Quote is applied to whole Table.

Scenario 2:

1. Open CK Editor and insert a Table.
1. Type some text inside a Table Cell, select the paragraph and click on Block Quote icon.

Expected Result:

Block Quote is applied to the selected paragraph inside Table Cell.

Actual Result:

Block Quote is applied to whole Table.

#7120 Line Spacing Button new New Feature Normal
Description

as in MsWord, it looks nice to have line spacing option as in button click: -Space Sizes List -add/remove spacing after paragraph -add/remove space before paragraph

I Think this will completethe editor to be as perfect as using MSWORD.

#7206 Provide support to load CKEditor in one frame and render it in another new New Feature Normal
Description

We would like to request support to load CKEditor in one frame and render it in another. This would be a very beneficial feature for optimising performance. It is currently not supported. Some issues that they have reported so far regarding this are:

• CKEDITOR.tools.isArray() does not support multiple frames
• core/loader.js calls current document object

A sample test case is attached which demonstrates the desired functionality.

Instructions for running the test case:

1. Copy the attached files to <CKEditor>\_samples directory.
1. Open multiframe.html on Mozilla/Firefox.
1. Press "Create Widgets" button.
1. Verify CKEditor is created.
1. Modify Widget_CKEditor.prototype.createEditorElem in multiframe.js like this:

// NG

// OK

1. Open multiframe.html on Mozilla/Firefox.
1. Press "Create Widgets" button.

Problem: CKEditor instance is not created in UI Frame.

#7229 Request for relaying cut and copy events to the editor instance new New Feature Normal
Description

Request for normalizing cut, copy and paste events in the editor across browsers. In version 3.5.2 only the 'paste' event is relayed to the editor object. Would be very convenient if 'cut' and 'copy' could also be relayed.

The specific use case is having to add attributes to the elements in a selection prior to cutting/copying. These are then parsed when pasted back into the editor.

Some quick research gave me the following summary:

I ran the following code in each of the browsers' developer tools

var body = CKEDITOR.instances.editor1.document.getBody();
var logger = function (name) {
return function () {console.log(name);};
};
body.on('beforepaste', logger('beforepaste'));
body.on('paste', logger('paste'));
body.on('beforecut', logger('beforecut'));
body.on('cut', logger('cut'));
body.on('beforecopy', logger('beforecopy'));
body.on('copy', logger('copy'));


and registered the events fired:

### Opera Version: 11.00, Build: 1156, WinXP

Cut: none
Copy: none
Paste:
beforepaste
paste


Cut:
beforecut
cut
Copy:
beforecopy
copy
Paste:
beforepaste
paste


### Firefox 3.6.13, WinXP

Cut:
cut
Copy:
copy
Paste:
beforepaste
paste


### IE8, Windows Server 2003

Cut:
beforecut
cut
Copy:
beforecopy
copy
Paste:
beforepaste
paste


IE also fires extra unlisted ones due to calling "queryCommandEnabled('paste')" in clipboard plugin.

#8260 Change from raising error to show an alert if instance exists new Bug Normal
Description

Split from #8226

I think that many new users don't realize that they have errors in the console (after all IE is the only browser that currently shows clearly when a page has a js error). We must remember that many people aren't javascript developers, that's why they use things like the asp.net or Java adapters, they just know how to work at the server side and when they try to copy some javascript code as shown in some examples and doesn't work they don't understand what's the problem.

So I strongly suggest to change throw '[CKEDITOR.editor] The instance "' + previous.name + '" already exists.'; to alert('[CKEDITOR.editor] The instance "' + previous.name + '" already exists.'); }

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

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

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

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

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

No one Else can see this image...

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

#8947 [iOS] (iPad) copy/pasting formatted text new Bug Normal
Description

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

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

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

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

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

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

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

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

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

Description

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

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

#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.

#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.

#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.

#9460 [iOS] CKE4 nighly build; Selection lost when selecting font menu new Bug Normal
Description

On the latest version of iOS 6, on the iPad 2 you cannot use the Rich Combo Fields, you lose your selection and the style is not applied. Steps to reproduce;

1. Access the nightly build demo site on device (At the time of writing): http://nightly-v4.ckeditor..com/3571/samples/divarea.html
2. Create a selection around some text (doesn't matter what text is selected, just that there is a selection of text)
3. Tap on the 'Font' menu

Result:
Page "jumps up", selection is lost but menu appears. Cannot tap on any item in the menu, tapping on the menu items causes the menu to disappear and restore the cursor on the editor. Selection is lost; cursor seems to appear where you attempted to tap on the menu item.

Expected result:
The menu should work like the desktop experience.

#9486 Using CKEDITOR.templates for stylesheets new Bug Normal
Description

In Moono skin we used CKEDITOR.templates to create content of CSS stylesheet. CSS uses '{' and it's also part of our wildcard, so we had to use trick to make it work.

There are couple of solutions:

1. Escaping '{' by e.g. doubling. Note that escaping with '\' is not possible because it's also escape character in JS string.
2. Specifying more precise regexp for template's wildcards, so e.g. only [a-zA-Z0-9]+ will be accepted.
3. Changing wildcard format.

Solution first is ok, because it's backward compatible, but we will have to add more characters in our templates making them longer and less readable.

Third solution completely breaks backward compatibility so it's bad.

Second solution isn't fully backward compatible, but should work in 99% of cases (if we'll make good pattern) and it doesn't enlarge template and doesn't make it less readable.

#9526 [IE] Selection is not properly reflected on startup new Bug Normal
Description
1. Load the replacebyclass in IE;
2. Check the toolbar status without focusing the document;
• Actual: the toolbar is not properly given the initial states as in other browsers.
• Expected: the toolbar should reflects the selection as if it's anchored at the start of document, this works for Firefox and Webkit.
#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.

#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.

#9614 Tabletools insert column before behavior is confusing new a.nowodzinski Bug Normal
Description

I'm a little bit concerned about the expected behavior of "insert column before" for the following case:

+-----+------+
| 1.1 | 1.2^ |
+-----+------+
| 2.1 |
+-----+


How it works now:

+-----+--------+------+
| 1.1 | &nbsp; | 1.2^ |
+-----+--------+------+
| 2.1 |
+-----+


How it should look like in my opition:

+-----+--------+------+
| 1.1 | &nbsp; | 1.2^ |
+-----+--------+------+
| 2.1 | &nbsp; |
+-----+--------+


Most likely this is not an issue but it brings some confusion. The origin of this issue is in #9609.

#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>  #9849 Orphan <br> should be transformed into <p><br></p> new Bug Normal Description We do several inline elements fixing that are found orphan inside body. This was true for <br> as well, until we reverted a fix that was causing #9167. Because of that, I've commented out a test made for that case form dt/core/htmlparser/fragment.html, test name "test_parser_13". It is still unclear for me the cases for this fix, but considering that we were used to do so, we should keep doing it. I'm just unsure if this is necessary. #9855 Better context checking for toolbar buttons new New Feature Normal Description There is room the enhance the context checking we do for several toolbar buttons. While the current approach is correct, it can be optimized to better fit user's intentions, helping on the UI usability. One good example for that is related to object selections. There is no much sense on having inline styles, like bold, enabled when an image is selected. Let's open a discussion and analise all possible cases first. #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. #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. #9997 [Android] CKEDITOR.inline returns null, CKEDITOR.instances is empty, no toolbar new Bug Normal Description CKEDITOR.inline (js) returns null CKEDITOR.instances is empty, Toolbar is absent even on examples at ckeditor.com and examples of nightly build. Sony experia ST27i Platform Android 4.0.4 Browser internal 4.0.4-9bt3zv #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. #10101 afterUndo and afterRedo are fired on the commands new alfonsoml Bug Normal Description There are two events "afterUndo" and "afterRedo" that seem like good ways to be notified about when an undo/redo operation is performed but they are trickier to use because they aren't fired on the editor but on the commands themselves:  var undoCommand = editor.addCommand( 'undo', { exec : function() { if ( undoManager.undo() ) { editor.selectionChange(); this.fire( 'afterUndo' ); } }, state : CKEDITOR.TRISTATE_DISABLED, canUndo : false }); var redoCommand = editor.addCommand( 'redo', { exec : function() { if ( undoManager.redo() ) { editor.selectionChange(); this.fire( 'afterRedo' ); } }, state : CKEDITOR.TRISTATE_DISABLED, canUndo : false });  if instead of "this.fire" the code is "editor.fire" then they can be used in a normal way. I think that this is just a typo that no one has realized so far (after all these events aren't documented in any way) I don't think that anyone is using the current events so it shouldn't be a problem to correct them. I guess that you won't bother about fixing this in 3.6 so I'll create a patch just for 4.0 #10180 [iOS] iPad issue with Dropdown Menus new Bug Normal Description I am trying to solve an issue I have on an iPad with the dropdown menus (font, style, spellcheck, etc). On a project I am working on it is impossible to click on the options in the menu with the iPad. The issue can be demonstrated with the following jsfiddle links: http://jsfiddle.net/QXFcM/6/ works correctly on the iPad. You are able to select the options as you would expect. http://jsfiddle.net/QXFcM/6/embedded/result does not work correctly. You cannot select any of the options from the menu. I originally posted this to the forums at http://ckeditor.com/forums/Support/iPad-issue-with-Dropdown-Menus but have not gotten any replies. #10239 Tabletools: add ability to set scope in cell attributes dialog new New Feature Normal Description Hello, I was very happy to see how well CKE handles the creation of tables, and its half-automated way of creating table headers, which are essential for table accessibility, esp. for screen readers. While CKE does a good job in "guessing" the correct directionality of table header scope, it doesn't get them right all the time, and also does not automatically create scope="colgroup" or scope="rowgroup" on merged header cells. Thus, it would be great if you could add a dropdown to the cell attributes dialog that allows the user to specify the correct scope of a header cell (row|col|rowgroup|colgroup) without having to switch to code view, which is often overwhelming for "mere" content editors. This dropdown would be perfectly placed following the dropdown with which one can set a cell as data or header cell. Hoping you can take this option into consideration for the next release, and thanking you in advance! #10583 [iOS] CKeditor 4.1.2 is not working in ipad 6.1.3 new Bug Normal Description hi, I'm using ckediter version 4.1.2 in my application . it is working in every where except in ipad and iphone I'm using Ipad -(ios- 6.1.3) here it is display like a normal text-area, not showing the the editor options. #10590 [iOS][Android] Copy/Cut buttons not Enabled new Bug Normal Description OS: iOS 6 & Android Jelly Browsers: Safari, Chrome Repro: ==================== Goto http://ckeditor.com/demo Hold down a tap to bring up the selection menu. Select a range of text. Note the copy/cut buttons are still not enabled. Expected: Selection range exists but is not triggered. I will hopefully work on this, but as of right now I am not seeing an easy fix. #10669 CKEditor follows links in WebKit-based browsers, replacing the iframe content new Bug Normal Description Tested under qtwebkit 2.3.1, qtwebkit 2.3.2, qt5-webkit from Qt 5.1.0, and Safari on iPad. Steps to reproduce: 1. Open http://nightly.ckeditor.com/13-07-23-13-05/standard/samples/replacebyclass.html 2. Hover any link in the editable content with the mouse pointer. 3. Click the hovered link. What should happen (as it does in, for example, Firefox 22.0): 1. The cursor icon should be «text». 2. The link should not open, the input caret should move to the clicked point. What happens: 1. The cursor is «pointer» (checked in qtwebkit). 2. The link opens in the editor iframe and replaces all the content, resulting in data loss. Workaround (jQuery-based): /// WARNING: bloody fix for WebKit-based browsers CKEDITOR.on('instanceReady', function(ev) { if (!CKEDITOR.env.webkit) return; function disableLinks() { var content =$(ev.editor.document.$.defaultView.frameElement).contents(); content.find('body.cke_editable').on('click', 'a', function() { return false; }); content.find('head').append('<style>a{cursor:text}</style>'); } ev.editor.on('mode', function() { if (this.mode === 'wysiwyg') disableLinks(); }); disableLinks(); });  #10694 [iOS] Editing in ipad scrolling issue new Bug Normal Description Editing scrolled content using the ipad is very erratic and impossible to use in some cases. There needs to be plenty of content so the editor needs to scroll. This can easily be reproduced using the standard editor demo page at ckeditor.com/demo#standard. Using an ipad, go to the standard editor demo page and scroll down a bit to the editor. Then scroll to the bottom of the content, place the cursor at the end and begin typing. Hit enter a few times to create a few new lines and type some more content. You should notice that the scroll position of the page jumps around and the scroll position of the content jumps around too. There does not seem to be consistency of what happens when and I have had a couple of times when it seemed stable but refreshing the page and trying again caused the issue to reappear. Tested on an ipad2 with iOS 6.1.3 #10750 The editor don't unquote the font-family style property new Bug Normal Description Hopefully I'm missing something here, but here it goes: I came across a problem where fonts with names like 'My Crazy Sans -32432 W10' doesn't work properly. Looking into it noticed that the font-family is added to the HTML unquoted. <span style="font-family:my crazy sans -32432 w10;my crazy sans -386932 w02;sans-serif">Some text here.</span> This inline style property doesn't work on my browser (latest Chrome).  Digging into the code I found the following code at the end of the tools.js file (inside the parseCssText function): // Normalize font-family property, ignore quotes and being case insensitive. (#7322) // http://www.w3.org/TR/css3-fonts/#font-family-the-font-family-property if ( name == 'font-family' ) value = value.toLowerCase().replace( /["']/g, '' ).replace( /\s*,\s*/g, ',' );  Noticing the (#7322) remark, I went looking for the ticket - ​http://dev.ckeditor.com/ticket/7322. I guess the editor have a problem with handling quoted font-family values internally. But the spec (that the code and the ticket point to) state clearly that on the HTML (and CSS) the value should be quoted. And again - it's not only contrast with W3 recommendations, it actually doesn't work on my browser. To avoid mistakes in escaping, it is recommended to quote font family names that contain white space, digits, or punctuation characters other than hyphens: body { font-family: "New Century Schoolbook", serif } <BODY STYLE="font-family: '21st Century', fantasy">  #10819 [iOS] Hitting return will cause all text below cursor to delete new Bug Normal Description Hitting return enough times in a CKEditor field will cause all text below cursor to delete, and will continue to delete text below cursor when pressing return. This is also reproducible using the demo you have online following these steps: • Go to http://ckeditor.com/demo on an ipad: • Click into CKEditor several lines into text (around Broadcasting and quotes). Hit return 10 or more times. • Result: Text below initial point is removed and hitting return further deletes any text added. #10820 [iOS] Calling insertText switches CKEditor into "Read Only" mode new Bug Normal Description After using the CKEditor function insertText on an editor that already contains text, the CKEditor seems to go into a "Read Only" type mode. Text can be read and selected but no typing is allowed. This can happen after insertText is used once, but happens more frequently when it is used several times. #10954 Add external anchors to link dialog new New Feature Normal Description It would be great to be able to add a list of anchors from an external source to the editor. For example the content being edited might exist as a part of a page with tons of anchors, which all should be linkable to within CKEditor, but CKEditor doesn't know of the existance of those anchors so they are not listed in the link dialog. Something like this for example: config.extraAnchors = [{id: "Top", name: "Top"}, {name:"Ponies"}];  Additionally, it would be great if that list could be edited when ckeditor is already loaded with config.extraAnchors[2] = {name:"Foo"};. #11118 Widgets drag handler is marked in selection when it's not visible new Bug Normal Description since: 4.3 until major Atm selection looks buggy when you have widget in it. Browser marks also dragging handler, which is not visible. Changing its styles in that way, so it will gain display: none while widget is not hovered/focused. 1. open sample with image2 plugin (/samples/plugins/image2/image2.html) 2. simply make selection which will contain (something more than just) widget (image2 widget i.e.) Expected result: Drag handler shouldn't be visible. Current result: You can see that selection for drag handler is made. #11199 [Image2, ACF] Content of figcaption remain once the tag is stripped out in a widget new Bug Normal Description Problem: If user explicitly disallows figcaption in ACF, figures are upcasted but the contents of (just stripped out) figcaption remain as a plain, non-editable paragraph within widget's body. Expected: Once figcaption is disallowed, its contents should be removed from the widget. Such widget should be upcasted either to an inline widget or a block widget without caption (to be decided). #11227 dialog.validate.functions bugs new Bug Normal Description The definition of the function returned from dialog.validate.functions suffers from two bugs. 1) When obtaining the "value" from the arguments, the inner function should be referencing its own arguments, not those of the outer function. 2) When calling functions, it should be using "call" and passing "this" so that other validation functions passed as arguments will have the item as "this" as they expect. #11252 Widget with complex structure allow editing of widgets' editables (if those are divs) new Bug Normal Description If widget editables are not direct descendants of widget root element, it is possible to edit/delete elements' editables with CreateDiv context menu options. Deleting results in loss of editable element and its content is moved into editables parent element. In example below with CreateDiv context menu you could remove content-left and content-right columns. Moving content from those divs to their parent divs (col-xs-12). Juicy parts of an widget definition: allowedContent: 'div(!row);'+ 'div(!col-xs-12,col-sm-6,col-sm-3,col-sm-9);'+ 'div(!content-text,content-left,content-right);', // Minimum HTML which is required by this widget to work. requiredContent: 'div(!row);div(!col-xs-12);div(!content-left);div(!content-right);', // Define two nested editable areas. editables: { contentLeft: { selector: '.content-left' }, contentRight: { selector: '.content-right' } }, // Define the template of a new widget. template: '<div class="row">' + '<div class="col-xs-12 col-sm-6">' + '<div class="content-text content-left">' + '<h2>Title 1</h2>' + '<p>Some text</p>' + '</div>' + '</div>' + '<div class="col-xs-12 col-sm-6">' + '<div class="content-text content-right">' + '<h2>Title 2</h2>' + '<p>Some text</p>' + '</div>' + '</div>' + '</div>',  #11256 [iOS] startupFocus option does not work on iPad new Bug Normal Description I don't have a hosted example, but if you take and simply change the line where the config is defined to read: var config = {startupFocus: true}; you will notice that creating the editor will result in a focused cursor on desktop but not in iPad #11375 [iOS] On iPad adding a table shows cursor in first cell, but text cannot be entered new Bug Normal Description To reproduce on iPad: Click the Table button to display the Table Properties dialog box. Click the OK button. Verify that a cursor is displayed in the first cell of the inserted table. Verify that the virtual keyboard is displayed. Type some characters on the virtual keyboard. Verify that the typed text is not inserted at the cursor. #11389 [iOS] Elements are inserted at wrong position on Ipad new Bug Normal Description On Ipad 2 (IOS 6.1.3) and Ipad 3 (IOS 7.0.3) elements are always placed at the very first position of the editor window rather than at the insertion point (current position of the cursor). This happens when using toolbar buttons such as special links and emoticons. On the other hand if you select a piece of text a link will be positioned correctly on top of it and an emoticon will replace it. #11468 [iOS] Toolbar status doesn't update on iOS new Bug Normal Description Using current CKEditor standard editor demo on an iOS device (tested on iPad 2 with iOS 7.0.4): 1. Position the cursor on the first word in the first paragraph ("Apollo") which is formatted bold. 2. Observe the 'B' toolbar button is correctly show depressed. 3. Move the cursor somewhere else in the paragraph that is not bold. 4. Observe the 'B' toolbar button still shows bold, event though the cursor is not on bold text. This problem seems to be consistent across all tools on the toolbar; they are not updating when the selection changes. The problem seems to be that CKEditor is attaching to the DOM selectionchange event on the editable element (around selection.js:387) but according to http://help.dottoro.com/ljixpxji.php, the selectionchange event is only valid when attached to the document object (not any element). I've worked around this problem outside CKEditor using something like this, which fixes the problem: this.editor.document.on('selectionchange', function () { var selection = this.editor.getSelection(), path = selection && new CKEDITOR.dom.elementPath( selection.getStartElement(), selection.root ); this.editor.fire('selectionChange', { selection: selection, path: path }); }, this);  #12044 iOS: unable to apply (Bold) style when typing quickly after selecting a style new Bug Normal Description 1. Press "New Page" button. 2. Press "Bold" button. 3. Touch the wysiwygarea to set focus. 4. Start typing. Result: if you do steps 2-4 quickly, the text is typed correctly, but the selected style is enot applied. The results become random if there is a short delay between steps 2-4, and after waiting 2 seconds between steps 3-4 the chance of Bold style being applied is almost 100%. Confirmed on iOS 7.1.1, found while investigating #11405. #12115 [UX] Drag handler not visable in the High Contrast Mode on Windows new Bug Normal Description 1. Switch Windows to the High Contrast Mode (LALT+LSHIFT+PTSCREEN). 2. Open Image2 sample. Drag handler is black on the black background so it is not visible. In this mode it is important to make elements as visible as possible. In fact you do not need High Contrast Mode to meet this issue: in any case when background is black or dark drag handler is not visible. For example if you have dark image with caption and a widget in this caption then drag handler will be hardly visible too. Tested on IE8 and Windows 7. #12151 [IE11] The anchor tag text is being replaced when the link is edited new Bug Normal Description The href value replaces the text value of the anchor under certain circumstances in IE11. Steps to reproduce: 1. Either click the 'Link' icon in CKEditor and enter a url or enter an anchor tag directly in the Source of CKEditor (ex: http://www.yahoo.com) 2. Click the Source button in CKEditor 3. Change the text of the <a> but not the href value to something with http (ex: http://www.google.com) 4. Click the Source button again, you should see the WYSIWYG editor. (it should say http://www.google.com) 5. Double click the link you created from step 1. 6. Click OK The link text changes from what was set in step 3 to the original href value in step 1. Expected Result (HTML Source): <a href="http://www.yahoo.com">http://www.google.com</a> Actual Result (HTML Source): <a href="http://www.yahoo.com">http://www.yahoo.com</a> I have noticed this issue on the version of CKEditor my platform uses - 4.3.3. However, I have also noticed this issue on the demo CKEditor (http://ckeditor.com/demo), which I believe uses version 4.4.2 Browser: IE 11.0.9600.17126 OS: Windows 7 #12189 Link plugin dialog does not display subject of email links if subject parameter is not lowercase new Task Normal Description In CKEditor 4.3.5, add the following text in source mode: <a href="mailto:huhu@momo.com?Subject=huhu%20momo!">ckeditor email link</a>  Switch to wysiwyg mode, open the link plugin dialog on the link. The email subject is not displayed in the link dialog. Change "Subject" to "subject" in source mode. Then the dialog will display the email subject. I guess that the regex'es used in the pluign's link.js are not case-insensitive, what they should be. #12199 ckeditor is omitting a single trailing space in firefox and ie. new Bug Normal Description i've configured ckeditor inside jquery ui dialogue box text area. My aim is to get the whatever data entered by the user. Including spaces as many as entred by the user. When user enters a space after some text it returning same as mean text+space in chrome. But in FF and IE(IE9,IE11) the space is getting omitted and it is returning only text but not the space which entered at end. If user enters more than one space then the spaces are returning along with text mean text+space(if space are more than one). This behaviour is in FF and IE9,IE11 but not in GChrome. In GChrome it's working as expectdly. Below link may help you http://jsfiddle.net/Ravi_SPS/pBL5G/2/ #12210 Source code formatting is invalid when startupMode source is enabled new Bug Normal Description When startupMode is set to "source" then the source code that appears on startup is broken: • It is indented by 4 tab characters • New line characters are missing After switching to wysiwyg mode and back the source code looks fine. Confirmed in 4.4.3 and in 3.6.6, did not check earlier versions. How it looks on startup: How it should look like: #12220 link preview feature (same as facebook) new New Feature Normal Description I write a lot of articles in which I comment others website pages (youtube video/news articles, blogs...). In my article, I would like to have a preview of the "commented page". For the moment I use Facebook link preview feature to generate the link preview by pasting the "commented page" link in the Facebook 'What's in your mind?" field. Then I copy the preview with print screen, upload the image in my article and then I have to move the image in the correct FTP folder... It's quite a big work. A great open source pluginhttp://lab.leocardz.com/facebook-link-preview-php--jquery/ exist for other cms. That would be awesome if you could implement it your editor. #12227 CKEDITOR.ENTER_BR - Chrome 36. Dont apply format to the selection text placed at end of editor new Bug Normal Description When you write a text at the end of the editor and selecting the text don't apply any format. Only the first time and not in the first line. Only config.enterMode = CKEDITOR.ENTER_BR; Browser: Chrome 36.0 Steps to reproduce: 1. Go to http://ckeditor.com/demo 2. Go to the last line 3. Enter 4. Type some text 5. Select it with the mouse 6. Try format the text #12244 Weird issue with coreStyles (regexp?) new Bug Normal Description Hi there, Ive been trying to create a custom plugin for ages before understanding I faced a nasty bug. I am using CKEditor 4.4.2 (revision 1567b48) in a rails4 project thanks to the ckeditor gem. To be brief, here is a functional code : CKEDITOR.config.coreStyles_comment = { element : 'p', attributes: {'class': 'alert alert-info comment'} }  while that one below is buggy. The button is added in the toolbar but disabled. CKEDITOR.config.coreStyles_comment = { element : 'p', attributes: {'class': 'comment alert alert-info'} }  The only difference is the order in the class attribute. I made few tests by changing the classes name but I couldn't figure out the problem. this one works : attributes: {'class': 'a a-b b'} }  but not this one !!! attributes: {'class': 'a a-b a'} }  Here is the whole code : CKEDITOR.config.coreStyles_comment = { element : 'p', attributes: {'class': 'alert alert-info comment'} } CKEDITOR.plugins.add( 'comment', { icons: 'comment', init: function( editor ) { var config = editor.config, style = new CKEDITOR.style( config.coreStyles_comment ); // Listen to contextual style activation. editor.attachStyleStateChange( style, function( state ) { !editor.readOnly && editor.getCommand( 'insertComment' ).setState( state ); } ); editor.addCommand( 'insertComment', new CKEDITOR.styleCommand( style ) ); editor.ui.addButton( 'Comment', { label: 'Insert Comment', command: 'insertComment', toolbar: 'pao' }); } });  Seems like a dev's nightmare to me don't you think? Good luck with that one ! :-) #12249 [Android] Textarea with "visibility: hidden" in CKEditor for ASP.NET in place of CKEditor new Bug Normal Description As reported on our forum: http://ckeditor.com/forums/Support/Ckeditor-.net-version-problem-on-Android I know that ckeditor is not support yet for android, which is fine. I'm happy with it not to display. However, I am using the standard installation for .net, but when I view it on android (4.4.2, glalaxy s4), I see nothing at all. I would have expected to see a simple (non-formatted) textarea? I've viewed source, and I can see that the textarea box is there but with a style of "visibility: hidden;". Is this the way its supposed to work? I need the box to be display even without the ckeditor bits. I can go down the javascript route to check for mobile, then set visibility:visible, but I wanted to check if I was doing something wrong first! My code is simple... Register at top: <%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %> Add in the editor: <CKEditor:CKEditorControl ID="txtDesc" name="txtDesc" BasePath="/ckeditor/" ClientIDMode="Static" runat="server" ></CKEditor:CKEditorControl> View source in android shows: <textarea id="txtDesc" cols="20" rows="2" name="ctl00$CPHMain\$txtDesc" style="visibility: hidden;"></textarea>

#12290 Stylesheetparser in dialog new New Feature Normal
Description

The stylesheetparser is a great feature. Why it is not available in dialog windows? There is a text input for class names of css, but selecting a class would be easier :-)

#12328 [IE8] Predefined style pruned by the editor new Bug Normal
Description
1. Use samples/replacebyclass.html and standard-all build of the editor.
2. Set the following HTML and selection
<h1>x^</h1>

3. Apply "Special Container" style from styles drop-down.
4. Switch WYSIWYG->SOURCE->WYSIWYG

Expected: Contents hold the style.

<div style="background:#eee; border:1px solid #ccc; padding:5px 10px">x</div>


Actual:

<p>x</p>


Notes:

• It works in dev code.
• It works in other browsers.
#12335 Setting new bg color on existing one make disappear original one (after selection) new Bug Normal
Description

Found on IE10 (works well on Chrome)

Since: 4.2.1 (on previous versions impossible to reproduce, because selection has gone when trying apply backgound.

1. Open editor with content:
<p><span style="background-color:rgb(255, 240, 245)">together make better</span></p>

2. Select word "make"
3. Apply some background color.

Actual result: Original color is cleared for everything after selected word.

#12337 [Blink][IE] Restoring first undo might contain unexpected selection. new Bug Normal
Description

This issue has a slightly diffrent outcome in IE / Blink but has the same steps (and problem source I guess).

1. Open any CKEditor inlineall.html sample.
2. Hit tab key 4 times (to get focus to the right-hand side editor).
3. Press single printable char key, eg. a
4. Press ctrl + z to perform undo

Expected result:
Caret should be collapsed right before first word that's "Lorem"

Current result:
Opera: Caret lands before the first paragraph. So further typing will create new paragraph.

In case of IE caret lands more-less in the middle of text.

1. This is an regression introduced in 4.4.4.
2. You're not able to reproduce this with mouse.
3. You're not able to reproduce it when you'll press any printable or navigation key prior TC. So you're able to reproduce issue only in that particular sequence.
4. Experienced in Opera, Chrome, IE8
#12378 IE Quirks Mode: Unspecified Error when making a selection in the editor new Bug Normal
Description

There is an old bug http://dev.ckeditor.com/ticket/9034 fixed 2 years ago, that is reproducible with CKEditor 4.4.4. On IE9 with document mode Quirks, start to select from the beginning of the text and the error rises. I checked the code in version 3.6.5, the fix was in 'selection' plugin, just an try .. catch block around textRng.select(); at line 449. In the current version this code is in the core (file selection.js line 645), the try catch block is absent and error is reproducible again.

#12475 [Safari 7.1+] Toolbar groups have inconsistent borders new Bug Normal
Description

The right border is thiner than the rest.

#12478 [IE10] Unstable core/ckeditor/basepathglobal test new Task Normal
Description

Test core/ckeditor/basepathglobal seems to be unstable with dev version.

Builded version is fine.

I've only confirmed it with IE10, but it might occur with other IEs too.

#12538 [Devtools] Troublesome relative font-size and line-height new Bug Normal
Description

#cke_tooltip is placed directly in website <body> so it inherits global font rules. It looks strange if website's styles are very different from dialog's styles, e.g. a place where tooltips are shown. #cke_tooltip should gain static font-size and line-height to avoid weird layout in those cases.

#12563 Font names containing spaces and numbers are not handled well. new Bug Normal
Description

We use CK editor embedded in a web browser control. We also extend the CK predefined font stacks with system fonts. This system font list contains some entry that has space and numbers in its name, for instance 'Bauhaus 93'. We are facing an issue that 'Bauhaus 93' is displayed in the font combobox even if the underlying font is different. We also realized that in the related CK font style an empty string presented instead of the 'Bauhaus 93'. After some investigation we found this on W3Schools: 'If a font name contains white-space, it must be quoted. Single quotes must be used when using the "style" attribute in HTML.'. So, officially every font name that has a white space in its name should be single quoted. In fact, this is not necessary for names that has *no* numbers in its name, for instance 'Courier New' but should be used on font names that *has* number in its name like 'Bauhaus 93'. So, we tried to fix this by putting 'Bauhaus 93' between single quotes.

This is the original font configuration (just a sample): config.font_names = "Arial;Bauhaus 93/Bauhaus 93;Tahoma;Verdana";

This is the modified one according to the W3Shools recommendation: config.font_names = "Arial;Bauhaus 93/'Bauhaus 93';Tahoma;Verdana";

On one hand the font combobox now reports the right font where the cursor is. This is ok, but on the other hand, when we try to assign a font that contains a number just like 'Bauhaus 93' the CK editor somehow removes the quotes and generates this style: <span style="font-family:Bauhaus 93;">text</span> -> No single quotes. This is incorrect and browsers do not handle well. This form would be the correct one: <span style="font-family:'Bauhaus 93';">text</span>

Would you please investigate/fix why CKEditor stripes down the 'Bauhaus 93' and put these types of names without quotes in the HTML source. We are using IE engine because of the webbrowser control.

Additional notes about our investigation. This issue is IE specific and the following javascript code is affected: In the tools.is the function parseCssText there is two lines:

1) temp.setAttribute( 'style', styleText );

2) styleText = CKEDITOR.tools.convertRgbToHex( temp.getAttribute( 'style' )
 );

WITHOUT QUOTES: If the styleText variable contains: Bauhaus 93 (*no* single quotes), then the getAttribute in the second line returns with an empty string. So the result is that the style definition created for 'Bauhaus 93' will be empty and later every style matching will say the font is 'Bauhaus'.

WITH QUOTES: If the styleText variable contains: 'Bauhaus 93' (between quotes), the getAttributes works well and the subsequent style matcing gives the right values. This is ok. The problem comes when we apply this style to a text. The quoutes are removed. This is what you need to investigate (The codes I referred works well.). The testing is simple. Just put 'Bauhaus 93' font definition (with single quotes) among the other fonts in the config: This is the full offcial entry for this font: Bauhaus 93/'Bauhaus 93' Note, not just the 'Bauhaus 93' is affected but every other font name that has numbers in its name.

Regards, Zoltan

#12567 Dialogs are incorrectly sized on iOS new Bug Normal
Description

Using an iPhone/iPod touch:

1. Open image dialog (also occurs in link dialog)
2. try to select an image

Results: The dialog is sized in such a way that the ok and cancel buttons are off the right of the screen and the user cannot scroll to the right to click it.

#12583 Certain edit operations destroy the protected structure of a widget new Bug Normal
Description

Reproduce with the help of the simplebox widget:

Click the toolbar button to insert a simplebox.

In the second of the two editable boxes of the widget, set the cursor somewhere in the middle of the word "Content...".

Use SHIFT+Cursorkeys to move the cursor up into the first of the editable boxes, somewhere in the middle of the word "Title", so that you have a selected text area that selects the end of the word "Title" and the beginning of the word "Content...".

Press DELETE to delete the selected text.

The result is as expected: The remaining text is now in the first box (the title box), but the content box, which is now empty, is still there, i.e. you can again insert new text into the content box.

Now make the following slight modification to the simplebox plugin:

Change the template so that the title box (the one with class="simplebox-title") is a div instead of a h2, like so:

template:
'<div class="simplebox">' +
'<div class="simplebox-title">Title</div>' +
'<div class="simplebox-content"><p>Content...</p></div>' +
'</div>',


(Also for completeness sake, change the "allowedContent" so that it says "div(!simplebox-title)" instead of "h2(!simplebox-title)".)

Reload the editor and repeat the above experiment.

You will see that when you press DELETE to delete the highlighted text, that the text is deleted as expected, but the second editable box (the div with class="simplebox-content") is also deleted, i.e. a protected part of the widget is damaged. You can no longer add new text into the "content" field of the widget since it no longer exists.

#12588 MathJax Plugin: Tex input textarea should have spellcheck="false" new Bug Normal
Description

The textarea used to input the Tex code should have spell checking disabled by specifying spellcheck="false" since spell checking makes absolutely no sense there.

This is especially annoying in Internet Explorer 11 which seems to fix words automatically, for example changing "\binom" to "\Binom", thus breaking the code.

#12594 [IE8] Magicline throws an error when inserting block before list with inline elements new Bug Normal
Description
1. Open replacebycode sample.
2. Turn the first header into ul list.
3. Select the text in created list item and apply any inline style.
4. Try adding block before the list item.

Error:

  'null' is null or not an object  plugin.js, line 533 character 3


From magicline plugin.

#12595 [iOS 7 Safari] Selection issue in inline editor new Bug Normal
Description

I have been hassling with ckeditor on iOS for quite a while due to Ticket #12457. Turned out that inline editor does not suffer from all those issues of selection in iOS 7,8. So i moved my code to adapt with inline editor. Now i have observed new issue in selection with inline editor. Here are the steps to reproduce in 'inlinetextarea' sample from ckeditor in iOS 7:

1. select any word.
2. Now click on 'Link' button on the toolbar.
3. Type some URL in the text field and press OK.

Observe link is inserted at some random position (sometimes at last selection point).

Similarly my app has no of modal windows. Each time i open a window, selection is lost in the inline ckeditor, so cannot perform operation on the intended selection. Please suggest a solution to this.

#12602 Enter key at the end of block is broken new Bug Normal
Description

In Firefox on Android, if you press enter at the end of a paragraph, the cursor skips down to a new line briefly, but then jumps back up. It is not possible to cursor down. You can tap a touchscreen where the next paragraph would be entered to move there. Problem occurs on your demo site, and in our local copy of 4.4.5.

Test platform: Android 28 or 33 on Nexus 10, Android 4.3.

This seems similar to ticket #12423.

#12611 Table plugin allows to delete a table that belongs to protected widget code new Bug Normal
Description

Similar to #11252, but related to tables, not to divs:

Test with a CKEditor that has the widget and table plugins.

Create a widget where the outermost widget element is not a div (like in the simplebox sample) but is instead a table.

For simplicity, this table has a single nested tr and td and in this td there is a div which is the single "editable" of the widget.

Create this widget in the editor and type some text into the editable.

Then right-click this text: The context menu contains menu items for "Delete Table" and "Table Properties", even though you never added a table inside of the editable part of the widget. The table that is referenced by these menu items is the outer widget table, i.e. the table that belongs to the protected widget structure.

Consequently, you can for example select "Delete Table" and this deletes the table from the widget, thus destroying the widget.

Note: See TracQuery for help on using queries.