Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (101 - 200 of 1996)

1 2 3 4 5 6 7 8 9 10 11 12
Ticket Summary Status Owner Type Priority Milestone
#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.


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=863562&group_id=75348&atid=543656

#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


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1249695&group_id=75348&atid=543653

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


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1401907&group_id=75348&atid=543656

#1824 table wizard new New Feature Normal
Description

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

See rad editor's table wizard

#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>^
#3731 Support 'style only' override in style system new New Feature Normal
Description

This's a ticket derived from #705, which provide a UC of the following style definition which we don't support now:

{ element : 'strong', overrides : [ { element: 'b'}, { element: 'font', styles : { 'font-weight' : 'bold' } } ] }

And a more generic UC ( and actually a common case )with 'style' only definition could be inferred as:

{ element : 'strong', overrides : [ { element: 'b'}, { element: '*', styles : { 'font-weight' : 'bold' } } ] }

Which declare that we need to consider bold for the following two cases:

  1. It's a <strong> tag;
  2. It's a <b> tag;
  3. It's any tag with "font-weight" : "bold" style;
#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.
Observe that the sub-menu covers the main context menu.

#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)
        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
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
loader.oDocument = globals.scriptFrame.document;

// OK
//loader.oDocument = globals.uiFrame.document;
  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

Google Chrome 9.0.597.98, WinXP

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

With iOS on iPad:

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

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

#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

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

Using iOS5.1 on the iPad.

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

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


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

#9592 Clarify config options apply to one specific creator new Task Normal
Description

We need to find a way to mark in JSDoc, if one configuration is creator specific, to one creator, e.g. autogrow configurations are for themed ui only.

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

#9667 Redesign TAB Key-Based Navigation sample new Task Normal
Description

Problem

When hitting TAB, focus goes somewhere below the lower edge of the viewport (e.g. the very last editor), which might be confusing. Sample doesn't correctly express the idea of the feature.

http://ckeditor4.t/ckeditor/samples/tabindex.html

Proposed idea

Organize editors with reduced toolbars in 2x2 grid, so moving focus between all of them with TAB is clear and visible:

+--------+--------+
|        |        |
|   e1   |   e2   |
|        |        |
+--------+--------+
|        |        |
|   e3   |   e4   |
|        |        |
+--------+--------+
#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();
});
#10677 IE9: CKEditor 3.6.6: Delay in the cursor postion setting after the text is pasted in the ENTER_BR mode new Bug Normal
Description

Steps:

  1. Open CKEditor 3 with CKEDITOR.ENTER_BR mode in IE 9
  2. Run the following code in console to view the focus offset: setInterval(function() {console.log(window.document.getElementById('cke_contents_[your_control_ID]').childNodes[1].contentWindow.getSelection().anchorOffset);}, 200)
  3. Type sample text: 'This is a sample text.'
  4. Copy 'This'
  5. Press Enter

    The offset equals 2

  6. Paste 'This'

Expected result: Offset shows 4 immediatly with any delays.

Actual result: Offset shows 2 couple of seconds. Offset is 4 after the delay.

#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

#10714 [iOS] On iPad touch listeners prevents CKEditor selection new Bug Normal
Description

On an iPad using a Safari or Chrome browser, selection does not work when a jQuery $("body").on("touchstart") event listener is used.

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

From ​http://www.w3.org/TR/CSS2/fonts.html#font-family-prop :

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">
#10770 [iOS] Must click exactly on first line to insert cursor on iPad new Bug Normal
Description

You can see this issue by navigating to http://ckeditor.com/demo#skin in safari on an iPad

In a desktop browser, you can click anywhere in the white area of the CK input box and it will make it 'focused' and show the blinking text input curser.

On iPad you must click very specifically to get the cursor to show up. You must touch your finger to where the first line of text would be if there was one there, otherwise you just get a sort of 'flash' effect in the input box and no cursor.

#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"};.

#11037 No link&unlink option in context menu opened on widget new Bug Normal
Description
  1. Open MathJax sample.
  2. Select some text containing widget (or just widget).
  3. Create link.
  4. Right click widget.
  5. There are no link and unlink options in context menu.
#11065 Incorrect paragraph style after applying indentation and changing RTL/LTR direction new Bug Normal
Description
  1. Load the attached sample page
  2. Click into the 1st inline editor
  3. Ctrl+A to select all text
  4. Click the button to change the text direction from left to right
  5. Click increase indent button
  6. Click the button to change the text direction from right to left
  7. Check the paragraph style

Expected result: margin-left: 40px;

Actual result: margin-right: 40px;

This only happens when we have two editors on the page.

#11072 Merge cells doesn't work in FF when replaced textarea with inline editor new Bug Normal
Description

Tested in FF24 on

http://nightly.ckeditor.com/13-11-03-07-05/full/samples/inlinetextarea.html

when selected few cells in one row and selected merge cells some JS exception is logged on console.

Same works OK in Chrome, not tested anywhere else.

Bug found from 4.0.1 (older not tested) to 4.3 beta.

#11076 [IE8] Caret is not shown when you will move to end of document new Bug Normal
Description

checked at major

  1. open any CKEditor sample (i.e. /samples/replacebyclass.html)
  2. focus the editor
  3. hit ctrl+end (to place caret at the very end of document)

-- already you can not see the caret --

  1. type sth

-- caret is still not visible --

#11109 position:absolute and widget problem new Bug Normal
Description

position:absolute does not create a freely dragable widget. Tested with following widget mockup: <div id="endbossWidget" class="endbossWidget" style="width:100px;height:100px;left:100px;top:100px;position:absolute;"> </div>

#11111 [Safari] Range.enlarge test failing in Safari 7.0 new Bug Normal
Description

Test /dt/core/dom/range/enlarge.html#test_enlarge_element12 fails in latest Safari 7.0 that comes with OSX 10.9.

The root of the problem is the following condition: https://github.com/ckeditor/ckeditor-dev/blob/major/core/dom/range.js#L1039

In this case sibling is empty <b></b> (<p>Test <i><b></b>[Enlarge]</i></p>). Unlike previous versions, Safari 7 considers sibling.$.offsetWidth to be 1 at that point, while in other browsers it is 0. So the conclusion is that empty elements may have some width, which seems to be a regression in browser's engine.

That particular test fails since CKeditor 4.0 in Safari 7 which makes it clear that we're facing Safari regression.

#11113 [IE] Elementspath does not display valid path for first click after selectall new Bug Normal
Description

since: 4.0 until major

This issue also appears in widgets content editables.

  1. open any sample with CKEditor (i.e. samples/replacebyclass.html)
  2. use following source:
    <p>dsadasd <a href="http://aasd">asdsd</a> dassd</p>
    
  3. switch back to wysiwyg mode
  4. ctrl+a (select all)
  5. click once inside link text, to place caret as follows:
    dsadasd as^dsd dassd
    

Expected result:
Following elementspath: body p a

Current result:
Elementspath without a element: body p

Second case:
Steps 1-4 as in case above

  1. click once text after link, to place caret as follows:
    dsadasd asdsd das^sd
    

... and now elementspath shows body p a but it should not.

additional info:

  1. issue does not appear after first click
  2. issue was not present in 3.6.6.1 (tested with ie10), but please, double check me here
  3. present in IE9, IE10, IE11 - i didnt check ie8
#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.

#11120 Support for multiple simultaneous Block level styles is missing new New Feature Normal
Description

After reading the documentation I thought it would be possible to apply many styles for an element. Yet in practice it looks like it's possible for inline styles, but not block level styles?

This would a be very useful feature in a situation like this:

    config.stylesSet = [
        {name: 'P1', element: 'p', attributes: { class: 'styled', elementclass: 'Emphasized'}},
        {name: 'P2', element: 'p', attributes: { class: 'styled', elementclass: 'Draft'}},
        {name: 'P3', element: 'p', attributes: { class: 'styled', elementclass: 'Quote'}},
        {name: 'DIV1', element: 'div', attributes: { class: 'styled', elementclass: 'Draft'}}
    ];

I want to select multiple elementclass values with the shared class styled. The editor would reflect that the element is styled with one or more elementclass, but the actual style is context-dependent. For example users could mark a P element like this: "This paragraph is an Emphasized Quote" - the users custom stylesheet would then define the Quote and the Emphasis styles, which could both be active at the same time. Currently this is apparently impossible?

If you think it's not useful or not possible, the documentation should clearly state that multiple block level styles is not supported. Also it's strange that the styling can change a P element to a DIV and back - a big semantic change. What if P and DIV allowedContent is different?

I would prefer a config option to choose that the stylescombo dropdown only showed styles available for the currently focused element and the conversion could thus be avoided.

#11136 Line removed when pasting new Bug Normal
Description

Parts of my text is disappearing when I paste a paragraph from Word, either using the Paste or Paste from Word. I've reproduced this on the current http://ckeditor.com/demo.

It seems to be an issue when copying the trailing Paragraph character.

Files are attached.

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

#11218 Bug in bbcode plugin new Bug Normal
Description

Hi, I found a bug in bbcode plugin.

I tried to copy and paste a word document into CKEditor. The first line of the document is the title. After paste into CKEditor, I tried to delete the title part. But in the source, the bbcode always has "=13px"

Please advice! Thanks.

#11221 Incorrect result of table/list deletion new Bug Normal
Description
  1. Open replacebycode sample.
  2. Using move select entire list ('Command module...').
  3. Press backspace/delete.
  4. Selection is placed between two paragraphs, directly in body.

This is caused by poor implementation in editable.js. See also http://dev.ckeditor.com/ticket/10055#comment:11.

It's a part of bigger task - complete custom backspace/delete handling.

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

#11234 IE 11 doesn't like links with display:inline-block new Bug Normal
Description

It's hard to debug, but a simple fix should be enough:

With IE 11, load for example http://nightly.ckeditor.com/13-11-29-07-05/standard/samples/api.html

make sure to disable ACF for our tests, in the console: CKEDITOR.instances.editor1.filter.disabled=true

Then insert this "innocent" HTML <a style="display:inline-block">x</a> with the button available (using the console for this call seems to work fine, might be related to document focus)

IE11 throws an error in the scrollIntoView

to avoid it, it seems that it could be enough to check that type exists:

if ( this.type && this.type != CKEDITOR.SELECTION_NONE )

I just hope that you're able to reproduce it because I've spent most of this evening trying to find out what's wrong with IE11

#11243 Magicline and widgets new Bug Normal
Description

I took the example widget from documentation (simplewidget) and noticed that it is possible to add new paragraphs with magickline into widgets non editable areas.

Changing this:

<div class="simplebox align-left" style="width: 500px;">
<h2 class="simplebox-title">Title</h2>

<div class="simplebox-content">
<p>Content...</p>
</div>
</div>

Into:

<div class="simplebox align-left" style="width: 500px;">
<h2 class="simplebox-title">Title</h2>

<div class="simplebox-content">
<p>Content...</p>
</div>

<p>&nbsp;</p>
</div>
#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>',
#11254 Tests mocking CKEDITOR.editor should be rewritten new Bug Normal
Description

For example: http://ckeditor4.t/dt/core/focusManager/focus.html (#11153)

Mocked editor does not behave like the real one. It's cool to create light unit test, but most important is to write precise and realistic tests. All those which create CKEDITOR.editor instances manually are unsafe and should be rewritten.

#11256 [iOS] startupFocus option does not work on iPad new Bug Normal
Description

I don't have a hosted example, but if you take

http://nightly.ckeditor.com/13-12-04-07-05/standard/samples/ajax.html

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

#11262 [FF] forms plugin allows you to place caret inside textarea new Bug Normal
Description

at least since 4.3 (didnt check earlier) until master

You are able to put caret inside textarea in CKEditor.

  1. open any sample with CKEditor (i.e. samples/replacebyclass.html)
  2. use following code:
    <p>&nbsp;</p>
    
    <p><textarea name="foo"></textarea></p>
    
    <p>&nbsp;</p>
    
  3. move caret in first line
  4. pres down arrow

Expected result:
Textarea should become selected (as far as i know fake selection should be applied)

Current result:
Caret will be placed inside textarea allowing you to edit textareas value.

#11270 Delete pressed in table cell causes an error new Bug Normal
Description

Use this HTML:

<table border="1" cellpadding="1" cellspacing="1" style="width:500px">
	<tbody>
		<tr>
			<td>
			<p>&nbsp;</p>
			</td>
			<td>&nbsp;</td>
		</tr>
	</tbody>
</table>
  1. Place caret in first table cell.
  2. Press delete. Sometimes you'll need to press delete multiple times or move caret here and there before.
  3. Error is thrown.
Uncaught TypeError: Cannot read property 'type' of null range.js:1526
CKEDITOR.dom.range.setStart range.js:1526
CKEDITOR.dom.range.setStartAfter range.js:1573
CKEDITOR.dom.range.setStartAt range.js:1618
CKEDITOR.dom.range.moveToPosition range.js:1489
CKEDITOR.dom.range.moveToElementEditablePosition range.js:2047
CKEDITOR.dom.range.moveToElementEditEnd range.js:2157
(anonymous function)

Starts in: https://github.com/ckeditor/ckeditor-dev/blob/c240965c7134620f8d2fe2c36f865197dc280aa9/core/editable.js#L653

Reproduced it on IE9 and Chrome.

#11278 ASP.NET validation does not read the right value of CKEditor new Bug Normal
Description

I'm using ASP.NET wrapper for CKEditor. I use a RequiredFieldValidator for the control, but the first time the control gets validated, it returns the Initial text of ckEditor

so let's say the editor had a value of '1234' and I replace it by 'qwerty' when I submit the form and before the postback, in ASP.NET's JS validation functions, the value is still the old one 1234, while getData() returns the right value!

if I call updateElement() the value is returned allright, but I want a way to do this automatically.

I can override Page_ClientValidate to loop into all instances and call updateElement, but is there a better way?

PS: how can I loop through all Instances, foreach , for loop does not work with CKEDITOR.instances

#11280 [IE] Selection not refreshed or incorrect if clicked outside body new Bug Normal
Description

Checked on IE8 and IE9:

  1. Open replacebycode sample.
  2. Click in various places outside body, on the left side of the editor area.
  3. See that selection in elements path does not reflect the place where caret is placed. Also, if you apply a style, it will be applied in different place (previous selection position).

This means that selectionChange wasn't correctly fired perhaps due to lack of native selectionchange.

#11321 No Notification that something is happening in IE with Link Upload new Bug Normal
Description

Using the Link dialog's Upload tab to upload a file shows no indication that something is happening in IE<=11 until after the file is fully uploaded. Chrome and Firefox both show their activity spinners once you start the upload, but nothing happens with IE. Using CKFinder for the file management. Also happens on your demo page.

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

#11405 [iOS] Editor freezes on iPad after making font/size selections new Bug Normal
Description

There is an issue with the Editor being used on the iPad (not saying it is limited to the iPad, but that's what I've been testing in) where the Editor will freeze up and not accept any input. I can get this to happen in general when I'm switching focus between other INPUT elements on the screen and then try to focus on the Editor, but it is most easily repeated by using the styles/normal/font/size menus on the Editor itself.

If you load up the CKEditor Demo Page

Put focus in the Editor, type a few characters, then make a selection from the "Font" list. Now try to continue typing. The Editor looks like it has focus, but refuses all input. To get it to work again you must give something outside the Editor focus and then return focus to the Editor.

I'm experiencing this issue on an iPad 3, running iOS 7.0.3 and using the Safari browser.

#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);
#11478 Can't use jQuery Object as option-property with the jQuery Adapter new Bug Normal
Description

You can't use jQuery objects as options when using the adapter:

$( '#editable' ).ckeditor( function() { 
    /* Callback function code. */ 
},
{ 
    uiColor : '#9AB8F3', 
    test: $('body') //Results into  a Uncaught TypeError: Illegal constructor
}); // Use CKEDITOR.inline().

I was upgrading from 3.6 to 4.3 when I got this problem. I used those jQuery objects in my company's plugins. For more info, see: http://stackoverflow.com/questions/21159229/using-own-properties-in-ckeditor-4-plugin-upgrade-from-version-3

In the attached file is a ckeditor_4.3.2_full.zip with one 'bugged' example -> jquery_object.html

#11636 Improve selection.getSelectedHTML, range.cloneContents and range.deleteContents new New Feature Normal
Description

Because of custom implementation of drag & drop (#11460) we will use selection.getSelectedHTML and range.deleteContents more often to read and remove dragged HTML. Current implementation of selection.getSelectedHTML can not be based on range.cloneContents because it changes range (#11586) and works not as we could expected.

For this reasons we need to reimplement selection.getSelectedHTML, range.cloneContents and range.deleteContents.

range.cloneContents and range.deleteContents should behave more as user could expect than simple clone or delete. For example:

  • for 'xx<a href="foo">b[a]r</a>xx' range.cloneContents should return '<a href="foo">a</a>',
  • for '<p>[foo]</p>' range.deleteContents' should remove whole paragraph,
  • for '<table><tr>[<td>foo</td><td>b]ar</td></tr></table>' range.deleteContents should change contents to the '<table><tr><td></td><td>ar</td></tr></table>'.

selection.getSelectedHTML should be based on range.cloneContents.

#11655 editor.config.toolbarLocation='bottom' does not work new New Feature Normal
Description

Due to the implementation with the "floating" toolbar (depending on the scroll position/available space of the page), it is not possible to fix the location of the toolbar. It'd be great to give a preferred location of the toolbar ("put it to the bottom unless there is no space").

Please see my attached plugins/floatingspace/plugin.js with my temporary workaround to get an idea of location of the problem.

#11674 Tableresize - allow percent-based values new New Feature Normal
Description

It would be nice if tableresize allowed to set column widths in percent instead of pixels. Of course, it should be configurable.

#11692 [IE9-10] Home and end buttons in inputs move cursor to the wrong possition new Bug Normal
Description
  1. Open Replace by Class sample.
  2. Open Link dialog.
  3. Paste long link into URL field (longer than text field width) like:
    ckeditor.com#Lorem-ipsum-dolor-sit-amet-consectetur-adipiscing-elit-Nam-vel-lectus-varius
    
  4. press "Home" button

Result: there is a space between cursor and text.

The same issue for 'end' button. I was able to reproduce it on IE9 and IE10 with all of the text fields. On IE8, IE11 and Chrome everything is fine.

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