Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (101 - 200 of 2112)

1 2 3 4 5 6 7 8 9 10 11 12
Ticket Summary Status Owner Type Priority Milestone
#12250 Cannot disable auto inline functionality when CKEditor is being loaded via Ajax pending Bug Normal
Description

Hello,

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

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

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

Is there a way to resolve this nasty issue?

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

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

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

Thanks,

#12303 Action buttons are not disabling in IE pending Bug Normal
Description

This ticket is opened against #12299.Please find attached html file

#12314 Entermode inconsistencies pending Bug Normal
Description

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

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

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

#12336 Multiple CKEditor instances in one page loading problem in Internet Explorer 8 and 9 versions. pending Bug Normal
Description

Hi,

We have around 50 CkEditors in our Web Page, the web page is divided into two sections. Initially all the ckeditors are loaded in the right side section of the webpage and when selected anyone of the ckeditor from the right side of the page, then the selected ckeditor is moved to the left side of the page. The selection and moving to the left side of the page and constructing the ckeditors again when the page gets reloaded, this entire action is taking around 10 to 15 seconds of time to reload all the ckeditors. The ckeditors construction while reloading the page is taking more time (around 10 to 15 seconds) and this issue is occurring only in Internet Explorer 8 and 9 versions. Whereas in Chrome or Safari (also in Internet Explorer 10 & 11 versions) this entire action is taking around 3 to 5 seconds in reloading and constructing all the ckeditors.

Attached a screen capture of the web page for your reference.

The following are scripts details loading in the webpage:

<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> jquery-ui.css jquery-ui-1.8rc1.custom.css editor.css

prototype.js jquery-1.4.3.min.js jquery-ui.min.js jquery-1.4.1.min.js jquery-ui-1.8rc1.custom.min.js ckeditor.js config.js en.js

Any help would be appreciated.

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

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

Tried it with 4.3.3, 4.4.3 and 4.4.4

Thanks.


Workaround: see comment:3.

#12379 CKEditor 4.4.4 Full cannot used in google chrome pending Bug Normal
Description

CKEditor 4.4.4 Full cannot used in google chrome,I got message Uncaught TypeError: Cannot read property 'ltr' of undefined

Browser: Google Chrome Version: 37.0.2062.102 m

#12389 Chrome 38 Beta: SHIFT+ENTER on empty line causes browser to crash pending Bug Normal
Description

On Chrome Version 38.0.2125.24 beta-m, I've noticed that SHIFT+ENTER in certain scenarios is causing Chrome to crash and give it's "Aw snap!" page.

To recreate the issue using the ckeditor demo: 1) Select all of the content and delete it 2) Place the cursor in the first (empty) line 3) Press SHIFT+ENTER

This is fine on other non-beta Chrome versions, but I thought I would raise it as the current beta will become the next release at some point and this may be something you want to investigate before that happens.

#12394 Last key not detected in source area pending Bug Normal
Description

Hi

I am using 4.4.2 version of Ckeditor. When I am tying in source area and submitting form last key value not saved. And Also if I copy and paste content in source and not change any thing and submitting form no content will be save.

#12405 The editor keeps crashing on ipad pending Bug Normal
Description

Dear Sir or Madam

It is now IMPOSSIBLE to edit anything more than 3 sentences on the editor. We selected your editor, because we heard that you have a good level of support for ipad.

This issue is hugely critical for what we do. Please resolve this issue for us over the weekend. Please let us know what we can do to improve the problem.

Kindest regards,

Dawit

#12426 2 images shown when using Image upload in CKEdtior using iPad pending Bug Normal
Description

Open CK editor in iPad. Try to use Image upload plugin.

You see that there are 2 images being added to the editor.

#12433 ckeditor doesn't work when hiding after "instanceReady" pending Bug Normal
Description

Hi,

I am doing a project that uses ckeditor.I use event handle "instanceReady" and hide the container "div" of ckeditor to open it when needed.

CKEDITOR.on("instanceReady", function(evt){
  $("#cke_" + evt.editor.name).hide();
})

However, when I open it by unhide that div, the ckeditor is empty and I can not enter anything to iframe although there is some text in original textarea.

#12434 314 - TypeError: a is undefined pending Bug Normal
Description

console firefox typeerror cheditor.js line 314

same with QUnit - Message

TypeError: a is undefined Source:

http://localhost/mobger/inhalte/typo3conf/ext/multiblog/Resources/Public/ckeditor/ckeditor.js?1408541360:314

#12435 '\u200B' ('cke-fillingChar') is everywhere in document pending Bug Normal
Description

This bug has been evident (to me) for about a year. I use Chrome on Mac, Linux and Windows.

#12442 UX refresh for tables and dialogs pending New Feature Normal
Description

One of our customers find creating a table difficult in CKEditor, and finds the look and feel for the table and the dialog a little bit dated.

We would like a way to make the table look more modern in the editor if possible, and have an alternative to creating table For example, having a new plugin allowing to graphically select how many rows and columns is needed.

#12462 Unable to use Ckeditor pending Bug Normal
Description

Hi There,

I am unable to use the ckeditor.

  1. i have referenced ckeditor.js in my solution.

<script src="~/Scripts/ckeditor/ckeditor.js"></script>

  1. created a textarea in my page.

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

This is my textarea to be replaced with CKEditor.

</textarea>

  1. included javascript code

CKEDITOR.replace('editor1');

Still i am getting error in my page

0x800a138f - JavaScript runtime error: Unable to set property 'dir' of undefined or null reference.

Please let me know if i am missing any js or css file reference.

Regards,

Atif

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

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

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

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

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

#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

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

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

#12256 Paste from Word plugin removes classes new Bug Normal
Description

When pasting content from word the classes assigned to the elements by filter are removed.

Use config with Bold definition that involves classes.

            coreStyles_bold: {
                element: 'span',
                attributes: { 'class': 'myboldclass' },
                overrides: ['strong', 'b']
            },

When pasting bold text from Word, the result is <span> without class. The offending line that always removes class is

'class': falsyFilter,

in pastefromword/filter/default.js.

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

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