Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (2501 - 2591 of 2591)

Ticket Summary Status Owner Type Priority Milestone
#16905 Editor enterMode: ENTER_BR doesn't strip leading whitespace immediately confirmed Bug Normal
Description

Steps to reproduce

  1. set editor enterMode to ENTER_BR
  2. in editor, enter text - 'Send to 123 Main St'
  3. place cursor immediately after 'to', before space
  4. hit Enter key
  5. on new line, hit Delete or Arrow Right
  6. notice cursor/action move two spaces to the right

(space is trimmed on this keypress, and the next character is acted upon)

Expected result

leading whitespace should be trimmed on initial Enter keypress (like behavior when performing same action with ENTER_DIV and ENTER_P) Expected, demo'd with ENTER_DIV: https://cloud.githubusercontent.com/assets/1396405/23916617/2a8f990c-08c3-11e7-884f-ccd5f70f17ec.gif

Actual result

leading whitespace is trimmed on Delete, as well as the '1' character. https://cloud.githubusercontent.com/assets/1396405/23916604/2650228a-08c3-11e7-9e91-b776af59f763.gif

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

  • Chrome 56.0.2924.87
  • OSX 10.12.3
  • CKE 4.5.2 and 4.7.1
#16906 isArray function in core tools does not recognize ES6 iterator protocol [object Array Iterator] as an array new Bug Normal
Description

Steps to reproduce

  1. Include lodash and/or ReactJS (ES6) on the page with CKEditor
  2. Refresh the page
  3. CKEditor does not initialize

Expected result

CKEditor to initialize

Actual result

CKEditor does not initialize. Console window shows resource not found error, as the dynamically generated plugins <script> tag is malformed. Ie: <script type="text/javascript" src="https://mydomain/_js/Performance2/ckeditor-full.4.6.2/plugins/dialogui,dialog,about,a11yhelp,dialogadvtab,basicstyles,bidi,blockquote,clipboard,button,panelbutton,panel,floatpanel,colorbutton,colordialog,templates,menu,copyformatting,div,toolbar,enterkey,entities,popup,filebrowser,find,fakeobjects,flash,floatingspace,listblock,richcombo,font,forms,format,horizontalrule,htmlwriter,iframe,wysiwygarea,image,indent,indentblock,indentlist,smiley,justify,menubutton,language,link,list,magicline,maximize,newpage,pagebreak,pastetext,pastefromword,preview,print,removeformat,save,selectall,showblocks,showborders,sourcearea,specialchar,stylescombo,tab,table,undo,wsc/plugin.js?t=v0.01"></script>

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

The reason this occurs is because when using ES6 features (ReactJS/lodash/etc) on your page, the CKEditor core tools isArray function does not know how to check the ES Iteration Protocol, as described here: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols

This is a simple fix by also comparing to [object Array Iterator] in the isArray function in tools.js

#16907 Iframe plugin uses deprecated attributes and allows invalid values in HTML5 confirmed Bug Normal
Description

Steps to reproduce

  1. Open editor with iframe plugin (e.g. http://sdk.ckeditor.com/samples/fullpreset.html ) and clear its content.
  2. Click "Iframe" button.
  3. Set URL to http://wikipedia.org, "Width" to 100%, "Height" to 800px, "Align" to "Middle".
  4. Check "Enable scrollbars" and "Show frame border".
  5. Click OK.
  6. Go into source mode and copy generated code into https://validator.w3.org/nu/#textarea
  7. Validate HTML

Expected result

  • Editor should not allow to set "Width" to "100%" (only digits should be allowed).
  • Editor should not allow to set "Height" to "800px" (only digits should be allowed).
  • No validation errors found.

Actual result

5 validation errors are found:

  • Bad value 800px for attribute height on element iframe: Expected a digit but saw p instead.
  • Bad value 100% for attribute width on element iframe: Expected a digit but saw % instead.
  • The align attribute on the iframe element is obsolete.
  • The frameborder attribute on the iframe element is obsolete.
  • The scrolling attribute on the iframe element is obsolete.
#16908 It's not possible to paste file on Chrome on Mac assigned beata_delura Task Must have (possibly next milestone)
Description

And it could be possible.

What Chrome gives, when I paste a file is DataTransfer (a.k.a. ClipboardData) object with an empty "files" property, but with 2 "items": first with a filename and the second with a file. It means it is possible to get a file from the second "item", on paste.

Unfortunately, when the upload plugin was implemented there was only one item on Chrome and only the first item is handled (see https://github.com/ckeditor/ckeditor-dev/blob/685fc7474fab779afe76edcf36011d2fb6bafab8/plugins/clipboard/plugin.js#L2545). If this line will be replaced with a loop it should be possible to get the file.

Note that on Windows pasted file is not available at all.

Also, note that now you do not need try-catch block there since items have a "kind" property which let you check if it is a file or a string.

#16910 [Drag and Drop] Dropping file with " ' " in its name causes 404 confirmed Bug Normal
Description

Steps to reproduce

  1. Counfigure your CKEditor so that it allows Drag and Drop
  2. Dropp file with ' in its name. You can use the attached one.

Expected result

<p><img alt="" height="630" src="/CKFinder/userfiles/images/can't%20send%20fax.JPG" width="450" /></p>

Actual result

<p><img alt="" height="630" src="/CKFinder/userfiles/images/can\'t%20send%20fax.JPG" width="450" /></p>

The ' in word can't is escaped.

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

Problem can be reproduced in every browser

#16911 Pastetext plugin incorrectly handles images confirmed Bug Normal
Description

Steps to reproduce

  1. Open http://sdk.ckeditor.com/samples/standardpreset.html
  2. Select image and copy it to the clipboard.
  3. Click "Paste as plain text" button and follow instructions

Expected result

Image is replaced with its alternative text.

Actual result

Nothing is pasted.

#16917 Creating list inside widget splits widget and creates nested structures with ENTER_BR mode. confirmed Bug Normal
Description

Steps to reproduce

  1. Go to http://codepen.io/f1ames/pen/QprrBa.
  2. Insert simple box widget (button between Image and Table).
  3. Inside widget type (and then select):
[item1
item2]
  1. Create unordered list from selection.

Expected result

The list is created inside widget.

Actual result

The creation of list creates new widget for every list item nested inside the former widget which creates invalid widget structure. Also when getData is called only first item list is present (due to invalid structure). See attached gif - https://dev.ckeditor.com/attachment/ticket/16917/Mar-23-2017%2010-20-29.gif.

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

Tested on Chrome (56.0.2924.87 (64-bit)) with newest CKEditor (4.6.2).

#16918 French text alignment in flash plugin confirmed Bug Normal
Description

Steps to reproduce

  1. Set ckeditor 4.6.2 with french language
  2. Click in the flash plugin
  3. Alignment of HSpace and VSpace

Actual result

See image

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

ckeditor 4.6.2 in French language + flash plugin

#16922 the size of picture upload manager window is break pending Bug Normal
Description

Steps to reproduce

  1. set the chrome height < 600
  2. open the editor and set fullscreen
  3. open the picture mananger and switch to upload tab

Expected result

the window's width is well

Actual result

the window's width is bread

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

#16923 Jumping in and out of Source mode adds <p>&nbsp;</p> (again) pending Bug Normal
Description

Steps to reproduce

  1. switch to source mode
  2. switch to wysiwyg mode

Expected result

my html, unmodified

Actual result

appended crud to my html

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

#16929 [ENTER_BR]: Enter hides space before text confirmed Bug Normal
Description

Steps to reproduce

  1. Set editor enterMode to ENTER_BR
  2. In editor, enter text - 'Send to 123 Main St'
  3. Place cursor immediately after 'to', before space
  4. hit Enter key
  5. on new line, hit Delete or Arrow Right

Expected result

Space should be visible and key press should either move cursor or delete the space.

Actual result

Notice that first key press does nothing and space before '123' is not visible.

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

Problem can't be reproduced in native contenteditable element.

#16930 [A11Y] - JAWS reading each item in Context Menu as separate list confirmed Bug Normal
Description

Steps to reproduce

  1. Open nightly build and insert a Table
  2. Keep cursor inside Table Cell & open Context meny by pressing Ctrl + Shift + F10 or Application key
  3. with JAWS on Navigate through context menu options using keyboard(UP/Down arrow keys)

Issue: JAWS reading each menu item as separate list ex: JAWS reads Paste 1 of 1, Cell Submenu 1 of 1, Row Submenu 1 of 1, Column Submenu 1 of 1 but for Delete Table & Table Properties it combined them as one list and says 1 of 2, 2 of 2 respectively which is incorrect all of them are part of same menu

#16932 [ENTER_BR]: Enter hides space before text and leaves cursor in first line. confirmed Bug Normal
Description

Steps to reproduce

  1. Set editor enterMode to ENTER_BR
  2. In editor, enter text - 'Send to 123 Main St'
  3. Place cursor immediately after 'to', before space
  4. hit Enter key

Expected result

Space in front of '123' is visible and cursor is blinking before it.

Actual result

There is no space in front of '123' and cursor is still blinking at the end of first line.

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

#16936 pastefromword plugin issue with paragraph formatting new Bug Normal
Description

This issue is not present in CKEditor 4.5.11 (it works as intended)

The attached file has following setting set: style: paragraph = no spacing

Steps to reproduce

  1. Copy the text from the attached document (bulleted list with multiple nested lists)
  2. Paste into CKEditor

Expected result

Preserved bullet structure / spacing.

Actual result

Bullet structure and spacing is malformed.

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

Chrome/Safari/Firefox, OSX, 4.6.1 (It's also not functioning in 4.6.0/2)

plugins:

'format', 'basicstyles', 'floatingspace', 'justify', 'removeformat', 'toolbar', 'sharedspace', 'undo', 'colorbutton', 'horizontalrule', 'list', 'indentblock', 'indentlist', 'table', 'link', 'contextmenu', 'tabletools', 'tableresize', 'enterkey', 'indent', 'tab', 'find', 'menu', 'menubutton', 'clipboard', 'pastefromword', 'pastetext',

#16939 Unable to maintain scroll position after postback pending Bug Normal
Description

I'm using the CKEditor 4.6.2 control in a .Net 4.0 web application. I'm experiencing an issue where the correct scroll position is not maintained after performing a postback on large web form containing multiple CKEditor controls. When a button is clicked, the page performs a postback and the screen appears to return to the correct scroll position but then appears to jump up a few spaces for no apparent reason. This issue only occurs when a postback is triggered towards the bottom of a large web form. It does not occur if a postback is triggered in the top half of large web form or on a small web page. We are experiencing this issue in IE 11.

Steps to reproduce

  1. Create a large web form using .net 4.0.
  2. Add multiple CKEditor controls to the page.
  3. Click a button to trigger a page postback.

Expected result

We expect the correct scroll position to be maintained after performing a postback. The size of the web page should not affect scroll positioning.

Actual result

The page will return to the correct scroll position but will jump up immediately after.

#16940 Clicking on the disabled toolbar button makes them enabled new Bug Normal
Description

Steps to reproduce

  1. Disable the CK Editor toolbar button using button.setState(CKEDITOR.TRISTATE_DISABLED)
  2. Click on the same button using mouse.

Expected result

Nothing should happen and toolbar button should stay disabled.

Actual result

Clicking the toolbar button, enables it.

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

CKEditor version 4.5.3.1 Chrome 52 Windows 7

I have debugged the CKEditor code and CKEditor doesn't check the state of the button before performing the Click action. This issue doesn't occur for combo boxes (Format, Font, Size) as CKEditor checks for its state before performing the action.

#16941 Deleting Paragraph before the description list, changes first list element to instead of moving cursor into list confirmed Bug Normal
Description

Steps to reproduce

  1. Allow dl/dd/dt elements to content filtering
  2. Set editors source content:

<p>Para</p><ol><li>li A</li><li>li B</li></ol><p>Para</p><dl><dt>dt A</dt><dd>dd A</dd><dt>dt B</dt><dd>dd B</dd></dl>

  1. Put cursor at the beginning of first "Para"
  2. Press delete until text is deleted plus once more to delete paragraph
  3. Repeat 3 and 4 to next paragraph and compare results

Expected result

Cursor is blinking ath the start of first list element

Actual result

First list element gets changed into paragraph

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

This works fine in Firefox. Chrome has been broken since CKEditor 4.4.1 and hasn't worked in IE at all.

You will get the same result in native contenteditable element in Webkit and IE with below code:

<div style="border:1px solid black; width:500px;" contenteditable="true">
<p>Para</p><ol><li>li A</li><li>li B</li></ol><p>Para</p><dl><dt>dt A</dt><dd>dd A</dd><dt>dt B</dt><dd>dd B</dd></dl>
</div>

The reason I have reported this bug is because it has been working in Chrome till version 4.4.0 so maybe there is something we can do to improve default behaviour.

#16942 Cursor gets stuck in inline widget new Bug Normal
Description

Steps to reproduce

  1. Go to http://sdk.ckeditor.com/samples/placeholder.html
  2. Start a new paragraph by placing the cursor after "hours." and pressing enter
  3. Click the insert placeholder button in toolbar, type "test", click ok to instert
  4. Place the cursor below the placeholder, so it's somewhere in the middle under the placeholder on the next line (after "Sh" for example)
  5. Press up key on keyboard

Expected result

Cursor is either in front of the placeholder widget or skips it and jumps to the line above.

Actual result

  • Cursor is stuck. Inside the placeholder I think, because the bottom bar displays: "body p placeholder"
  • You can't move the cursor using the arrow keys, nor can you type in any text
  • You have to use the mouse and click somewhere to be able to continue editing

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

  • OSX 10.11
  • Chrome 57.0.2987.110 (64-bit)
  • Safari 10.1 (11603.1.30.0.34)
#16946 Underline and Strikethrough should work in placeholder confirmed New Feature Normal
Description

Steps to reproduce

  1. Go to "placeholder" sample page
    http://sdk.ckeditor.com/samples/placeholder.html
    
  2. paste the following source code:
    Dear&nbsp;[[Customer Name]],
    
  3. Select the whole text and apply "Underline" or "Strikethrough"

Expected result

The whole text should be underlined.

Actual result

Only the text that is not in placeholder gets underlined.

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

Windows 7 Browser: Firefox 52.0.2 CKEditor: 4.6.2

#16947 Destroy CKEditor on Focus transfer - Error in Chrome new Bug Normal
Description

Steps to reproduce

  1. Create CKEditor "editor" to replace a text area with name="editor" and 2. Add additionaly a simple Input Field "input1" <input type="text" name="input1" id="input1">
  2. register a focus listener to the input1 field. onfocus deaktivate the ckeditor with onfocus="CKEDITOR.instanceseditor?.destroy()";
  3. Klick into the ckeditor to get the focus
  4. Then klick into the 'input1' text field

Expected result

The ckeditor will be deaktivated.

Actually on our real page we want on focus lost to disable the ckeditor and display the value in a separate div. Probably we could atchive this also with an inline editor, but neverthels, there is a problem with the current solution. It occures only in Chrome, but not in Firefox, Edge or IE.

Actual result

JavaScript Error in Chrome: ckeditor.js:238 Uncaught TypeError: Cannot read property 'isInline' of null

at CKEDITOR.focusManager.d (ckeditor.js:238) at CKEDITOR.focusManager.<anonymous> (ckeditor.js:238) at ckeditor.js:28

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

The error occures wi the newes CKEditor Version 4.6.2 currently in the newes Chrome Version (57.0.2987.98 (64-bit)) under Windows 10:

The problem is due to a check for chrome and isInline in the following line 238 of our ckeditor.js:

this.hasFocus&&(this.hasFocus=!1,CKEDITOR.env.chrome&&a.editable().isInline()&&a.window.$.getSelection().removeAllRanges()

#16948 Adding a list removes preceding empty line with enterMode = CKEDITOR.ENTER_BR new Bug Normal
Description

Problem

When using the CKEDITOR.ENTER_BR enterMode, adding a (numbered or bulleted) list after an empty line removes this preceding line.

Steps to reproduce

Step 1: Go to http://sdk.ckeditor.com/samples/enterkey.html

Step 2: Choose When Enter is pressed: Break the line with a <br> (Screenshot 1)

Step 3: Add the following text:

Line before empty line

First item

(Screenshot 2)

Step 4: Move the cursor to the line containing First item and press:

(Screenshot 3)

(Screenshot 4)

Expected behavior: A list is created with First item as its first item, leaving the preceding line intact. Actual behavior: The list is created, but the preceding line is removed (*).

(*) Note that in the example there is a margin between the first line and the list, so that the removal of the line is not necessarily noticable (especially in the example):

(Screenshot 5)

Solutions

The behavior of adding a list (same holds for indentation using the indentblock plug-in) should be changed so that it does not remove a preceding empty line.

It might be desirable to make this behavioral change configurable in order to maintain backward-compatibility.

#16949 dataIndentationChars disregarded if empty string new Bug Normal
Description

Steps to reproduce

  1. Set
    CKEDITOR.config.dataIndentationChars = '';
    
  2. Insert a table in editor, this will create several nested tags that will demonstrate the problem.
  3. Check HTML source, see that indentation is still present.

Expected result

I'm leaning on the documentation for this configuration variable (http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-dataIndentationChars):

// No indentation.
CKEDITOR.config.dataIndentationChars = '';

Actual result

Indentation is still present.

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

Firefox, Linux, latest master branch from repository.

#16950 Insertion of unwanted &nbsp; when you backspace and insert new text new Bug Normal
Description

When deleting text and inserting a space (I think it needs to be multiline so that there are p tags), if you switch to the source view you will see an &nbsp; inserted for a single space between words that should not be there.

Steps to reproduce

To reproduce:

  1. Use the sample on http://sdk.ckeditor.com/samples/uicolor.html
  2. Put the cursor on the at the end of the was in the 2nd line
  3. Press backspace twice to delete the as in was
  4. Press the spacebar and then any letter (or word whatever)
  5. Switch to the source view and observe that an &nbsp; was inserted after the character (word) you inserted.

My uneducated guess is that this might happen because when you add that space there are 2 spaces next to each other, so the latter space gets turned into an &nbsp; (which would be correct if you stopped there), but then when you press the next letter separating the 2 spaces, the &nbsp; is persisted rather than changing back to a space

Expected result

A space should be inserted

Actual result

A &nbsp; is inserted

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

CKEditor 4.6.2 (Standard) (revision 580bcaf)

Chrome: 57.0.2987.133

macOS: Sierra 10.12.4

#16952 JS error when using div plugin next to a text node new Bug Normal
Description

Steps to reproduce

  1. use an instance with the source and div buttons, like the one in http://sdk.ckeditor.com/samples/fullpreset.html
  2. click on Source and replace the full content with a simple div, like <div>myText</div>
  3. place the cursor at the end of myText (or in between)
  4. click on the div button in toolbar
  5. click on the OK button in the dialog

Expected result

  1. the dialog closes
  2. in the editor, a div is created

Actual result

  1. the dialog doesn't close
  2. there is a javascript error: currentNode.getParent(...) is null (div.js:147)
  3. in the editor, there is a new <span style="display:none">&nbsp;</span> where the cursor was

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

As far as I understand the div plugin, there is a curious behavior with text nodes: the addon tries to find a common ancestor, and mixes up regular tags with a #text which doesn't have any ancestor, causing the null exception.

#16953 On adding links it fails first time and duplicates text 2nd time pending Bug Normal
Description

Steps to reproduce

Secenario : I am using ckeditor in inline mode in a angular project. The ckeditor is added using the angular-ckeditor directive (https://github.com/lemonde/angular-ckeditor) HTML:

<div class="section-editor" ckeditor="options" ng-model="section.content" contenteditable="true" ready="ckeditorOnReady($instance)" ></div>
  1. I select a text (Example towards) and do add link. The popup opens I add my url. On doing OK, Sometimes on first click it does not work and produces an error in console (error attached). On again doing OK it works, but in the ckeditor I see 2 times my text (towards). Once with the right url and once just plain text.

Expected result

The link should be added in first attempt without any error

Actual result

Sometimes the link doesnt get inserted in the first attempt and there is an error in console.

Uncaught TypeError: Cannot read property 'getParent' of undefined
at a (ckeditor.js:formatted:9746)
at CKEDITOR.style.b [as applyToRange] (ckeditor.js:formatted:9776)
at CKEDITOR.style.applyToRange (ckeditor.js:formatted:10258)
at CKEDITOR.dialog.onOk (link.js?t=G87E:formatted:626)
at CKEDITOR.dialog.def.onOk (plugin.js?t=G87E:1467)
at CKEDITOR.dialog.def.onOk (plugin.js?t=G87E:1467)
at CKEDITOR.dialog.def.onOk (plugin.js?t=G87E:1467)
at CKEDITOR.dialog.def.onOk (plugin.js?t=G87E:1467)
at CKEDITOR.dialog.<anonymous> (ckeditor.js:formatted:12035)
at CKEDITOR.dialog.m (ckeditor.js:formatted:136)

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

It can be reproduced in all the browsers and any OS. We are using Ckeditor verson : 4.5.11 (we tried updating the ckeditor version to 4.6.2 but it didnt fix the error) ==

#16956 [blink] Focus placement issue with inline widget new Bug Normal
Description

Steps to reproduce

  1. place an inline widget at the end of a line
  2. try to focus the cursor to the right of that line

Expected result

cursor should be placed after the widget

Actual result

in chrome the cursor is right aligned in the editor

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

Chrome, ckeditor 4.6.2, widget plugin installed.

#16963 [Chrome] Cursor jumps to the beginning of previous line when press backspace right after shift+ enter new Bug Normal
Description

Steps to reproduce

Can be reproduce in the demo in CKEditor homepage

  1. Ctrl+A and delete all content
  2. Type "abcd"
  3. Press Shift+Enter
  4. Type "abc"
  5. Press Enter
  6. Press backspace

Expected result

Cursor goes back to the end of "abc"

Actual result

Cursor jumps to the beginning of "abc"

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

#16964 [Firefox] Double line is shown after pressing Shift+Enter new Bug Normal
Description

Steps to reproduce

Can be reproduced in the CKEditor demo

  1. Write anything in <p>
  2. Enter
  3. Backspace
  4. Shift+Enter

Expected result

Expect one line to be shown

The HTML element should be

<p>

abcdefghijkl

<br></br>

<br></br>

</p>

Actual result

Two blank spaces is shown

If you inspect the element, you will see:

<p>

abcdefghijkl

<br type="_moz"></br>

<br></br>

#<br type="_moz"></br>

</p>

# /*the selection range is here*/

If you press backspace after step 4, one line will be removed. But when you begin typing again, your cursor will jump back to the first line.

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

Only Firefox. (Chrome/Safari are ok) Tested in OS X Elcapitan (10.11.6)

Can be reproduced in the CKEditor demo in CKEditor.com

#16965 MathJax plugin: add support for MathJax.Hub.Config configuration options new New Feature Normal
Description

Steps to reproduce

The MathJax plugin currently supports two configuration options: config.mathJaxClass and config.mathJaxLib. The options provided by MathJax.Hub.Config are not currently supported. Among others, one can here define macros. Without this option they may be visible in the rest of a web site (if configured elsewhere), but not in CKEditor and its MathJax editor window.

Expected result

One can configure MathJax within the CKEditor in the same way as in the rest of the web site

Actual result

MathJax within the CKEditor is not configurable

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

The MathJax.Hub.Config is set at line 309 of https://github.com/ckeditor/ckeditor-dev/blob/master/plugins/mathjax/plugin.js without possibility to change it outside the source code by means of a configuration option: MathJax configuration, disable messages. 'MathJax.Hub.Config( {' +

'showMathMenu: false,' + 'messageStyle: "none"' +

'} );'

#16966 Chameleon not working with kama skin confirmed Bug Normal
Description

Steps to reproduce

  1. Open https://jsfiddle.net/ssjjtrcd/
  2. Look at the editor's UI.

Expected result

UI should be red.

Actual result

UI has default color.

#16969 [UploadImage] Transparency is lost if PNG is copied directly from webpage new Bug Normal
Description

Steps to reproduce

  1. Use Firefox and go to https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png
  2. Right-click the image and select Copy Image.
  3. Paste it in CKEditor with Upload Image plugin enabled and configured.

Expected result

PNG image should be displayed with transparent background.

Actual result

PNG image is displayed with black background. If however I save the image from webpage and copy it within Windows Explorer, it is pasted correctly in CKEditor.

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

Firefox 32bit v52.0.2, Windows 7 SP1 64bit, CKEditor 4.6.2 Full Package with Iframe Dialog Field and Upload Image plugins

I have attached 2 files. Alpha_yes.png is the image saved from Firefox (it has an alpha value) and alpha_no.png is the image that is copied directly from webpage (no alpha value).

#16970 Safari 10.1 freezes on nested tables with surrounding comments confirmed Bug Normal
Description

Steps to reproduce

  1. CKeditor in standard preset
  2. open source mode
  3. paste attached html
  4. leave source mode
  5. Set cursor some where in the content
  6. Safari stops working

Expected result

Except to able to edit the content of the table

Actual result

Safari hangs.

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

Safari 10.1 (12603.1.30.0.34) MacOS Sierra 10.12.4 ckeditor 4.6.2

#16973 Uncaught TypeError: Cannot read property '$' of undefined new Bug Normal
Description

Steps to reproduce

  1. Load CKEditor via Requirejs (success)
  2. Replace TextArea by ID (success)
  3. Type around, add text, etc. (success)
  4. Add heading 1 via the format toolbar, then click "Source". Console throws error "Uncaught TypeError: Cannot read property '$' of undefined".

JQuery IS defined and loaded (via requirejs and used throughout the site and well before CKEditor is loaded).

Drilldown on the error is on this compacted line: ...this.hasFocus&&(this.hasFocus=!1,CKEDITOR.env.chrome&&a.editable().isInline()&&a.window.$.getSelection().removeAllRanges(),...

The error is on a.window.$ which apparently a.window is undefined.

Have tried various things to no-avail:

  1. Added to require.config the dependency of jquery to CKEditor (though jquery is loaded already anyway).
  2. Added jquery as a dependency to the call to require for CKEditor (e.g. require(['jquery', 'ckeditor/ckeditor'], function(){window.console.log('loaded...');}); Didn't change the error.

Not sure what else to do.

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

Windows 7 (latest version of Chrome). Running on website that is localhost with PHP, Backbone, jQuery, and underscore all loaded. Full install of CKEditor.

#16974 Pasting into editor while dialog is opening confirmed Bug Normal
Description

Steps to reproduce

  1. Copy some link.
  2. Open http://sdk.ckeditor.com/samples/classic.html
  3. Click inside the editor.
  4. Press Ctrl + L.
  5. Immediately after the previous step, press and hold Ctrl + V for a while

Expected result

Link is pasted several times into the focused field of newly opened dialog

Actual result

Link is pasted several times inside the editor. It's even possible to type into the editor while dialog is open.

Note also that this scenario is possible only when the dialog is opened for the first time. On the subsequent dialog openings the link is pasted once/twice into the editor before the focus is moved into the appropriate field inside the dialog.

#16976 Preserve whitespace around protectedSource entries new Bug Normal
Description

Steps to reproduce

  1. (optional) Install e.g. “Show Protected” to see protectedSource elements.
  2. Set up your CKEditor with e.g. a PHP protectedSource: [/<\?[\s\S]*?\?>/g]
  3. Open CKEditor and enter source editing mode
  4. Input “<p><?php print_something(); ?> was printed</p>”
  5. Exit source editing mode

Expected result

There should be a whitespace between protectedSource block and “was printed”

Actual result

There is no whitespace after the protectedSource block. Re-entering source editing shows that input has changed to “<p><?php print_something(); ?>was printed</p>”.

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

Tested in Chrome 57 and Firefox 52. Using lots of plugins, but this appears to be plugin independent.

#16977 Font plugin should also transform `font` element with style attributes. confirmed Task Normal
Description

Font plugin now recognizes styling attributes (size, align, face) on font element and transforms it into span, but if the element has the style attribute resulting in the same styling (font-size, text-align, font-family) it is not properly recognized and transformed. It is removed instead.

The plugin should be also able to recognize such styling and transform font into span with a proper style attribute.

#16978 uploadfile creates files with hardcoded target="_blank" confirmed New Feature Normal
Description

Steps to reproduce

Upload a file using the uploadfile plugin, drag & drop from your favourite file manager.

Expected result

A link, with no target specified.

Actual result

A link, always with target="_blank" specified.

Feature request

Add a configuration option for uploadfile target specification.

Alternately (or; even better:) add / document a way to make default target depend on file / mime type.

#16981 When use BundleTable.EnableOptimizations = true in C#, the CKEditror can not work. pending Bug Normal
Description

Steps to reproduce

  1. bundles.Add(new ScriptBundle("~/bundles/ckeditor/ckeditor").Include("~/ckeditor/ckeditor.js"));
  2. BundleTable.EnableOptimizations = true;

Expected result

Actual result

SyntaxError: expected expression, got keyword 'else'. ckeditor:1:172788

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

CKEditor info: timestamp:"G87E",version:"4.5.11",revision:"3876e73" later than this version has the same issue

#16983 Maximize does not work s expected when classic and inline editors are mixed on the same page confirmed Bug Normal
Description

Originally reported on Disqus, did not try to reproduce it. http://ckeditor.com/addon/maximize#comment-3256559859

I was having everything in my page turned contenteditable when using maximize. Finaly I solved the issue. If you have a classic ckeditor and one or more inline editors in the same page, the maximize "refreshCursor" function only checks that the editor being maximized is not an inline one, but it does not check on the rest of CKEDITOR.instances, which are also refreshed..

The function's loop should be modified to:

for ( var i in all ) {
var one = all[ i ]; 
if ( !one.editable().isInline() && one.mode == 'wysiwyg' && !one.readOnly ) {
.........
}
}
]}}
#16984 Table Properties show invalid value for Headers when header is not the first row in the table confirmed Bug Normal
Description

Steps to reproduce

  1. Insert below code into CKEditor
    <table border="1" cellpadding="1" cellspacing="1" dir="ltr" style="width:500px">
    	<thead>
    		<tr>
    			<td>
    			<p>00000</p>
    			<p>11111</p>
    			</td>
    			<td>
    			<p>22222</p>
    			<p>333333</p>
    			</td>
    			<td>
    			<p>444444</p>
    			<p>555555</p>
    			</td>
    		</tr>
    		<tr>
    			<th scope="col">
    			<p>00000</p>
    			<p>11111</p>
    			</th>
    			<th scope="col">
    			<p>22222</p>
    			<p>333333</p>
    			</th>
    			<th scope="col">
    			<p>444444</p>
    			<p>555555</p>
    			</th>
    		</tr>
    	</thead>
    	<tbody>
    		<tr>
    			<td>
    			<p>bbbbbbbb</p>
    			<p>ccccccccc</p>
    			</td>
    			<td>
    			<p>ddddddddd</p>
    			<p>eeeeeee</p>
    			</td>
    			<td>
    			<p>ffffffffffff</p>
    			<p>gggggggggg</p>
    			</td>
    		</tr>
    	</tbody>
    </table>
    <p dir="ltr">&nbsp;</p>
    
  2. Right click table.
  3. Select Table Properties.

Expected result

Headers option shows "None".

Actual result

Headers option shows "First".

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

Problem can be reproduced in every browser starting from CKEditor 3.0.

#16985 Bugs with colors new Bug Normal
Description

Steps to reproduce

Hello. I found a bug. If i write the text with color (without any parameters like bold, italic and underline) and save that, is shows fine, and i in second try i add formatting, is still works fine. But if i do all formatting at one time and save that, the colors will ignoring.

  1. Add in editor word 'Red' and give it the following properties: red color and bold font.
  2. Save

Expected result

Red text with bold and italic on page and in editor

Actual result

Text with bold and italic, but with black color. By the way, in editor all whows fine

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

Last version of CKEditor. I used Django (1.11 and 1.10). There's a url on Django's adaptaion: https://github.com/django-ckeditor

By the way, if i give a red color to my text, but dont give a bold font, all works fine. And if i after first save open the text and give a text other formatting, all is OK. But if i do all at one time, i take that bug.

P.S. Sorry for my English. I hope you understand me.

#16986 When I use meta name="description", ckeditor not work pending Bug Normal
Description

Steps to reproduce

  1. in form, I used a name="description" for the textarea
  2. and add meta tag name="description"
  3. ckeditor not works

Expected result

CKEditor Works

Actual result

Textarea display instead of CKEditor

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

I used fuelPHP framework for CKEditor

<?php

echo ckeditor('description', Input::post('description', isset($user) ? $user->description : ), array('class' => 'form-control', 'height' => '140px')); ?>

#16987 Improved Support for Secure Content confirmed New Feature Normal
Description

Thank you for all of your hard work. I am the current volunteer developer of a hybrid content management system, email list server, and free website provider called FreeToastHost that is made for and used by over 11,000 non-profit Toastmasters public speaking clubs worldwide. The system creates websites from a custom template that we merge each club's custom content into. The system depends extensively on CKEditor for content editing and I always make sure that I give credit for the editor where credit is due. (e.g., not my creation)

Because all the recent updates to our system are the result of me contributing a lot of my spare time, some things have lagged behind other systems a bit. Case In Point: Implementation of full HTTPS support. We are making headway on that, but we are bumping up against mixed content issues for the content that our users create via CKEditor.

While I certainly do post-processing where I can to address insecure URLs entered for photos, iframes, etc., it has occurred to me that it would be very helpful if CKEditor could also help with this. This is becoming more and more important and browsers are now starting to flag insecure pages and content more aggressively.

What I am thinking is maybe some additional settings to prevent explicit http:// URLs from being specified in the relevant dialogs. It would be good if there were individual settings for photos, iframe, links, etc. E.g. something like PreventInsecurePhotos, PreventInsecureIframes, PreventInsecureLinks, etc.

Additionally, it would be helpful if the Advanced Content Filtering could be used to filter out insecure content. This would address insecure content that already exists.

If I am missing some way that already exists to do this, then I certainly am sorry for imposing on your time, and I thank you for your consideration.

#16988 Highlighted text is unselected when using Cntrl+Click as Right Click (on Macbooks) new Bug Normal
Description

Steps to reproduce

  1. Use a Macbook (I cannot reproduce this on an OS X desktop but it happens on every laptop I've tried)
  2. Select text
  3. Control + Click

Expected result

The right click context menu should appear - on the demo editor, the available options are Cut/Copy/Paste. Selecting one of those options should execute the selected command on the selected text.

Cut should cut the selected text. Copy should copy the selected text. Paste should paste whatever is on the clipboard in place of the selected text.

Actual result

The selected text becomes unselected when the context menu is opened. This prevents any of the commands in the context menu from functioning properly.

This problem is most obvious with Cut - nothing happens. Without selected text available, there is nothing to cut.

Copy doesn't work either, in much the same manner, but you have to use Paste to confirm your text was not copied (so Cut is easier to test with).

Paste is half-functional - instead of pasting over the selected text, it pastes wherever your cursor was when you clicked to open the context menu, and selected the paste command.

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

This only seems to happen on Macbooks. My main testing machine is a 13" early 2015 model, but I also have a user who reported the issue on a slightly older Macbook.

I've tested and reproduced this on both CKEditor's demo and nightly editors with my machine.

This can be reproduced in Chrome and Safari, but not Firefox (Firefox actually functions as expected!).

#16990 Inconsistent Paste From Word Behavior confirmed Bug Normal
Description

Steps to reproduce

  1. Open Microsoft word and type the following: "[tab]Test" ([tab] is an actual tab, not the phrase "[tab]").
  2. Select All and Copy the contents from MS Word.
  3. When pasting into the CKEditor you get different results when pasting normally (Ctrl-V) compared to when using the Paste from Word dialog.

Expected result

Both methods of pasting the contents should yield the same result. I would also expect a marked up tab to trigger the adding of the text-indent CSS property to the paragraph.

Actual result

When pasting normally, I get:

<p>&nbsp;&nbsp;&nbsp; Test</p>

in Linux and

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Test</p>

in Windows.

When pasting using the Paste from Word dialog, I get:

<p>Test</p>

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

Linux: Firefox ESR 45.8.0, CentOS 6.8, CKE 4.6.2, Paste from Word

Windows: Firefox 53.0, Windows 10, CKE 4.6.2, Paste from Word

The inconsistency was duplicated here: http://ckeditor.com/features

#16991 readyState of iFrame is "interactive" in FireFox 53.0 while "complete" in Chrome 58.0 new Bug Normal
Description

In our automatic tests we have a part which waits untill all iFrame on the page have readystate "complete". When we introduced the new FireFox, all tests with the CKEditor on them halted because they were interactive. I could reproduce this on your nightly build.

For now we will be building in a work around in our automatic tests.

Steps to reproduce

  1. With Firefox 53.0
  2. Go to your nightly build
  3. Query document.getElementsByTagName("iframe")[0].contentWindow.document.readyState

Expected result

complete

Actual result

interactive

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

FF 53.0 windows 8.1

#16994 Support for Clipboard API in Edge assigned Tomasz Jakut Task Must have (possibly next milestone)
Description

New Edge 15 implemented Clipboard API, so it will be nice to switch from our pastebin to real API in this browser.

Note however that users report some errors (see comments in the linked thread).

#16995 Source mode messes iframe[src] attribute confirmed Bug Normal
Description

Steps to reproduce

  1. Open sample.
  2. Copy content of the textarea under the editor.
  3. Switch editor into the source mode.
  4. Paste copied code into the editor.
  5. Switch back to WYSIWYG mode.

Expected result

Empty iframe is visible inside the editor.

Actual result

Iframe with "If it's shown, the test is failed" text inside.

#16996 Scroll jumps in Chrome when closing dialog and inline editor new Bug Normal
Description

Steps to reproduce

  1. Go to http://sdk.ckeditor.com/samples/inline.html
  2. Go to one of the inline editors, then scroll until the top of the editor is hidden
  3. Open an image dialog and click to "Cancel"
  4. The scroll jumps when it gets the focus back

Expected result

Using Firefox on the same computers doesn't make the scroll jump.

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

Chrome 58.0.3029.81 (64-bit) OS X Sierra 10.12.4 CKeditor 4.6.2

#16998 CKEditor Style for <img> not working because it is an "image" widget new Bug Normal
Description

Steps to reproduce

Problem in Drupal 8:

I can not assign a class to the img element using the new "Styles Dropdown" for the relevant CKEditor profile. I can do so with block or inline elements, such as h1 or span elements.

Steps to replicate

  1. Navigate to "Configure" the "Full HTML" text format profile at admin/config/content/formats/manage/full_html
  2. Under "Toolbar Navigation" drag the "Style" dropdown menu into the active toolbar
  3. This will add a new vertical navbar to the profile page, "Styles Dropdown"
  4. Create a rule for an image element, i.e., img.testStyle|Test Style and save the configuration update
  5. Create a new "Base page" node and add an image to the body field
  6. Select the image either by directly clicking it or by using the CKEditor element selector in the ckeditor pane footer (the span#cke_1_bottom region) The styles button remains inactive

Note: If I change "img.testStyle|Test Style" to "image.testStyle|Test Style" I can apply the style through the styles dropdown, but CKEditor will wrap the img element in an image element, which itself will be "corrected" to two img tags.

Expected result

Should be able to assign custom classes to images.

Actual result

Styles button remains inactive. Or, if it does stay active, on draft code view of content the "image" class will change once saved in Drupal to "img".

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

Drupal CKEditor version 8.3.1 - also 8.4 dev and Drupal 8.1.1 - See drupal issue: https://www.drupal.org/node/2642808

#16999 Document & Text color choices override each-other new Bug Normal
Description

Steps to reproduce

When changing the background color, cancelling, and changing the text color instead in document properties it changes the value for both fields.

  1. Click Document Properties -> Design -> Chose Background Color
  2. In the Background Color editor, select a color and then hit Cancel
  3. Click on Chose for Text Color and make a selection
  4. Click Ok to close out of the Document Properties dialog

Expected result

Document text color is changed

Actual result

Document background color AND text color are changed

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

#17002 [IE9-11] Advanced Color Dialog won't close on IE11 with Caret Browsing (F7) enabled confirmed Bug Normal
Description

Steps to reproduce

  1. Open an instance of ckEditor on IE11 with enabled Keyboard Navigation (Shortcut F7 or via Menu: File > Keyboard navigation)
  2. Open a Color Select Dialog > More colors dialog
  3. Try to close the dialog window

Expected result

The window should close.

Actual result

The window stays open and an error is logged to the console: The property "removeClass" of an undefined object can not be accessed. colordialog.js, Row: 11, Column: 485

#17005 Liststyle adds Bulleted List Properties to context menu for an editor with no content new Bug Normal
Description

Steps to reproduce

  1. Wrap CKEditor in ul tag like this <ul><li><div contenteditable="true" /></li></ul>
  2. Add Liststyle plugin to the editor
  3. Open the the page with CKEditor , observe context menu

Expected result

No Bulleted List Properties in the menu

Actual result

Bulleted List Properties is in the menu

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

This is a coding error. Liststyle adds Bulleted List Properties to the context menu when the current element has ul or ol ancestors. With current code, the search goes outside of CK editor and finds ul or ol. The search should stop once it reaches the editor element.

#17006 Key event listener produce different key codes in Chrome and Firefox new Bug Normal
Description

Steps to reproduce

  1. Visit http://ckeditor.com/features in firefox and chrome
  2. Enter the following into console:
    CKEDITOR.instances.ckdemo.on('key', function(event){
      console.log("key-event-data: ", event.data);
    });
    
  3. Focus into CKEditor and press CTRL
  4. Console output:
    in Firefox - keyCode: 17
    in Chrome - keyCode: 1114129

Expected result

In Firefox the keyCode result should be 1114129 (like CKEDITOR.CTRL)

Actual result

In Firefox the keyCode result is 17

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

CKEditor:

Actual demo version on homepage http://ckeditor.com/features (4.6.2)

Browser:

Firefox: 53.0 (64bit)
Chrome: 58.0.3029.96 (64-bit)

OS:

Ubuntu 16.10

#17007 Firefox drag handles in div editing area new Bug Normal
Description

Steps to reproduce

Using Firefox with the divarea plugin present

  1. Insert a table, image or other element which will show Firefox's drag handles when selected
  2. Select the element
  3. Scroll the editor

Expected result

The drag handles on the corners of the element scroll with the window, attached to the element

Actual result

The drag handles remain where they are and do not scroll with the content

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

Tested with Firefox 53.0 (64-bit) on macOS 10.12.4 and CKEditor 4.6.2 (latest versions at time of report)

Demo: https://cl.ly/100R2a2j0d0S

#17008 Empty tag is removed when it's the only element in the content new Bug Normal
Description

Steps to reproduce

  1. Insert <div id="foo">&nbsp;</div> in the Source view
  2. Switch out of source view and back in
  3. <div> is removed

Expected result

Div should remain. If you add <p>&nbsp;</p> before or after the div remains.

Actual result

Div is removed.

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

Chrome 58.0.3029.81, Win 10, CKEditor 4.6.2

Config has:

config.protectedSource.push(/<i[^>]*><\/i>/g);

This prevents <i> from being removed, but:

config.protectedSource.push(/<div[^>]*><\/div>/g);

In the scenario above makes no difference to <div> being removed.

Added text to the div i.e. <div id="foo">Test</div> stops it from being removed.

#17009 insertText splits spans with id attribute in to two review Mateusz Samsel Bug Nice to have (we want to work on it)
Description

Steps to reproduce

  1. Prepare CKEditor with below configuration and content:
    var editor = CKEDITOR.replace( 'editor1', {
    	extraAllowedContent : 'span[id]',
    });
    
    <p><span class="marker" id="abc">test</span></p>
    
  2. Put selection here and insert any special character # using Special Character dialog <p><span class="marker" id="abc">te^st</span></p> . Alternatively you can ma a selection and execute the following command in browser console CKEDITOR.insatnces.editor1.insertText( '#' )

Expected result

<p><span class="marker" id="abc">te#st</span></p>

Actual result

The span gets split in two: <p><span class="marker" id="abc">te</span><span class="marker">#st</span></p>

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

Problem can be reproduced at least from CKEditor 4.0.

#17011 MS Edge Browser ierror loggged new Bug Normal
Description

Steps to reproduce

I am experiencing the exact same issues as called out in this ticket.

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

This was closed as could not reproduce. However - I can easily reproduce.

  1. Highlight text
  2. Simply place cursor inside the editor
  3. Monitor debugging tools in Edge and you can see the following error logged:

SCRIPT5007: Unable to get property 'specified' of undefined or null reference ckeditor.js (101,288)

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

i will provide config upon request

#17012 forceSimpleAmpersand no longer works as expected, any links with ampersands fail new Bug Normal
Description

Steps to reproduce

  1. set forceSimpleAmpersand to TRUE
  2. in editor srouce mode, type &
  3. toggle between WYSIWYG and back to source mode

Expected result

& should stay as &

Actual result

& has become &amp;

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

Links that use ampersands to pass parameters are FAILING, because the ampersands have been converted to &amp; :(

#17013 CKEditor on blur event doesnt get fired consistently the first time editor is created new Bug Normal
Description

Steps to reproduce

  1. Add one editor on the page and edit some text.
  2. Add another editor on the same page(do not click on this editor) and click on the first editor.
  3. Two toolbars show up.

The reason is that on blur event doesn't get fired consistently when you create a new editor and do not click on it. Instead click on other editors on page. Two toolbars appear. The reason is there is some race condition going on the way ckeditor is calling on blur events. Similar bug mentioned here: http://ckeditor.com/forums/CKEditor/Registered-blur-event-doesnt-fire-the-first-time-it-seems-that-it-should-see-details

Expected result

On blur event handler should be called when focus moves away first time in the editor

Actual result

On blur event handler is inconsistent

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

Happens in all browsers

#17015 Copy an image via Ctrl+drop no longer works new Bug Normal
Description

Steps to reproduce

  1. Upload an image to server
  2. Insert the image
  3. Hold Ctrl, drag-n-drop the image

Expected result

The image should duplicate (this worked with the previous version)

Actual result

The image just moves, as if Ctrl was unpressed.

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

Tried with Chrome 59 and Firefox 53. Also reproducible on features(http://ckeditor.com/features).

I'm 100% positive that this worked in previous versions because it's part of my daily workflow.

#17019 [Chrome] Caret is lost when clicking editable element outside of inline editor new Bug Normal
Description

Steps to reproduce

  1. Click inside the editor
  2. Click in the textarea outside of the editor

Expected result

Caret is positioned in the textarea and I can start typing in it

Actual result

There is no caret in the textarea

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

Google Chrome Version 58.0.3029.96 (64-bit)

Also reproducible with current nightly build.

This problem was introduced with fix for #13446.

I'm attaching a test file where bug can be reproduced or if you prefer you can test it in this jsfiddle - https://jsfiddle.net/ka5aehx7/.

#17021 Inline state missing when using inline editing with iframe new Bug Normal
Description

Steps to reproduce

  1. Create iframe with editable content
  2. Initialize CKeditor two or more instances for iframe elements
  3. Click on editable elements on some bold text.

Expected result

Toolbar "B" icon get highlighted

Actual result

Nothing happened

Example

http://jsfiddle.net/gvbr9mk9/3/

#17023 CKEditor throw exception when trying to delete bullet new Bug Normal
Description

Steps to reproduce

  1. Copy and paste the text from the attach file to ckeditor (i try it on the CKEditor home page).
  2. try to select empty bullet number 2.
  3. press backspace two times.

Expected: we can select bullet 2. and it will be deleted.

Actual: we cannot select bullet 2. bullet 2. is not deleted instead we get the following exception

Exception: ncaught TypeError: Cannot read property 'type' of null

at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.range.moveToElementEditablePosition (ckeditor.js:170) at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.range.moveToElementEditEnd (ckeditor.js:174) at a.<anonymous> (ckeditor.js:1049) at a.d (ckeditor.js:11) at a.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.event.CKEDITOR.event.fire (ckeditor.js:13) at a.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editor.CKEDITOR.editor.fire (ckeditor.js:14) at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.keystrokeHandler.f (ckeditor.js:229) at $.d (ckeditor.js:11) at $.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.event.CKEDITOR.event.fire (ckeditor.js:13) at HTMLBodyElement.<anonymous> (ckeditor.js:58)

11:01:57.158 ckeditor.js:170 Uncaught TypeError: Cannot read property 'type' of null

at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.range.moveToElementEditablePosition (ckeditor.js:170) at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.range.moveToElementEditEnd (ckeditor.js:174) at a.<anonymous> (ckeditor.js:1049) at a.d (ckeditor.js:11) at a.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.event.CKEDITOR.event.fire (ckeditor.js:13) at a.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editor.CKEDITOR.editor.fire (ckeditor.js:14) at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.keystrokeHandler.f (ckeditor.js:229) at $.d (ckeditor.js:11) at $.window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.event.CKEDITOR.event.fire (ckeditor.js:13) at HTMLBodyElement.<anonymous> (ckeditor.js:58)

I reproduce this defect in the demo CKEditor in http://ckeditor.com/

#17031 Cannot type after selecting whole content and changing its format. confirmed Bug Normal
Description

Steps to reproduce

  1. Go to http://tests.ckeditor.dev:1030/tests/plugins/widgetselection/manual/basic.
  2. Select all (using keyboard) inside first editor instance.
  3. Change Paragraph format to e.g. Header 1.
  4. Start typing.

Expected result

Newly typed characters appears in the editor and are visible.

Actual result

Newly typed characters are not visible.

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

Chrome 58.0.3029.110 (64-bit) on OS X. Same happens on Safari.

This happens because the filler is not properly removed so new typed content is inserted inside this filler (which is invisible).

#17032 It's possible to replace readonly content after select all. confirmed Bug Normal
Description

Steps to reproduce

  1. Go to ​http://tests.ckeditor.dev:1030/tests/plugins/widgetselection/manual/basic.
  2. Select all using keyboard inside last editor instance (Only non-editable).
  3. Start typing.

Expected result

Unable to type anything (works this way when selection is made using mouse).

Actual result

The content gets replaced.

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

Chrome/Safari on OS X.

#17035 Inline editor remains active after tabbing off editor - MS Edge new Bug Normal
Description

Steps to reproduce

  1. Using MS Edge, place focus in an inline editor
  2. Tab out of the editor onto a button element
  3. Hit the enter key

Expected result

The click event of the button element should be fired.

Actual result

The button click event is not fired but the editor steals the browser's focus.

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

This can be seen with all versions of Edge. For some reason it doesn't seem to be a problem with input elements of type button, only button elements (though it may affect other elements as well).

I can reproduce this with the CKEditor demo page. I select the inline editor and shift-tab back to the button elements to select one of the other editor demos. Hitting the enter key on one of the button elements pulls the focus back to the editor. I've attached an animated GIF.

#17036 Localize uicolor plugin predefined color set. confirmed Task Low
Description

Color names in preset are not localized.

#17038 Changing Font Family then Font Size removes HTML source. new Bug Normal
Description

Steps to reproduce

  1. Control + A to select entire HTML/source (everything should then be highlighted).
  2. Select any font family to change.
  3. Select any font size.

Expected result

The HTML should reflect changed font-size and retain HTML/source.

Actual result

After selecting the font-size (Step 3), the HTML/source is removed or seems to be cleared.

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

Google Chrome, Windows, CKEditor version 4.6.2, installed plugins are the following:

plugins : {

'a11yhelp' : 1, 'autolink' : 1, 'backgrounds' : 1, 'base64image' : 1, 'basicstyles' : 1, 'bgimage' : 1, 'blockquote' : 1, 'chart' : 1, 'clipboard' : 1, 'colorbutton' : 1, 'contextmenu' : 1, 'docprops' : 1, 'elementspath' : 1, 'enterkey' : 1, 'entities' : 1, 'filebrowser' : 1, 'find' : 1, 'floatingspace' : 1, 'font' : 1, 'footnotes' : 1, 'format' : 1, 'horizontalrule' : 1, 'htmlwriter' : 1, 'image' : 1, 'imagepaste' : 1, 'imageresize' : 1, 'imagerotate' : 1, 'indentblock' : 1, 'indentlist' : 1, 'justify' : 1, 'language' : 1, 'lineheight' : 1, 'link' : 1, 'list' : 1, 'liststyle' : 1, 'magicline' : 1, 'maxheight' : 1, 'pagebreak' : 1, 'panelbutton' : 1, 'pastefromword' : 1, 'pastetext' : 1, 'pbckcode' : 1, 'print' : 1, 'quicktable' : 1, 'removeformat' : 1, 'resize' : 1, 'scayt' : 1, 'showblocks' : 1, 'sourcearea' : 1, 'specialchar' : 1, 'stylescombo' : 1, 'stylesheetparser' : 1, 'tab' : 1, 'table' : 1, 'tableresize' : 1, 'tabletools' : 1, 'textsignature' : 1, 'toolbar' : 1, 'undo' : 1, 'uploadimage' : 1, 'wordcount' : 1, 'wsc' : 1, 'wysiwygarea' : 1, 'zoom' : 1

}

#17040 When using 'Find' functionality, text highlight styles are not removed after closing the Find dialogue new Bug Normal
Description

Steps to reproduce

  1. Launch ckeditor 4.6.2 in IE Compatibility Mode Mode. Please see test-oob-ckeditor.html file attached.
  2. Paste following content in editor line1 hi

line 2 hi bye line 3 hi

  1. Open Find dialogue and search for String hi.Keep on clicking "Find" button.
  2. Close the Find dialogue.

Expected result

The highlight styles added are removed.

Actual result

Highlighting is retained.

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

IE in compatibility mode CkEditor 4.6.2 Full Version

#17041 CKEDITOR.dom.document.createElement API changes the “href” attribute automatically new Bug Normal
Description

Steps to reproduce

  1. Open the CKEditor sample page(http://ckeditor.com/features) in chrome ( any browser with console)
  2. Open Chrome web console and try adding an anchor element with this command

"window.CKEDITOR.document.createElement("a",{attributes:{href:'google.com'}})"

  1. In the result , expand the dom element and view the value of 'href' attribute

Expected result

href: google.com

Actual result

"http://ckeditor.com/google.com"

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

#17043 MathJX formula not rendering on Ubuntu OS new Bug Normal
Description

Steps to reproduce

  1. Configure MathJx
  2. Open ckEditor on browser
  3. Click Math (sigma) button

Expected result

Demo formula should be render

Actual result

Error on JS

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

Chrome, Ubuntu, CKEditor 4.5.9 (revision a35abfe), jQuery adapter and mathjx

MathJX script => https://cdn.mathjax.org/mathjax/2.2-latest/MathJax.js?config=TeX-AMS_HTML

#17044 Font does not hold new Bug Normal
Description

Steps to reproduce

  1. Change the font to anything other than the default
  2. Type text then enter a couple of times
  3. Click back to a line you entered past

Expected result

The font will remain that which you set to originally

Actual result

The font reverts back to the default

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

Using Chrome Browser Tested in V4 Nightly Build Full

#17045 Font Size not holding new Bug Normal
Description

Steps to reproduce

  1. Change font to Courier New 12
  2. Type letter with multiple lines and carriage returns etc
  3. Click back into space you entered past and the font reverts to default
  4. Change font back to Courier New
  5. When you start typing the font is clearly not in size 12

Expected result

Original set font size of 12 would hold.

Actual result

Font size reverts back to the default

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

Using Chrome Browser Tested in Nightly build

#17046 [Safari] Tab/Shift+Tab does not blur classic editor. confirmed Bug Normal
Description

Steps to reproduce

  1. Go to http://tests.ckeditor.dev:10470/tests/plugins/tableselection/manual/blur.
  2. Follow the scenario for classic editor.

Expected result

It is possible to blur editor with Tab/Shift+Tab when row is selected.

Actual result

Tab/Shift+Tab does not work.

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

Safari (Version 10.1.1 (11603.2.5)) on OS X El Capitan 10.11.6.

I have also noticed that if editor is focused from another instance (using Shift+Tab), blurring it with Tab works.

#17047 [TI] Hovering over table after one selected throws an error. confirmed Bug Normal
Description

Steps to reproduce

  1. Go to http://tests.ckeditor.dev:10470/tests/plugins/tableselection/manual/editortypes.
  2. Select the first row in a table.
  3. Copy.
  4. Paste after Some text (and before existing table).
  5. Select whole row in a first (pasted) table.
  6. Without releasing the mouse button, hover over the second table.

Expected result

No error and probably selection should expand somehow on the second table.

Actual result

Error is thrown Uncaught TypeError: Cannot read property 'length' of undefined.

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

Tested on Chrome and Safari.

#17048 [IE10] Non-editable widget is not selected after pressing key confirmed Bug Normal
Description

Steps to reproduce

  1. Open http://tests.ckeditor.dev:1030/tests/core/selection/manual/iecontenteditablefalse.
  2. Insert non-editable widget.
  3. Select part of the text inside it.
  4. Press any letter on keyboard

Expected result

Widget becomes selected.

Actual result

Selection jumps out of widget and it allows to type before/after the widget.

#17050 [Opera] Wrong notification for paste as plain text confirmed Bug Normal
Description

Steps to reproduce

  1. Open page with CKEditor.
  2. Copy some rich content and try to paste it as plain text using button in the toolbar.
  3. Use keystroke shown in notification (Cmd+Shift+V).

Expected result

Content is pasted as plain text.

Actual result

Nothing happens.

It seems that Opera on macOS uses Cmd+Shift+Alt+V to paste as plain text.

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

Opera 45, macOS

#17051 [TI] Select all on only table content creates native selection. confirmed Bug Normal
Description

Steps to reproduce

  1. Go to http://tests.ckeditor.dev:1030/tests/plugins/tableselection/manual/integrations/selectall/table.
  2. Follow the scenario (with Cmd + A).
  3. When releasing Cmd + A, release A and after some time release Cmd.

Expected result

The table is faked selected.

Actual result

Native selection is visible.

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

OS X, tested on Safari, Chrome. Works fine on Firefox.

Additionally on Safari, error is thrown: TypeError: null is not an object (evaluating 'e.getChild(f-1).type'). If Cmd + A is release at once it works fine. Seems to be working fine on Windows where select all is fired after releasing A. On OS X it is fired after releasing Cmd.

#17054 [IE8] Blurring empty table raises an error confirmed Bug Normal
Description

Steps to reproduce

  1. Open http://tests.ckeditor.dev:1030/tests/plugins/tableresize/manual/empty
  2. Click on the table when move cursor is shown. Resize handlers should appear.
  3. Click into the empty space inside the editor.

Expected result

Nothing happens

Actual result

Error is thrown: Object required

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

#17055 Pasting iFrame returns console error in /test /tests/core/manual/src#child new Bug Normal
Description

Steps to reproduce

  1. Go to http://tests.ckeditor.dev:1030/tests/core/manual/src#child on Edge.
  2. Select content from "Source iframe 2".
  3. Copy it with CTRL + C.
  4. Paste it to the editor with CTRL + V.

Expected result

There's no error after paste.

Actual result

Error in a console - "SCRIPT5: Acces is denied."

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

OS: Windows 10 Browser: Edge

#17056 Incorrect notification on mobile devices new Bug Normal
Description

Steps to reproduce

When you try to copy-paste some text to editor and use editor's paste option, there appears notification to use CTRL+V. Shortcut is impossible to made on mobile device, there should be used native paste option.

Expected result

Notification will inform about real possibility to paste.

Actual result

Currently there is info to use CTRL+V shortcut which is impossible to made.

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

Samsung, Android 4, Chrome Mobile v.58.

#17057 While paste to ckeditor from outlook image is not showing new Bug Normal
Description

Steps to reproduce

1.I am copying content form outlook mail. 2.Paste to my page where CKEDITOR 4.5.10 integrated 3.Patsed Images are not showing in ckeditor.

Expected result

It should show images.

Actual result

Not showing images

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

(Chrome, Windows 7, 4.5.10)

installed plugin : dialogui,dialog,about,a11yhelp,basicstyles,blockquote,clipboard,panel,floatpanel,menu,contextmenu,resize,button, toolbar,elementspath,enterkey,entities,popup,filebrowser,floatingspace,listblock,richcombo,format,horizontalrule,htmlwriter,wysiwygarea,image,indent,indentlist,fakeobjects,link,list, magicline,maximize,pastetext,pastefromword,removeformat,sourcearea,specialchar,menubutton,scayt,stylescombo,tab,table,tabletools,undo,wsc ==

#17058 [Edge/IE] Visual selection applies to single table cell selection new Bug Low
Description

Steps to reproduce

  1. Go to http://tests.ckeditor.dev:1030/tests/plugins/tableselection/manual/tableselection#child
  2. Focus editor without focusing any table cell.
  3. Select first table cell without dragging a selection out of it's border.

Expected result

Cell should be marked with native selection.

Actual result

Cell was marked with visual selection.

Notes

Bug appends only if cell wasn't focused. You can try this scenario:

  1. Refresh test.
  2. Focus editor without focusing any table cell.
  3. Focus first table cell.
  4. Select first table cell without dragging a selection out of it's border.

As you can see, it received native selection.

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

OS: Windows 10 Browsers: Edge, IE 11

#17059 Table cell properties - background color is not kept new Bug Normal
Description

Steps to reproduce

  1. Create table
  2. Right click table cell
  3. Choose Cell -> Cell properties
  4. Select background color (anything but #000000)
  5. Save
  6. Reopen menu and pick color again
  7. There will be highlighted black color instead of current one.

Expected result

Dialog with colors selection show current color of cell.

Actual result

Dialog with colors selection always show black color.

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

Checked on iOS and Chrome browser

#17060 [Edge] Undo-redo flicker when style applied new Bug Normal
Description

Steps to reproduce

  1. Go to CKEditor sample.
  2. Delete whole content.
  3. Change style to "special container" and type some text.
  4. Change style to "marker" and type some text.
  5. Press CTRL + Z few times.

Expected result

It should undo all style changes.

Actual result

Style appears for a split second only and there's no possibility to undo changes.

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

OS: Windows 10 Browser: Edge

#17062 [Edge] Manual test tests/core/selection/manual/iecontenteditablefalse#child fails on Edge browser new Bug Normal
Description

Steps to reproduce

  1. Go to http://tests.ckeditor.dev:1030/tests/core/selection/manual/iecontenteditablefalse#child
  2. Follow the scenario.

Expected result

Widget should receive a selection after key pressing.

Actual result

Widget doesn't receive a selection and moves downwards.

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

OS: Windows 10 Browser: Edge

#17063 Double insertion of table after using enter on Chrome mobile. new Bug Normal
Description

Steps to reproduce

  1. Open Chrome mobile browser
  2. Press button to add table
  3. Accept inserting new table with enter key
  4. Table should be added twice to editor

Expected result

Table will be added only once.

Actual result

Table is added twice.

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

Android 4.4.2, Chrome mobile v.58.

#17064 BBCode: Adds new linefeed each switch from source/preview: [/list] [u][url=http://snap...../]Updates[/url][/u] new Bug Normal
Description

Steps to reproduce

Recreated in both Firefox and Edge on the CKEditor BBCode Samples page.

  1. Go to http://sdk.ckeditor.com/samples/bbcode.html and paste this into a blank SOURCE window:
[list]
[*]test
[*]test
[/list]
[u][url=http://snapback-apps.com/updatewindows/]Manage My Windows Updates[/url][/u] - Controls Windows 10 Updates without the work, hassle or risk.
[list]
[*]test
[*]test
[/list]
[list]
  1. Switch to PREVIEW, and it appears with an EXTRA linefeed:
test
test
           <<<<< Should NOT be added here!!
Manage My Windows Updates - Controls Windows 10 Updates without the work, hassle or risk.
test
test
  1. Switch back to SOURCE, and you will see a new linefeed has been added to source.

NOTE: This will NOT add a new linefeed if the line after [ /list ] is just text. (I didn't test any other types of content.)

  1. Go to PREVIEW, and yet another linefeed has been added, each time you switch to PREVIEW.

Expected result == NO new linefeeds added when switching from source to preview

Actual result == One NEW linefeed is added with each switch

Other details

Related: Other issues with line breaks: #7870, #10078, #11524, #7870.

Costs / workarounds for users

Must always go back into the source and delete the number of linefeeds by hand. How many? An extra linefeed is added each time you switch, so the number of corrections will always be 1-x for each time you use both [ /list ], followed by a URL on the next line

#17067 Can't select cells in tfoot review Tomasz Jakut Bug Normal
Description

Steps to reproduce

  1. Open https://jsfiddle.net/0cr59Loa/
  2. Start selecting from a row above the one with headings.
  3. Stop selecting at the end of the table

Expected result

All selected rows remain selected.

Actual result

All rows below the one with headings are unselected just after releasing mouse button.

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

It seems to be connected with the order of elements in table. If tfoot is after tbody, then everything seems to be working correctly.

#17070 Pressing Delete key removes content from neighbouring cell new Bug Normal
Description

Steps to reproduce

  1. Open http://ckeditor.com/features;
  2. Switch to Accessibility Checker page;
  3. Add a Table;
  4. On the left row add a bulleted list and type several paragraphs;
  5. On the right row add any text;
  6. Set cursor to the last paragraph within the first row;
  7. Start deleting content by pressing Delete button;

Have a look at this video: [https://www.screencast.com/t/XfgB4XTDKkwn ]

Expected result

Any text to the right of the cursor should be deleted, in the current cell only.

Actual result

All text to the right of the cursor in the current cell is deleted, however it then begins to pull in and delete text from the neighbouring cell.

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

Reproduced in Edge, Chrome and IE.

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