Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (10201 - 10300 of 11754)

Ticket Summary Owner Type Priority Milestone Component
#12672 Pasting several double byte whitespace copied from firefox shrinks them to one single byte whitespace Bug Normal General
Description

When copying 3 double byte whitespaces from Firefox and pasting them into a ckeditor field shrinks those 3 whitespaces to a single one. And that one is then a single byte whitespace (0x20) instead of a double byte whitespace (0x3000).

  • Steps to reproduce:
  1. create a html file with the following content:
    <html><title></title><body>
    x&#12288;&#12288;&#12288;x
    </body></html>
    
  2. Open the file in Firefox and copy exactly the 3 whitespaces (without the X).
  3. Paste into a ckeditor text field. (which browser does not seem to matter here)
  • Actual output:

One single byte whitespace (0x20)

  • Expected output:

Three double byte whitespaces (0x3000). Maybe it would also be acceptable to have 3 single byte whitespaces. But at least the number of characters should stay the same.

#12674 iframe fallback contents encoded Bug Normal General
Description

I think I've found a bug when adding iframe fallback content.

If I enter the below into the source.

<iframe src="http://google.co.uk" > TEST FALL BACK CONTENT <a href="#">this is a link</a> </iframe> ​ The fallback content is being encoded, and from what I can see from W3C this should not happen.

<iframe src="http://google.co.uk">TEST FALL BACK CONTENT &amp;amp;amp;lt;a data-cke-saved-href=&amp;amp;quot;#&amp;amp;quot; href=&amp;amp;quot;#&amp;amp;quot;&amp;amp;amp;gt;this is a link&amp;amp;amp;lt;/a&amp;amp;amp;gt;</iframe>

#12676 Typing (not copying/pasting) in selected area create IE Font Tags instead of Spans Bug Normal General
Description

This is similar to this ticket attached 3786. However I felt it was important to raise it again but specifying that it was when you typed into a styled span that CKeditor replaces the code with a font tag. Also, unsure how to reopen a ticket when it stated it was fixed.

Reproduced on the Demo Inline editor on 18-11-2014.

To reproduce have custom styled code in the editor with font family specified.

<span class="textblock" style="color: rgb(44, 180, 49); line-height: 13pt; font-family: museob; font-size: 11pt;">
Get Real Results From Your Website
</span>
<span style="line-height: 13pt; font-size: 9pt; color: rgb(44, 180, 49); font-family: museob;" data-attr="">
<br>
</span>
<span class="textblock" style="color: rgb(58, 57, 59); line-height: 12pt; font-family: museo; font-size: 9pt;">
Monday 5th November, 6pm - 9pm,<br>
</span>
<span class="textblock" style="color: rgb(58, 57, 59); line-height: 12pt; font-family: museo; font-size: 9pt;">
The Falkirk Stadium<br>
</span>
<span style="line-height: 9pt; font-size: 9pt; color: rgb(44, 180, 49); font-family: museob;" data-attr=""><br>
</span>
<span class="textblock" style="color: rgb(44, 180, 49); line-height: 13pt; font-family: museob; font-size: 11pt;">
Negotiating Skills
</span>

Then highlight one of the green lines of text (or both) and type in a new line of text. The code replaces the span with font tag. Below is the result of the above test.

<p>
<span class="textblock" style="color: rgb(44, 180, 49); line-height: 13pt; font-family: museob; font-size: 11pt;"></span>
<span style="line-height: 13pt; font-size: 9pt; color: rgb(44, 180, 49); font-family: museob;" data-attr="">
<font color="#2cb431" face="Times New Roman">
New Header
</font>
<br>
</span>
<span class="textblock" style="color: rgb(58, 57, 59); line-height: 12pt; font-family: museo; font-size: 9pt;">
Monday 5th November, 6pm - 9pm,<br>
</span>
<span class="textblock" style="color: rgb(58, 57, 59); line-height: 12pt; font-family: museo; font-size: 9pt;">
The Falkirk Stadium<br>
</span>
<span style="line-height: 9pt; font-size: 9pt; color: rgb(44, 180, 49); font-family: museob;" data-attr="">
<br>
</span>
<span class="textblock" style="line-height: 13pt; font-size: 11pt;"></span>
<font color="#2cb431" face="Times New Roman">
Another new header
</font>
<br>
</p>
#12679 How to prevent adding/changing code on save Task Normal General
Description

How can I make it so that the editor does not automatically add or change any code each time we save? Right now it's adding an arial font tag and also will change our code each time we save.

#12680 after IE11 update, cursor position error in enter_br mode Bug Normal General
Description

Hi,

We are korean developer, and we are using ckeditor for create/edit client pages online, and we use enter mode as CKEDITOR.ENTER_BR. In Nov 11 2014, MS released IE11's new security update (MS14-065, http://support.microsoft.com/kb/3003057), and after the update was installed, when we type some characters on the ckeditor, and press enter key, and cursor position moved the previoues line. This error is also ocuurs on the ckeditor enter key configuration demo page. (http://ckeditor.com/demo#enter)

for example, if enter mode is CKEDITOR.ENTER_BR, 가나다라 (Enter Key) 가나다라 | (cursor)

is normal, but after IE11 update installed,

가나다라 (Enter Key)나다라 | (cursor) 가

is occured. (the cursor position is located the previous line) (In ENTER_P and ENTER_DIV the error does not raises.

and typing Korean charactor raise the error. Alphabetical and numeric charactor does not produce this bug.)

why this error couurs? and when the patch of this problem fixed will be released?

Thanks.

#12683 Filter fails to remove custom tags Bug Normal CKEditor 4.4.6 General
Description

Based on https://github.com/ckeditor/ckeditor-dev/pull/139

Example:

			var filter = createFilter( 'p bar' );
			filter( '<bar><h1>bar</h1></bar>',						'<bar>bar</bar>' );
#12688 Styles system improvements Bug Normal CKEditor 4.4.6 General
Description

There were four interesting leftovers from #12403 (http://dev.ckeditor.com/ticket/12403#comment:16):

  • Tests rewritten using the new and more powerful methods for setting selection.
  • Set of new tests.
  • Fix for an error thrown in one of the tests.
  • Fix for too lazy elements matching resulting in broken DOM.
#12692 Link Style background error Bug Normal General
Description

When using the Link feature and adding background/background-image with a URL in the Style field, the user always gets this error:

"Value specified for the inline style must consist of one or more tuples with the format of "name : value", separated by semi-colons" http://screencast.com/t/fcDjtxTEHZ

Some examples of CSS added to get this error: background-image: url('https://dev.ckeditor.com/chrome/site/logo-ckeditor-dev.png'); background: url('https://dev.ckeditor.com/chrome/site/logo-ckeditor-dev.png');

Steps to produce: 1) Go to Link >> Advanced >> Style and add the following into the field: background-image: url('https://dev.ckeditor.com/chrome/site/logo-ckeditor-dev.png');

You can see these steps here: http://screencast.com/t/DG7UfcnTcmYL

Browser Used: Firefox v33.1

Cause of the Problem: I think this error shows because the URL contains a colon (':'), which is the basis of the name:value JS logic.

Need to update this so that background/background-image styles with URLs in do not get this error (currently only relative links can be added as background-image).

As shown in the screencast video above, managed to reproduce this on the nightly build.

#12693 [IE] Impossible to collapse selection using shortcut Bug Normal General
Description

Tested on IE8

  1. Open editor with following content and selection:

<p>foo <strong>bar</strong> <span style="color:#ffd700">baz<u>uno<em>dos</em>tres</u>qutro</span>cinco</p>^

  1. Extend selection by pressing Ctrl + Shift + left until you reach the beginning.
  2. Collapse selection by pressing Cltr + Shift + right.
#12695 [IE8] Ampersand and last character is lost when &amp; is the before last character of a textarea Bug Normal General
Description

When &amp; is the before last character of the textarea, the ampersand and the last character is lost in Internet Explorer 8.

Example code:

<textarea cols="80" id="editor1" name="editor1" rows="10">Testing Ampersand here: A&amp;B -- A&amp;B</textarea> <script>

CKEDITOR.replace( 'editor1' );

</script>

Firefox and IE11 shows in the CKEditor: Testing Ampersand here: A&B -- A&B

IE8 shows in the CKEditor: Testing Ampersand here: A&B -- A

#12699 XML Error in filemanager Bug Normal File Browser
Description

When using as php plugin for WordPress and opening browse server on image insert

FCKeditor - Resources browser

I get error:

wp-content\plugins\ckeditor-for-wordpress\filemanager\browser\default\frmresourceslist.html

line 129

alert( 'The server didn\'t reply with a proper XML data. Please check your configuration.' ) ;

WP: 4.0.1 Plugin Version 4.4.5 Editor Version 4.4.5 CKFinder Not installed

Problem was empty XML document:

wp-content\plugins\ckeditor-for-wordpress\filemanager\connectors\php\connector.php

line 84

GetFoldersAndFiles( $sResourceType, $sCurrentFolder ) ; returns empty XML document

after commenting out

wp-content\plugins\ckeditor-for-wordpress\filemanager\connectors\php\basexml.php

line 28 in function SetXmlHeaders()

/ / ob_end_clean() ;

XML file was returned ok, and no errors was raised.

#12700 Old bug resurfaced? Bug Normal General
Description

Hello,

When a user right-clicks on a table, they no longer see the table properties menu. Here is the menu that they now see:

http://i.imgur.com/N5l952d.png?1

http://i.imgur.com/aFWwEZP.png?1

Compared to what they use to see:

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

I saw this ticket (http://dev.ckeditor.com/ticket/11306) which was closed 6 months ago, but it seems like the same behavior is happening. I am using version 4.4.5 through Mingle.

#12703 Chrome Version 40.0.2214.10 BETA 64-bit Syntax error in (ckeditor.js) Bug Normal General
Description

CKEDITOR Version: "4.4.1"

Uncaught SyntaxError:

Unexpected identifier ckeditor.js:13 (anonymous function) ckeditor.js:13 (anonymous function) ckeditor.js:998

Line 13:

CKEDITOR.editor
(CKEDITOR.editor=function(){CKEDITOR._.pending.push([this,arguments]);CKEDITOR.event.call(this)},CKEDITOR.editor.prototype.fire=function(a,e){a in{instanceReady:1,loaded:1}&&(this[a]=true);return CKEDITOR.event.prototype.fire.call(this,a,e,this)},CKEDITOR.editor.prototype.fireOnce=function(a,e){a in{instanceReady:1,loaded:1}&&(this[a]=true);return CKEDITOR.event.prototype.fireOnce.call(this,a,e,this)},CKEDITOR.event.implementOn(CKEDITOR.editor.prototype));
#12704 span tags are replicating in certain contexts Bug Normal General
Description

Hello, discovered weird behaviour in CKEditor 4.4.5 integration testing for our CMS. Our current legacy CMS has been responsible for over using span tags, so this isn't a case where it's manually entered HTML that can just be cleaned up in a jiffy, chances are hundreds of our customers will be applicable for this quirk if we roll out CKEditor in our CMS.

The issue is when a span tag is surrounding a table tag.

Example 1 - this code is pasted into the source view, switch back to wysiwyg view then back to source view:

<span class="class1">
   <table>
      <tr>
         <td><span class="class2">Content Here.</span></td>
         <td>Content Here.</td>
      </tr>
   </table>
</span>

I did testing and narrowed it down to being a core editor behaviour that is separate from ACF.

Example 2 - with ACF disabled

<table>
  <tbody>
    <tr>
      <td><span class="class1"><span class="class2">Content Here.</span></span></td>
      <td><span class="class1">Content Here.</span></td>
    </tr>
  </tbody>
</table>

Example 3 - With ACF disabled and removal of blank span tags disabled (CKEDITOR.dtd.$removeEmpty.span = 0;)

<span class="class1"> </span>

<table>
  <tbody>
    <tr>
      <td><span class="class1"><span class="class2">Content Here.</span></span></td>
      <td><span class="class1">Content Here.</span></td>
    </tr>
  </tbody>
</table>
<span class="class1"> </span>

Ideally, I would of expected that the default behaviour would be to remove a span tag completely when surrounding a table tag since as far as I know a td does not inherit styles from a span tag.

Obviously besides the span tag replication, the issue for me is new styles are being applied to content. Examples 2 and 3 insert copies of the span tags in table cells, and Example 3 just seems to be even worse by inserting new span tags as well as making two blank ones.

This is replicated for me in browsers FireFox 33.1, Chrome Version 39.0.2171.65, and IE 11 (haven't tried other browsers). I run windows 7 64 bit.

#12705 Make inline editor toolbar behaviour on scroll configurable New Feature Normal UI : Floating Panel
Description

I'm using the floating toolbar on an area with the contenteditable attribute. I am trying to prevent the toolbar from moving when the page is scrolled. I would like it to remain permanently in one position, regardless of how the window is scrolled.

At the moment I am trying to use the scroll.ckeditor event on the window object to override the default settings, but it would be much more preferable if I could specify "scrollBehaviour: static" or something when initialising ckeditor.

#12707 Table CAPTION output below THEAD kkrzton Bug Normal CKEditor 4.5.8 Core : Tables
Description

The table properties editor looks to be placing the CAPTION element below the THEAD element.

The following ticket from a while back sounds like the same issue but this was noticed on our version 4.4.4 and can also be recreated on the ckeditor/demo version (4.4.6?).

https://dev.ckeditor.com/ticket/4809

The problem can be recreated in the demo ckeditor by:

1) Clicking the Table toolbar button
2) Selecting Headers "First Row"
3) Specifying a Caption
4) Clicking Ok to create the table
5) Click the Source toolbar button to view the generated HTML (screen shot attached).

This generates the following HTML output:

<table border="1" cellpadding="1" cellspacing="1" style="width:500px">
	<thead>
		<tr>
			<th scope="col">&nbsp;</th>
			<th scope="col">&nbsp;</th>
		</tr>
	</thead>
	<caption>Caption</caption>
	<tbody>
		<tr>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
		</tr>
		<tr>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
		</tr>
	</tbody>
</table>

<p>&nbsp;</p>

Having the CAPTION below the THEAD does not pass w3c validation:

Line 10, Column 10: document type does not allow element "caption" here

	<caption>Caption</caption>
#12708 Easy image insert extension twice ex: .jpgjpg Bug Normal General
Description

I am using Easy image with CKEditor and when I upload the file, everything is good the file is uploading without problem. If I check with FTP the file is there. But in my CKEditor the filename has the extension twice filename.jpgjpg if I hit the source button and delete the extra "jpg" the images load but I can't ask my user to do that everytime they add a picture ....

Anyone knows how I can solve this?

#12709 Can we create a customized span element plugin. New Feature Normal UI : Dialogs
Description

I am creating a customized showif plugin in ckeditor for my own use. This plugin will be html span element. but if i use editor.document.createElement( 'span' ); my onShow function doesnt work to allow me to edit the created element properties.

#12711 paste as text Bug Normal General
Description

Hi,

when I copy a piece of text and then press the 'paste as plain text' button on IE ver 11 nothing happens. It works with 'Paste' button though. is there a setting I am missing on 'config.js' or it is a IE setting problem?

Many thanks, Rob

#12713 Can't get rid of useless custom context menu Bug Normal UI : Context Menu
Description

I want to get rid of CKEditor context menu, because it does almost nothing but blocks useful(copy/paste, spellcheck options) native context menu.

Config removePlugins: 'contextmenu does not work! It's just has no value! Additionally i get error:

Uncaught Error: Plugin "contextmenu" cannot be removed from the plugins list, because it's required by "tabletools" plugin.

If I remove "tabletools" it's fine, except I loose control over table. Additional toolbar button could be fine. Or maybe "air" (floating) table toolbar when cursor is placed inside table.

I'm really surprised this bug is not listed yet.

#12714 Insert Image/Link dialogs are overcomplicated. Bug Normal UI : Dialogs
Description

Take a look at TinyMCE 4 or Redactor: they have pretty dialogs for image/link insertions.

CKEditor uses monstrous dialogs.

#12715 Context menu not showing in inline mode on Chrome Bug Normal General
Description

Go to the official ckeditor demo on http://ckeditor.com/demo#inline (inline editing) and right-click anywhere in an editable area: Firefox 33.1.1 -> ckeditor context menu appears Chrome 39.0.2171.71 m -> Chrome context menu appears instead

#12719 Using multiple indentations can force text outside the editor window Bug Normal General
Description
  • Descriptive summary - If you create an inline editor and click the indent button multiple times, eventually the text being indented will be pushed outside the editor frame. This does not happen when using the standard editor functionality
  • Steps to reproduce -
    1. Create an inline editor
    2. Enter some sample text
    3. Repeatedly click the indentation button
  • Browser and OS - Windows 7 Chrome Version 39.0.2171.71 m
  • Test case file - I created a basic JSFiddle
#12720 Cross Site Scripting via href click Bug Normal General
Description
  1. Go to Source mode
  2. Paste this source code

<p><a href="javascript:alert(document.domain)">Click here to 50 BTC</a></p>

PoC Video: http://youtu.be/3xxLpYg4j3M

#12722 Language-specific button icons New Feature Normal General
Description

I was asked by user to add localized icons to my skin. It's supported by MS Office. For English there are "B", "I", "U" icons. For Russian: "Ж", "К", "Ч".

It's easy to implement, but this will cause icon file increasing. Does it worth?

#12724 Use notifications in upload widget Piotr Jasiun New Feature Normal CKEditor 4.5.0 Beta General
Description

Upload widget should use notifications instead of console to inform user about progress and warning.

The prefect solution would be to show one progress notification for multiple uploads.

TODO: Remove the console.log from the uploadwidget plugin.

#12725 height of cke_dialog_ui_vbox Bug Normal General
Description

Hello

We have a bug with ckeditor dialog box using node_embed drupal module

Drupal bug link : https://www.drupal.org/node/2167591#comment-9399499

I think we sould set the height of .cke_dialog_ui_vbox to 100% in ckeditor/skins/moono/dialog.css

Drupal 7.32 node_embed dev module ckeditor dev

cekitor version: 4.5

#12726 Red tests on major after #12448 Piotrek Koszuliński Bug Normal CKEditor 4.5.0 Beta General
Description

First bad commit is git:4f040ebb.

Failing tests:

There may be more reds.

#12727 IndexSizeError on using plugins 'Div Editing Area' and 'Content Templates' Bug Normal CKEditor 4.5.7 General
Description

This error occurs in Chrome (Version 39.0.2171.71) running on Windows 7 x64.

I created a basic CKEditor and added Div Editing Area, Image and Content Templates as plugins.

Reproduce the error:

  1. Open the template dialog and select the first default template ('Image and Title'). The dialog closes an the template gets displayed.
  2. Open the template dialog again and select the second template ('Strange Template'). The dialog stays visible.

The developer console shows the following error:
Uncaught IndexSizeError: Failed to execute 'extend' on 'Selection': 1 is larger than the given node's length. (in ckeditor.js)

#12728 dialogadvtab absolute Url in Style textbox only in Chrome Bug Normal General
Description

Hi,

We noticed an anomaly in version 4.4.6 with CKEditor plugin "dialogadvtab".

Environment test: Google Chrome (39.0) CKEditor (4.4.6)

NB: This only happens in Chrome; Firefox or Internet Explorer looks work. In the "dialogadvtab" plugin (not modified )the code to change the url in the "Style" zone relative and not absolute url is not working. Sample code generated in the "Style" zone: background-image: url (http: localhost: 4611 / web / my-picture.jpg); width: 99%; (Google Chrome - incorrect) background-image: url (my-picture.jpg); width: 99%; (Other - correct) Which causes this error message when validates the form "dialog" CKEditor. Can you tell us if this problem is reproducible at home, and if so give us information about unce eventual corrections in the planning date compared to a release. If my description is uncompleted, I can give you more precisions.

Best regards,

Laurent BROUCK

#12729 Incorrect structure created when merging block into list item on Backspace and Delete Artur Delura Bug Normal CKEditor 4.4.8 General
Description

Steps:

  1. Create a list with two items that contain links
  2. Put caret at the beginning of the second item and hit backspace

DOM result:

<a data-cke-saved-href="http://link" href="http://link">
  first
  <a data-cke-saved-href="http://link" href="http://hg">second</a>
</a>
#12730 CKEditor version 3.4.1 revision:5892 - Toolbar is not visible in IE 11 Bug Normal UI : Toolbar
Description

Hi,

I am using CKEditor version 3.4.1 in an ASP.NET page. I am doing IE 11 compatibility testing. The toolbar is not visible in IE 11. Could you please help me to fix this?

#12731 Cannot modify CKeditor toolbar in N2CMS Bug Normal UI : Toolbar
Description

I have tried to modify the CKeditor toolbar in N2CMS Local Resources. The purpose is adding the Media button to insert Video object. However, the layout is not changed. It just recognized the uiColor only.

config.toolbar = [ { name: 'document', groups: ['mode', 'document', 'doctools'], items: ['Source', '-', 'Save', 'NewPage', 'Preview', 'Print', '-', 'Templates'] }, { name: 'clipboard', groups: ['clipboard', 'undo'], items: ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'] }, { name: 'editing', groups: ['find', 'selection', 'spellchecker'], items: ['Find', 'Replace', '-', 'SelectAll', '-', 'Scayt'] }, { name: 'forms', items: ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'] }, '/', { name: 'basicstyles', groups: ['basicstyles', 'cleanup'], items: ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat'] }, { name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'], items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language'] }, { name: 'links', items: ['Link', 'Unlink', 'Anchor'] }, { name: 'insert', items: ['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe'] }, '/', { name: 'styles', items: ['Styles', 'Format', 'Font', 'FontSize'] }, { name: 'colors', items: ['TextColor', 'BGColor'] }, { name: 'tools', items: ['Maximize', 'ShowBlocks'] }, { name: 'others', items: -? }, { name: 'about', items: About? } ];

#12733 Radio button onChange doesn't work in IE9+ Szymon Kupś Bug Normal CKEditor 4.5.4 UI : Dialogs
Description

I have defined a custom onChange function for a radio button group that I use in one of my custom dialogs. It works in Firefox, Chrome and IE8 (haven't tested earlier versions), but not in IE9, IE10 or IE11.

I think this is because of the IE changes described here - http://msdn.microsoft.com/en-us/library/ie/ms536956%28v=vs.85%29.aspx

I think the browser check should be the same as for the checkbox, namely

if ( !CKEDITOR.env.ie || ( CKEDITOR.env.version > 8 ) )

instead of

if ( !CKEDITOR.env.ie )
#12735 Config.fillEmptyBlocks should only apply when outputting data Marek Lewandowski Bug Normal CKEditor 4.4.7 General
Description

Original TC:

In CK 4.4.5 everything is fine. After upgrade to 4.4.6 in chrome is problem cursor focus in empty content. Cursor is no-where, no blinking, nothing. I can write content and after that cursor is showing. Problem is in all last versions of Chrome: dev, beta, normal, Canary. Problem is not in FF,IE,O.

Real problem:

See comment:7.

#12738 CDN link for 4.4.5 Standard loads 4.3.5 Bug Normal General
Description

http://cdn.ckeditor.com/4.4.5/standard/ckeditor.js

Note the version number at top is 4.3.5 and not 4.4.5

#12739 Link loses inline styles when edited without dialogadvtab Olek Nowodziński Bug Normal CKEditor 4.4.8 General
Description

When editing a link, inline styles are stripped even when allowedContent = true.

This only affects the "standard" version, not the "full" version

To reproduce, right click on "Styled Link" and edit the URL

Standard 4.4.5, Issue present. http://jsfiddle.net/bdzht7p6/

Full 4.4.5, Issue NOT present. http://jsfiddle.net/xag8c1ow/

#12740 Pastefromword terminates with error message if word markup contains style prop "mso-list: none;" Tade0 Bug Normal Plugin : Paste from Word
Description

In CKEditor 4.3.5 and IE9 or Chrome (at least), the paste from word plugin terminates with its error message when pasting a Word content via clipboard that contains style prop "mso-list: none;". See attached Word file. The content then is pasted to the editor, but mostly uncleaned. The style prop "mso-list: none;" seems to be generated by Word for the heading of the TOC (for example, in our case). Analyzing the file plugins/pastefromword/filter/default.js, I found that the code expects a property value containing at least one space, and will throw an exception otherwise:

val = val.split(' ');
var listId = Number( val[ 0 ].match( /\d+/ ) ),
   indent = Number( val[ 1 ].match( /\d+/ ) );

Hence, adding the following line after the split cures the issue:

if( !val || val.length < 2 ) return;

Can you please check whether this line does any other harm and, if not, add it to the code for future versions?

Moreover, it would be helpful if the paste from word filters would be more robust in the sense that an exception does not stop the filtering completely ...

Best, Henning

#12742 Right click on images when using image2 plugin Bug Normal General
Description

I use CKeditor v4.4.6, with the standard configuration. The only difference is that I use the image2 plugin instead of image.

In Chrome, when I right click on an image in the editor I see 4 items in the context menu: cut, copy, paste, image properties.

In IE11, when I right click on an image in the editor, I see only the item paste. I should see the same menu than in Chrome.

#12745 Cannot resize an image in Chrome using the Image plugin Bug Normal General
Description

Would like to be able to grab the corner of an image or table and resize it directly without going to a dialog.

This works with the image plugin for a number of browser, but does not however works in Chrome.

Is there a way to port the fix from image2 plugin into image plugin ? http://dev.ckeditor.com/ticket/6668

#12746 Config option to hide image2's resizer Artur Delura New Feature Normal CKEditor 4.5.0 Beta General
Description

As explained in http://dev.ckeditor.com/ticket/12615#comment:14 and https://github.com/ckeditor/ckeditor-docs/issues/51 we need an option to disable the resizer without removing the width and height attribute (it's now possible to disallow them and resizer automatically disappears).

I'd also love if we could extract the code needed for the resizer to a separate plugin. The setupResizerfunction has 200LOC plus there's 30LOC of CSS, so that could be something. And there's nothing more there, so that would be an entire feature, which after some improvements perhaps could be reused by other plugins (like video embedding). But I'm afraid that we won't have enough time...

#12747 IE: Dropdowns become disabled when in maximize mode. Artur Delura Bug Normal CKEditor 4.4.7 General
Description
  1. Open replacebycode.html sample
  2. Click Maximize
  3. Select header and part of first sentence in first paragraph as shown below:
    [Apollo 11
    
    Apollo 11 was the spaceflight that landed ] the first humans,...
    
  4. Click and hold mouse button for a few seconds on Styles or Format dropdown.

Result: Dropdown becomes disabled.

Problem can be reproduced in IE8-10 from CKEditor 4.0.

#12751 Shortcut key Integration Bug Normal Core : Keystrokes
Description

Hi Team

  1. How to integrate uppercase and lowercase shortcut key to ckeditor.js?
  1. How to customize and integrate user defined function into right click context menu?
#12752 Delete and Backspace Bug Normal Core : Keystrokes
Description

Hi Team

When we click DELETE at end of the first DIV, it merges second div. How can i

avoid it.

Thanks Palani

#12753 CodeSnippet's setHighlighter() can be only executed while initialising plugins Bug Normal CKEditor 4.4.7 General
Description

TC:

  1. Add console.log( editor.name ); at the beginning of setHighlighter() in the codesnippet/plugin.js file.
  2. Load the code snippet sample.
  3. See that 'editor1' and 'editable' were logged correctly.
  4. Execute: CKEDITOR.instances.editor1.plugins.codesnippet.setHighlighter( 1 );
  5. Result:
    • Expected: editor1 should be logged.
    • Actual: editable is logged.

Note: If in step 3 the order for you was different, then in next steps switch the names (editor1 and editable).

The reason why setHighlighter() will always set it for the last editor is that it's bound to the plugin instance and unfortunately plugins instances are shared between editors.

This sounds terribly, but it's not that bad, since all plugins for one editor are always initialised synchronously, so the setHighlighter() method will always work correctly in the init callbacks of a plugin.

Therefore, the easiest solution is adding this information to the documentation. A real solution, unfortunately, will be to move setHighlighter() to CKEDITOR.plugins.codeSnippet and pass editor instance to it. This is of course not backwards compatible change, but we could keep the editor.plugins.codesnippet.setHighlighter() method and mark it as deprecated.

#12755 Provide an API to set editor as busy Marek Lewandowski New Feature Normal General
Description

Overview

During mediaembed plugin implementation I needed a nice way to indicate that external resource is loading.

Presentation

I out with indicating that by changing the mouse cursor to wait icon.

But it's still not enough. We need more than that because we can't rely only on mouse cursor (mobile?).

I think that we might small spinning circle in right bottom corner of toolbar area or maybe in a corner of the viewport.

API Implementation

We must be sure that multiple calls can occur from different plugins, and busy state will be ended only if all of them will unset busy state.

We might implement it in similar fashion as deferring in Bender (https://github.com/benderjs/benderjs/issues/141). So here we should favor returning a callback rather than using a counter internally.

// From now developer is obligated to call releaseBusy().
var releaseBusy = editor.setBusy();

var myAsyncFunction = function() {
	// Do my stuff.
	releaseBusy();
};

var myAsyncError = function() {
	// Oopsy daisy, something bad happened.
	releaseBusy();
};

Bad Usage

Are we concerned about plugin poor implementation? Therefore not calling the function? If so we might restrict by default maximum "lifespan" for one callback eg. to 30s.

#12756 Ctrl+Shift+Down does not scroll the selection into view in IE Bug Normal General
Description

Steps to Reproduce

  1. Open the nightly demo page
  2. Place your cursor in the top of the document
  3. Press Ctrl+Shift+Down repeatedly

Expected Behavior

The selection expands to the end of the current paragraph and if that location is off the screen the editor scrolls to keep it in view

Actual Behavior

The selection expands correctly but the editor does not scroll

Browser and OS

I have reproduced this on Internet Explorer 8-11. It works perfectly on Chrome, Firefox does not change the selection on Ctrl+Shift+Down so it is N/A there.

#12758 [Webkit] Red tests on master after #12747 Olek Nowodziński Bug Normal CKEditor 4.4.7 General
Description

After #12747 there's one failing test in http://tests.ckeditor.dev:1030/tests/plugins/magicline/magicline

The first bad commit is git:5875b0cf. The change looked good, but I assumed that the code was wrong - that only one of scroll positions matter. Unfortunately, thanks to missing comments and that broken test I lost now this confidence. There's a small possibility that both scroll positions should be taken into account.

#12761 pasting Chinese character from Word error! Bug Normal General
Description

When i past Chinese character from word,weird error occurs.In the attachment,there are four files.The reporting.docx is the word(2010) where i copy from.reporting.png is what i copied.The error.png is the error:"It was not possible to clean up the pasted data due to an internal error(Chinese verion:由于内部错误无法清理要粘贴的数据)" .But the result(the result.png) is correct and the the style from word was actually removed!

#12762 pasting Chinese character from Word error! Bug Normal CKEditor 4.5.3 General
Description

When i past Chinese character from word,weird error occurs.In the attachment,there are four files.The reporting.docx is the word(2010) where i copy from.reporting.png is what i copied.The error.png is the error:"It was not possible to clean up the pasted data due to an internal error(Chinese verion:由于内部错误无法清理要粘贴的数据)" .But the result(the result.png) is correct and the the style from word was actually removed!

#12763 Problem with column selection in IE and Chrome Bug Normal General
Description

Could not select columns/cells in IE and Chrome though installed table tools(latest version)

Also observed the same problem in CK Editor demo website.

Is there any way to fix the column/cell selection problem in IE and Chrome?

#12765 Paste from Word is not fired automatically Bug Normal Core : Pasting
Description
  1. Clear browser cache in IE11.
  2. Open the replacebycode sample.
  3. Open in MS Word the attached document, select all (CTRL+A) and copy it (CTRL+C).
  4. Paste the clipboard into the editing area using CTRL+V.
  5. See that the font color has not been cleaned up, although it should be by the pastefromword filter. This is because the pastefromword filter did not run at all.
#12766 Paste with accent from Microsoft SQL Server Management Studio Bug Normal Core : Pasting
Description

Hi!

I tried it on your demo and my installation.

Select a text (french) with accent like "Bonne journée à tous!" from Management Studio and paste it in CKEditor.

Result: The letters with accents does not appear. But it works in this editor???

Thanks.

My installation CKEditor - CKEditor 4.3.3 #revision 7841b02# Microsoft SQL Server Management Studio - 10.50.2772.0 Microsoft Analysis Services Client Tools - 10.50.2772.0 Microsoft Data Access Components #MDAC# - 6.1.7601.17514 Microsoft MSXML - 3.0 4.0 5.0 6.0 Microsoft Internet Explorer - 9.11.9600.17501 Microsoft .NET Framework - 2.0.50727.5485 Operating System - 6.1.7601

#12767 this.win.getFrame() cross domain security exception (lineutils plugin) Bug Normal General
Description

Situation:

Create a custom build with CKbuilder that includes plugin 'lineutils' OR just download a package and include the lineutils plugin via config (there might be other plugins creating this error as well). Lineutils is a plugin required by many other plugins.

domain1.com/index.html initiate CKeditor (I used inline but same problem should happen with normal editor as well I think)

domain2.com Create iframe to load domain1.com/index.html

This will create uncaught security exception:

Uncaught SecurityError: Failed to read the 'frame' property from 'Window': Blocked a frame with origin "domain1" from accessing a frame with origin "domain2". Protocols, domains, and ports must match.

CKEDITOR.tools.extend.getFrameckeditor.js:951 kckeditor.js:980 (anonymous function)ckeditor.js:10 ickeditor.js:12

CKEDITOR.event.CKEDITOR.event.fireckeditor.js:13

CKEDITOR.editor.CKEDITOR.editor.fireckeditor.js:314 (anonymous function)ckeditor.js:10 ickeditor.js:12

CKEDITOR.event.CKEDITOR.event.fireckeditor.js:13

CKEDITOR.editor.CKEDITOR.editor.fireckeditor.js:12

CKEDITOR.event.CKEDITOR.event.fireOnceckeditor.js:13

CKEDITOR.editor.CKEDITOR.editor.fireOnceckeditor.js:241 (anonymous function)ckeditor.js:221 mckeditor.js:221

CKEDITOR.scriptLoader.loadckeditor.js:240 (anonymous function)ckeditor.js:228 (anonymous function)ckeditor.js:226 (anonymous function)ckeditor.js:221 mckeditor.js:221

CKEDITOR.scriptLoader.loadckeditor.js:226

CKEDITOR.resourceManager.loadckeditor.js:227 hckeditor.js:228 (anonymous function)ckeditor.js:239 mckeditor.js:238 (anonymous function)ckeditor.js:445 (anonymous function)ckeditor.js:226 (anonymous function)ckeditor.js:221 mckeditor.js:221 tckeditor.js:221 sckeditor.js:222 (anonymous function)

This is the function inside lineutils plugin that causes the problem:

    function Finder( editor, def ) {
        CKEDITOR.tools.extend( this, {
            editor: editor,
            editable: editor.editable(),
            doc: editor.document,
            win: editor.window
        }, def, true );

        this.frame = this.win.getFrame();
        this.inline = this.editable.isInline();
        this.target = this[ this.inline ? 'editable' : 'doc' ];
    }

This traces back to line 65 in ckeditor.js (minified version)

A solution I now quickly implemented is:

	function Finder( editor, def ) {
		CKEDITOR.tools.extend( this, {
			editor: editor,
			editable: editor.editable(),
			doc: editor.document,
			win: editor.window
		}, def, true );

		var a = false;
		try{
			a = this.win.getFrame();
		}catch(e){/*console.log('getframe error:');console.log(editor);console.log(def);*/}
		
		this.frame = a;
		this.inline = this.editable.isInline();
		this.target = this[ this.inline ? 'editable' : 'doc' ];
	}

I have no idea how viable this solution is, it removed the error however I'm not completely sure how/what/where the 'this.frame' is used.

#12769 CKEDITOR.tools.indexOf should allow to find functions within arrays Bug Normal General
Description

CKEDITOR.tools.indexOf should allow to find functions within arrays

Currently if you'll pass a function to CKEDITOR.tools.indexOf, it will be treated as an evaluator.

It makes finding functions in an array impossible.

Proposal:

IMHO priority is to keep backward compatibility. I think we might fix it by adding a param like bool preventEvaluator.

If it's set to true then value won't be treated as an evaluator.

TC:

'test indexOf': function() {
	var stack = [],
		needle = function( foo ) {
			return 'bar';
		};

	// Push one dummy funciton.
	stack.push( function() {
	} );

	// Push needle.
	stack.push( needle );

	// Note that stack.indexOf( needle ) returns 1.
	assert.areSame( 1, CKEDITOR.tools.indexOf( stack, needle ), 'Return value' );
},

Expected result:
1

Current result:
0

#12770 Unable to instantiate new widget with predefined data using widget's command Bug Normal CKEditor 4.5.0 Beta UI : Widgets
Description

According to the execCommand docs it should be possible to provide data to the execCommand http://docs.ckeditor.com/#!/api/CKEDITOR.editor-method-execCommand

But when using this code none of that data ends up in the newly created widget, or in it's init or data methods

   editor.execCommand( 'simplebox', { startupData: { align: 'right', opened: false } } );
#12771 config.enterMode = CKEDITOR.ENTER_BR causes auto indent failure Bug Normal General
Description

Steps to reproduce:

  1. Use config.enterMode = CKEDITOR.ENTER_BR;
  2. Use Enter at an indent level (in editor subsequent line will appear at indent level as expected) but generated markup will result in non-auto indented output.

e.g. in editor everything LOOKS good:

Non Indented text

Indent Level 1

Auto Indented Level 1

Indent Level 2

Auto Indented Level 2

Auto Indented Level 2 again

Auto Indented Level 2 yet again

Resultant appearance of content however with <BR> produced markup:

Non Indented text

Indent Level 1

Auto Indented Level 1

Indent Level 2

Auto Indented Level 2

Auto Indented Level 2 again

Auto Indented Level 2 yet again

Because Markup will have <br> when enter is pressed and not get indents:

<div style="text-indent: 40px;">Indent Level 1<br>Auto Indented Level 1</div>

<div style="text-indent: 80px;">Indent Level 2<br>Auto Indented Level 2<br>Auto Indented Level 2 again<br>Auto Indented Level 2 yet again</div>

Browser and OS - Any

Screenshot - Illustrated above

Sample data - See above

Test case file - None

So the <br> tags within the indent div cause their following text to lose their indent from the div.

#12773 un-minified version of sample skins available? Task Normal General
Description

I need to author my own skin. The SDK suggests that the 'kama' skin is a good starting point, since it is fully documented.

However, when I download the skin, it is in a minified form.

Is there an un-minified form of the 'kama' skin available?

#12776 formatting (font, color etc.) is not inherited in new block Bug Normal General
Description

Repro:

  • http://ckeditor.com/demo#full
  • remove all content
  • type "line1" in a new paragraph
  • select "line1" and set color of the selection to red
  • move cursor to the end of the line and hit enter
  • type some text
  • the new text on the 2nd paragraph is black
  • expected the new text to be in red, i.e. to inherit font color from the paragraph above where enter key was hit

Suspected code: https://github.com/ckeditor/ckeditor-dev/blob/a2468b6dfaa3fa5af6eda6d5dffcd971037f1798/plugins/enterkey/plugin.js#L367 if ( CKEDITOR.dtd.$removeEmpty[ element.getName() ] ) {

Should it be a negation of the condition above?

#12777 The table-layout CSS property should be reset Bug Normal CKEditor 4.4.7 UI : Skins
Description

Based on https://github.com/ckeditor/ckeditor-dev/pull/151

#12781 Support multiple editors creation in CKEditor bender plugin Piotr Jasiun New Feature Normal CKEditor 4.5.0 Beta General
Description

It should be possible to create multiple editors in the single tests suit. Also init method should not be locked, if bender.editor property is used.

#12782 cut-n-paste image capturing New Feature Normal General
Description

Does CKEditor have the ability to capture a cut-n-pasted image, display it inline with text, and save the image to a DB or file location for redisplay? If so do you have example code on how to do this?

#12784 Issue when copy from MS Word Bug Normal CKEditor 4.6.0 Plugin : Paste from Word
Description

When i copy text from attached doc file, there is custom bullets in text and when i past; it changes bullet type to number and remove styles of bullet.

following properties i have set in config.js config.pasteFromWordPromptCleanup = false; config.pasteFromWordRemoveFontStyles = false; config.pasteFromWordRemoveStyles = true; config.pasteFromWordNumberedHeadingToList = false;

#12786 All Text is Not Fully Black - Is Somewhat Grayish (Gray) Bug Normal General
Description

This is very noticeable with long documents and those that have heading tags.

For a simple example, simply enter this code below on the CKEditor (any of the online ones of yours) and compare it with the results from [http://htmleditor.in/index.html ]

<p>Testing</p>

<h1>Hello. Hi. How are you?</h1>

I have tested this on Firefox Version 34.0.5 only.

#12787 Too many unwanter style Bug Normal Core : Styles
Description

I just realized so many times unwanted style-s in the text. For example line-height in random placer (most after paste even if I using paste as plain text). Or after a simple url copy I got 2 line long style with link color, background, font family, style etc just like Word paste in the past (But I NEVER using paste from word!). This editor turning a monster and I spend more and more time to clear the code in SOURCE mode than ever. In the past (v2) I had never this kind of problem. So please, turn back from this wrong way to the simple way. Win 7, Chrome, ckeditor 4.4.6

#12788 Invalid dropdown positioning when screen is scrolled Artur Delura Bug Normal CKEditor 4.4.7 General
Description

If you have a page with a longer content than your screen height, editors below "one screen height" will have dropdowns mispositioned.

  1. Open any sample with CKEditor. (i.e. samples/replacebyclass.html)
  2. Evaluate following code:
    ( function() {
    	// Increase description block height.
    	document.querySelector('.description').style.height = '3000px';
    	// Scroll down, lemme do it for you.
    	window.scrollTo(0,document.body.scrollHeight);
    }() );
    
  3. Click font size dropdown.

As far as I've tested only Blink browsers seems to be affected by this issue (Chromium, Chrome, Opera). FF and IE8 were fine, don't know how about Safari.

This is a regress introduced in t/12747 git:5875b0cf0bd145156a25d60e4a4ae9afb543916b (not yet published).

#12789 forcePasteAsPlainText strips inline widget html when dropping Bug Normal UI : Widgets
Description

If you have an inline widget with html in the template. When you drag and drop it, the surrounding html is stripped from the widget. I was able to fix this by modifying the widget plugin.js to work like the pastefromword plugin. Here are my modifications.

function finalizeNativeDrop( editor, sourceWidget, range ) {

Save the snapshot with the state before moving widget. Focus widget, so when we'll undo the DnD, widget will be focused. sourceWidget.focus(); editor.fire( 'saveSnapshot' );

Lock snapshot to group all steps of moving widget from the original place to the new one. editor.fire( 'lockSnapshot', { dontUpdate: true } );

range.select();

var widgetHtml = sourceWidget.wrapper.getOuterHtml(); sourceWidget.wrapper.remove(); editor.widgets.destroy(sourceWidget, true); editor.once('beforePaste', function(evt) {

evt.data.type = 'html';

});

editor.execCommand( 'paste', widgetHtml );

editor.fire( 'unlockSnapshot' );

}

#12790 Copy Paste from word document having bulet points is not working properly Bug Normal General
Description

When I copy content from word document having bullet points, content comes with angle brackets. Please see below the editor content after copy paste. "Change Login Password" is coming with <>.

Word document is also attached for your reference. This problem is reproducible only in IE.

e.g. This application has the following modules:

•Login (Authentication through web service)

•< > Change Login Password

•Change Transaction Password

•Transfer Fund

•Transaction Details between dates

#12791 Not able to get ckeditor in customize CKEditor Bug Normal General
Description

Hello

I was not able to get ckeditor in customize CKEditor when i downlaod full ckeditor its working fine but when i customize ckeditor and dowloaded it's not getting ckeditor.Please fix the issue.

Regards Aashish

#12792 [WebKit] Red test on major Bug Normal General
Description

tests/plugins/magicline/magicline - get size

is red on major on Chrome and Safari.

http://tests.ckeditor.dev:1030/tests/plugins/magicline/magicline#tests%2Fplugins%2Fmagicline%2Fmagicline%20-%20get%20size

#12793 [IE8] Red tests on major Piotrek Koszuliński Bug Normal CKEditor 4.5.0 Beta General
Description

2 red tests on major on IE8:

http://tests.ckeditor.dev:1030/tests/plugins/widget/nestedwidgets

pasted widget is focused

http://tests.ckeditor.dev:1030/tests/plugins/widget/widgetsintegration

data.focusInited was passed

#12795 Jot Form Not Uploading Correctly Bug Normal General
Description

Hello,

I am trying to delete a jot form from the back office of my website which uses CKEditor version 3.5.3. The form was uploaded using source code from the jot form website. It then uploaded and bled outside the editable text area on the page and it will not delete from the back office for me to re upload embed code which is needed. What I am asking is how do I delete the form as it is not letting me hit the save button on the bottom of my back office page when I delete all the source code in source mode.

#12796 Indent List plugin unwraps parent li elements Bug Normal CKEditor 4.4.8 Core : Lists
Description

The example setup is here:

http://jsfiddle.net/hruygj01/2/

Highlight both the ordered list and unordered list in either inline editor and hit the button to decrease indentation level. Rather than unwrapping the first list like what happens when the parent of the editor is a div, the parent itself is unwrapped.

#12797 [FF, OSX] After dragging text or images within the editor the arrow keys are focused on the browser and not the editor. Bug Normal General
Description
  • Highlight text and drag it (or drag an image).
  • Press the up, down, left or right arrows.

Observed Result
The arrow keys are focused on the editor window and not the editor contents. Other keyboard keys are still focused on the editor contents.

#12798 ck Editor hangs when try to save a lot of text from MS word either by using paste from word button or by direclty copying. Bug Normal General
Description

How to reproduce 1.copy a lot of text from MS word(3-4 pages min) and paste it in editor.

2.After clicking save button editor hangs.

#12799 Cannot override default editorConfig with in-page config Bug Normal UI : Toolbar
Description

Upgrading from 4.3.3 to 4.6.6 broke my editor configuration because of the new default config options set in config.js. In the new default config file we now have something like:

CKEDITOR.editorConfig = function( config ) {
	config.removeButtons = 'Underline,Subscript,Superscript';
};

As per documentation I would expect to override this with one of the following:

1) Disabling custom config file completely:

CKEDITOR.replace("mytextarea", {customConfig: ''};

2) By providing in-page configuration:

CKEDITOR.replace("mytextarea", {removeButtons: ''};

3) By accessing config object directly:

// either globally:
CKEDITOR.config.removeButtons = "";
// or on editor instance:
editor.config.removeButtons = "";

But none of these works. Not sure if it's a bug or a feature. If it's a feature what is the proper way to deal with default settings? (Other then modifying the default config.js because I don't want to change it every time editor is upgraded).

#12801 Copy& Paste the data from excel sheet is not working(colors,table format..) and from word document is working fine. Bug Normal Plugin : Paste from Word
Description

Hi Team,

We are facing below issue in firefox 31 version.

while doing the copy & paste the table content& colors from excel document, it is not taking into ck-editor. i have lost the all format of excel.

How can we fix this issue.

CKEDITOR version : 3.6.3

Regards, Ravi Para

#12802 Chrome: Pasting text by Ctrl+V to inline instance brake other instance view Bug Normal General
Description

Issue reproduces at http://ckeditor.com/demo#inline page.

Steps to reproduce:

  1. Go to ckeditor demo page, inline editing.
  2. Scroll to the last instance at the bottom of page.
  3. Try to paste any text, using Ctrl+V, to the last instance (at the right bottom of the page). If nothing unexpected happen try to do it several times.

Expected result: Text paste as always.

Actual result: Text pasted correctly, but some white rectangle appears at the page.

Chrome version is 39.0.2171.95 Issue doesn't reproduce with Firefox or IE

#12804 Fck Editor Automatically appends / (slash) to the URL in <a> tag in Internet explorer. Bug Normal General
Description

Hi,

After clicking on save button in fckeditor, it automatically appends / to the URL.

I don't want to append /(slash) to the URL or remove / (slash) from the end of URL in <a> tag in internet explorer. Please help, thanks in advance.

#12805 Manual tests for upload Piotr Jasiun New Feature Normal CKEditor 4.5.0 Beta General
Description

Upload feature (#11461) needs manual tests.

#12806 Integrate new get and delete selected HTML methods with drag&drop and paste Piotr Jasiun New Feature Normal CKEditor 4.5.0 Beta General
Description

Methods inroduced in #11636 should be integrated with clipboard.

#12808 Link is being replaced to lowercase sensitive in speicifc letters Bug Normal General
Description

Hi,

We're using CKeditor (latest version) and there seems to be an issue that very specific letters are being replaced into case sensitive.

This is the link we are using: https://docs.google.com/spreadsheets/d/1IMgepnjvp2IMgWKKKuliGJOlAoKkecC6_LAJt-Umxa9V2BA/edit#gid=0

and the link replaces the letters 1IM to 1im which makes the link irrelevant.

Please advice, Tnx.

#12809 Multiple '.cke_widget_selected' elements Bug Normal General
Description

I am using CKE in a Shared space. It is like Google Docs, an online reporting tool. I can add, through a widget, container boxes (just HTML elements).

If I add a widget-container on page 1 and later on page 2,3, .. and swap between pages I am capable of having multiple elements with the class 'cke_widget_selected'.

Am I wrong or should it be the goal of having only one element with this class? If I swap of a page, I swap of CKE instance which is logic. But what is not logic is that the 'cke_widget_selected' class is not deleted of the previous-active-page.

#12810 Create a type for easy progress notifiaction handling Marek Lewandowski Bug Normal CKEditor 4.5.0 Beta General
Description

Overview

We need to create a convenient way to handle notification will display a progress for related items.

Eg. editor is waiting for 5 JSON responses. It would be nice if we'll display a progress notification like "Waiting for response 0/5".

Then when the first is done, it will be changed to "Waiting for response 1/5", updating the progress bar to 20% and so on.

http://i.imgur.com/14RBHju.png

At the end we ither show a success information, or just hide the notification.

Proposed API (simple case)

API should be very simple.

Aggregator instance would be created as follows (note CKEDITOR.plugins.notificationaggregator is a temp name):

var notification = new CKEDITOR.plugins.notificationaggregator( editor, 'Loading process {current} / {max}' );

var fooRequestDone = notification.createThread();

framework.getJson( '//foobar.dev/baz.json' )
	.done( function() {
		// Success!
	} )
	.always( fooRequestDone );

// (...)

So as we can see createThread() returns a callback that should be called in order to mark a thread as completed.

More complex case

Upload plugin would need more complex solution, as it is preferred to give end user constant feedback of the process progression.

Consider uploading three 200 Mb files.

But problem with files is that they might have different size, and our progress needs to be reliable. We could workaround it by giving bytes count to the API.

var notification = new ComplexAggregator( editor, 'Uploading file {current} / {max}' ),
	thread;

xhr.upload.addEventListener( 'loadstart', function() {
	// Create a new thread once upload was started.
	thread = notification.createThread( e.total );
} );

xhr.upload.addEventListener( 'progress', function() {
	// Update the progress with every progress tick.
	thread.update( e.loaded );
} );

xhr.upload.addEventListener( 'loadend', function() {
	// Make sure that thread was marked as done. The same would do thread.update( e.total );
	thread.done();
} );

So the object would expose 2 properties - update and done.

As a side note:

This case shows that internal aggregator update method should be throttled, becuase considering eg. 10 files upload, there would be a ridiculus ammount of calls to the ui update funciton.

Different title if only one item remaining

Initialy I thought about possibility to displayh a different title if only one element remains.

Eg. "Uploading files... 1/5" 3 files later would print "Uploading 'myCustomImage.png'... 43%" rather than "Uploading files... 4/5".

This functionallity would be totally optional, so if one want to use it he needs only to specify extra parameter to the constructor, like so:

var notification = new ComplexAggregator( editor, 'Uploading file {current} / {max}', 'Uploading \'{name}\'... {percentage}%' );

But at the end I was wondering if the effor is really worth it? Because it will also require us to modify createThread() method (because we'll need to keep track of the name).

Related tickes:

#12811 Formatting and selection issue Bug Normal General
Description

Paste this code "a<br />b<br />c<br />" to editor and select all these lines and set them as Bold. Go back for example to the first line where you want to continue writing in that line but now without bold and click on Bold icon again to disable this formating option. It will remove bold from the whole selection you had selected before.

Steps to reproduce:

  1. Click to source button
  2. Paste this code "a<br />b<br />c<br />"
  3. Click to source button
  4. Select all lines and set them as Bold.
  5. Go to the end of first line.
  6. Click on Bold icon.

It will remove bold from the whole selection you had selected before.

Can be reproduced on your demo page. http://ckeditor.com/demo

#12812 Security error is thrown because lineutils constructor tries to access outer frame Bug Normal CKEditor 4.4.7 General
Description

Based on https://github.com/ckeditor/ckeditor-dev/pull/153

It's easiest to reproduce by loading such file from http://ckeditor.dev:

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>Foo</title>
</head>
<body>
	<iframe src="http://sub.ckeditor.dev/ckeditor-dev/plugins/image2/dev/image2.html" width="1200" height="500"></iframe>
</body>
#12813 Cannot select widget on readonly editor in IE11 Bug Normal Core : Selection
Description

User cannot select widget on Internet Explorer browsers (I've experienced this problem on IE11, but probably all IE versions are affected) if editor is in readonly mode.

Steps to reproduce:

  1. Go to CKEditor Demo page > Widgets
  2. Set main editor (CKEDITOR.instances.editor1) to readonly by setReadOnly(true)
  3. Main editor becomes grayed
  4. Try to select widget by clicking the widget border (not inside header or content - see attached screenshot). Internet Explorer should throw Unspecified error exception on sel.addRange(nativeRange) at the end selectRanges function.

I've investigate this problem. This bug occurs because range object container is an hidden element (display: none) and is not editable (contentedtiable=false). I don't know why IE throws an exception in this case, but it seems that not visible text cannot be selected.

This exception is a result of creating fake selection by widget. The fake() function from selection.js calls hideSelection function in which hiddenEl is created. In IE this element has display=none style (why? - in other browsers it is places out of the page content). If editor is read-only, hiddenEl is appended to the element that has contenteditable=false (so hiddenEl itself is also not editable), in conjunction with display=none it causing the exception during sel.selectRanges() call.

Proposed fix: do not set display=none for <div data-cke-hidden-sel="1" data-cke-temp="1"> element for IE (hide it in different way, maybe visibility property?, reposition by absolute positioning?) OR add contenteditable=true to the DIV. The exception is thrown only for both display=none and contenteditable=false properties set.

Version 4.4.6 is affected, probably olders too.

#12815 ice:inputRichText Disables & Spell Check does not work Bug Normal UI : Spell Checker
Description

Hi,

I am using custom component of ice:inputRichText (icefaces 3.3.0) which uses CKEditor. After configuration for the config.js as config.scayt_autoStartup = true; I am able to use the spell enabled textarea. But problem occurs when multiple textareas are on the screen. I get a javascript error :

Tried to register widget with id==scayt_2 but that id is already registered _base.xd.js?, line 884 character 1 Tried to register widget with id==scayt_3 but that id is already registered _base.xd.js?, line 884 character 1

The spell check working stops thereafter & the textarea is not able to be clicked.

Thanks, Sanchit

#12816 unable to write on text fields Bug Normal UI : Dialogs
Description

I have tried pretty much everything I could find on Google and I always come to a dead end (broken links) or to a solution that does not work. This is a very serious problem and I cannot understand how come this is still not solved!

I cannot edit/write text fields on ckeditor! I am loading ckeditor on a bootstrap modal. I have tried to load an old version of jquery - did not work, I tried to replace the whole ckeditor for an older version - did not work, I have tried to add z-indexes everywhere - did not work!! How can one fix this?

Please see comment:4 and comment:5 I am using bootstrap 2.3, jquery 1.7.1, modernizr and ckeditor 4.3.2

#12817 Update copyright header Olek Nowodziński Task Normal CKEditor 4.4.7 General
Description

Because it is 2015 already header in all files need to be updated ("Copyright (c) 2003-2014" part).

#12818 Previewed image's size is not set correctly in specific cases Bug Normal General
Description

Based on https://github.com/ckeditor/ckeditor-dev/pull/134

#12819 A potentially dangerous Request.Form value was detected from the client Bug Normal General
Description

Hi Team, I am working with ckeditor control, not doubt its fast and awesome tool, but today i have encounter a problem that, while saving values to database it gives and error: "A potentially dangerous Request.Form value was detected from the client" with using Asp.net, i have tried all the solutions that are describer on your support from but it didn't work for me and for security reasons i don't want to set ValidateRequest="False/True" because it used for an obvious purpose and i don't want to do that, i also tried to save HtmlEcodeOutPut to database but problem is still there,i also set property of ckEditor HtmlEncodeOutput=true but it also didn't work for me, so plz let me know what is the other possible solution to solve above error. Thank you

#12820 Empty elements not processed correctly when elements closed in the opening tag. Bug Normal General
Description

If I add in a document the following content (in the source mode):

<mytag id="1"></mytag>
<mytag id="2"></mytag>
<mytag id="3"></mytag>

then everything works correctly when displaying it and going back to the source mode. But when I enter the following content:

<mytag id="1"/>
<mytag id="2"/>
<mytag id="3"/>

then when displaying it and going back to the source mode I get

<mytag id="1"> <mytag id="2"> <mytag id="3"></mytag></mytag></mytag>

These tags are now embedded!

Here is a jsfiddle: http://jsfiddle.net/franckv/243fqtdr/

#12821 Paste from Word changes formatting in the middle of the text Bug Normal Plugin : Paste from Word
Description

Summary: When pasting from Word, with pasteFromWordRemoveFontStyles set to false, a formatting is changed in the middle of the text (in the Word doc no change at this position). This happens only in the Firefox. IE showed this issue as well before, but now seems to be fixed (latest IE11). Chrome has been ok all the time.

Steps to reproduce:

  1. Open CK Editor in Firefox, could be for example nightly http://nightly.ckeditor.com/15-01-15-07-06/full/samples/replacebyclass.html
  2. In Console set pasteFromWordRemoveFontStyles=false using Firebug for example:
CKEDITOR.instances['editor1'].config.pasteFromWordRemoveFontStyles=false
  1. Open the attached Word document, select all, copy
  2. In CK Editor click Paste from Word, paste the whole Word document.
  3. Click in the editor text somewhere around: "equitable education" screenshot1, click somewhere around: "a global society" screenshot2.
  4. The screenshot1 shows "body p span span", the screenshot2 only "body p span" even if there is no format change. This is causing format break when sent by email for example - screenshot 3.

Browser and OS: Firefox 35.0, Windows 8.1 Enterprise 64bit

#12822 Kentico Add To Word functionality Bug Normal General
Description

Kentico used ckeditor in their webparts for editing text. I want to know when a word is write in ckeditor we have to right click on it and press add to link so that word will be add to dictionary. my query is whether those words are stored in kentico database or being a third party ckeditor stored it in cookies??

#12824 Can ckeditor provide any interface to save bulk of words in dictionary at same time in kentico and without kentico ? Bug Normal General
Description

Kentico used ckeditor , my question is is ckeditor provide interface to save bulk of words at same time in kentico rather than one word at one time.

Quick reply will be highly appreciated.

Regards, Muhammad Nabeel

#12825 Fix to ensure any ascendant tables found are within editor Artur Delura Bug Normal CKEditor 4.4.7 General
Description

Based on pull request #137.

The table resize feature operate on elements out of editor which might be error prone.

#12827 Licence Purchased Bug Normal General
Description

We want our custom dictionary as discussed with kentico they use ckEditor as a third party in their product we have mailed to them they told us to contact CKEditor. Actually we want to purchase licence for custom dictionary so we can place our words in our own rather dictionary rather than in cookies. Is it possible that we have a our own distionary licenced by you. So we can use it for our product in Kentico ?

#12828 Last character deleted on change from "Code Mode" to "View Mode" OR on save in "View Mode" Bug Normal General
Description

Hello Sir,

We are using CKEditor 4.4.6 with "DokSoft" bootstrap plugin. Ckeditor keep trimming 's' from last keyword. E.g: If you add below code in Ckeditor "Code Mode" then click "Source" button to go in "View Mode" and click "Source" button again to go to "Code Mode". You will see "testingsssssss" replaced to "testing".

Code: <a><span>testingsssssss</span></a>

Issue can be checked at: http://doksoft.com/soft/ckeditor-bootstrap/demo.html

I tested it and found some issue with "doksoft_bootstrap_advanced_blocks" plugin as if I disable "Advance Bootstrap Show Button" everything work fine.

Please advice what should i do to fix it.

Regards, Mandeep Singh

#12830 Placeholder - cursor misplaced Bug Normal General
Description

Trying out the placeholder plugin.

If on a blank canvas, add a placeholder, the cursor will be blinking on the right side side of the canvas instead of right after the placeholder.

You can try this on the demo of the placeholder: http://sdk.ckeditor.com/samples/placeholder.html

Note: See TracQuery for help on using queries.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy