Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (10901 - 11000 of 11754)

Ticket Summary Owner Type Priority Milestone Component
#13743 Editor and demo not working in ie 11.0.9600.17501 Bug Normal General
Description

Steps to reproduce

  1. Load Demo editor in ie 11.0.9600.17501
  2. click standard editor or full featured

Editor should load

Nothing happens

Other details

browser- ie 11 OS -windows 7 CKEditor version-4.5.3

#13744 Unable to select text in source view and ctrl+a is not working in source view Bug Normal UI : Source View
Description

Steps to reproduce

  1. write something in editor.
  2. switch to source view and try to select text with mouse or press ctrl+a

Expected result

  1. The selected text with mouse should be selected.
  2. All text should be selected if ctrl+a is pressed.

Actual result

  1. Unable to select text using mouse or by pressing ctrl+a or any keyboard shortcuts for selecting text.

Other details (browser)

IE9,IE10

#13745 Button State Mobile Bug Normal General
Description

Steps to reproduce

On a mobile browser, such as Safari for iOS:

  1. Go to http://ckeditor.com/demo
  2. Highlight a word and press the bold button on the toolbar (CKEditor's toolbar, not anything the browser provides)
  3. Move the cursor to a word that isn't bold by tapping on it

Expected result

The bold button in the toolbar returns to an unselected state

Actual result

The bold button in the toolbar continues to appear selected

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

#13746 https://dev.ckeditor.com/newticket#ticket Bug Normal UI : Toolbar
Description

When you set config.format_tags = 'p;h1';

then the toolbar dropdown is too big. See the image link.

http://fs1.directupload.net/images/150915/gqvf2duq.png

#13747 Javascript-Errors-Notifer reports an error Bug Normal General
Description

Steps to reproduce

  1. Using the editor inside SaaS application by Service Autopilot
  2. Editing a text note inside their application
  3. Upon entering text with no other formatting, I pressed save.
  4. No errors reported by Service Autopilot

Expected result

Actual result

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

Google Chrome Version 45.0.2454.85 (64-bit)

Error message:TypeError: Cannot read property 'on' of undefined #5 https://my.serviceautopilot.com/ckeditor/ckeditor.js?t=1241:331:232 #4 https://my.serviceautopilot.com/ckeditor/ckeditor.js?t=1241:331:232 CKEDITOR.editable.CKEDITOR.tools.createClass.proto.attachListener() #3 https://my.serviceautopilot.com/ckeditor/ckeditor.js?t=1241:339:305 CKEDITOR.editable.CKEDITOR.tools.createClass.proto.setup() #2 https://my.serviceautopilot.com/ckeditor/ckeditor.js?t=1241:776:774 k() #1 https://my.serviceautopilot.com/ckeditor/ckeditor.js?t=1241:25:112

Show errors stack trace Show errors column number Show notification popups for errors on my.serviceautopilot.com domain

#13749 Receive JavaScript errors when inserting Block level Placeholder Bug Normal UI : Widgets
Description

Background

I'm trying to customize the Placeholder plugin to simply make it insert a Div instead of a Span. I am making minimal changes to the Placeholder plugin, and then I see Js errors in console with all "Insert" type commands when the editor does not have a visible caret.

Steps to reproduce

  1. Minimally customize plugins/placeholder/plugin.js as follows:
  • line 39: change the opening and closing tag from a span to a div
  • line 72: change to test for dtd.div instead of dtd.span
  • line 78: change from span to div
  1. Create a textarea with the content of only a placeholder, like this
    <textarea id="replaceme">[[sometag]]</textarea>
    
  2. CKEDITOR.replace(document.getElementById('replaceme'))
  3. Load the page and do not touch the editor area (do not set focus to it and make sure you cannot see the caret)
  4. Now click any of the toolbar "Insert" type commands (not necessarily Placeholder). Such as Insert Horizontal Line. or Insert Special Character.
  5. Receive one of several Javascript errors in console such as
    Uncaught TypeError: Cannot read property 'hasAscendant' of null
    Uncaught TypeError: Cannot read property 'checkReadOnly' of undefined
    

Expected result

Expect to be able to change Placeholder plugin minimally from Span container type to Div container type without causing Js errors.

Actual result

Getting errors when changing Placeholder type from span to div. I have not been able to track it down to anything I'm doing. When I stop it in the debugger everything looks correct at the end of the plugin's afterInit when it returns the transformed text.

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

When I do a fresh install, the plugin works fine (with the default container type of Span). I do only the changes above, and I get these errors. I do have the Widget plugin dependency. And Dialog. It was built with your download builder today which automatically added the dependencies. Testing on Google Chrome with version 4.5.3 freshly downloaded today. Have been trying to work through this for several hours on my own. Thanks for any help you can provide. I noticed that in the modified Placeholder plugin if I comment out the entire call to editor.dataProcessor.dataFilter.addRules I do not see the errors anymore (of course my source is not transformed to my desired div's as well). So I have isolated it to something that is going on there.

#13750 inlineAll bug Bug Normal General
Description

Steps to reproduce

I want set CKEDITOR.disableAutoInline = true to disable auto inline editor But all the div in html has attribut contenteditable=true replace inline editor

Because CKEDITOR.inlineAll function is add to domReady list, but at domReady the config.js maybe not loaded;

I hope everything is based on config.js loaded ,That should be the real we need.

#13752 Chrome: Pagebreak lost when we paste content Bug Normal General
Description

Steps to reproduce

  1. Open nightly build, insert a Page Break
  2. Add a Paragraph after it.
  3. Select & copy all content using CTRL + A & CTRL + C
  4. Refresh the page
  5. Paste the content using Ctrl + V

Expected result

Page Break along with paragraph is pasted

Actual result

Page break not pasted only content in paragraph below page break is pasted.

This is working in 4.4.8 & a regression in 4.5.3

#13755 [Edge] Pasting images in Edge does not work Piotr Jasiun Bug Normal CKEditor 4.5.11 General
Description

Steps to reproduce

  1. Take a screenshot so that clipboard has an image in buffer.
  2. CTRL+V to paste image in editor

Expected result

Pasting images should work when using the uploadimage plugin in Edge like it does in IE11, Chrome, and Firefox. It appears that browser does support this functionality as gmail is able to handle pasting in images from the clipboard when using MS Edge.

Actual result

Nothing pastes in.

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

Windows 10, Microsoft Edge with uploadimage plugin.

#13756 Context menus are cut-off in Microsoft Edge Marek Lewandowski Bug Normal CKEditor 4.5.8 General
Description

Steps to reproduce

  1. Using Microsoft Edge browser
  2. Right click on a bulleted list in an editor instance
  3. Note that the "Bulleted List Properties" option in the context menu is cut off.

Expected result

Context menu should render correctly

Actual result

Context menu cut short

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

Windows 10, Microsoft Edge

#13757 HTML tags returning in CKEditor in IE Bug Normal General
Description

Steps to reproduce

  1. Open a browser in IE11
  2. Navigated to a page with a CKEditor text area.
  3. Clicked on source view

Expected result

I would expect the text view to show without html tags and have correct margins, font styling, paragraphs etc.

Actual result

Text view:

HTML tags are showing in text view and while clicking on source view &gt, &lt, and ;&amp;nbsp; are not being replaced with <,> &nbsp;

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

this is not consistant but appears to happen on IE11 and was having issues on earlier versions.

#13758 Auto grow - doesn't reduce size of editor on content erase Bug Normal General
Description

Steps to reproduce

  1. Make editor grow by adding content
  2. Erase content

Expected result

Editor shrink on content erase

Actual result

Editor's size is not changing

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

Tested on Firefox and Chrome under Linux Mint 17 and Windows 7

CKEditor 4.5.2

plugins : lineutils, widget, autolink, sharedspace, image2, youtube, confighelper, pastefromword, autogrow, notification, notificationaggregator, filetools, uploadwidget, uploadimage, autoembed, embed, embedbase, undo

config :

config.disableNativeSpellChecker = false;

config.linkShowAdvancedTab = false;

config.linkShowTargetTab = false;

config.removeDialogTabs = 'link:upload';

config.ignoreEmptyParagraph = true;

config.autoParagraph = false;

config.resize_enabled = false;

config.autoGrow_minHeight = 700;

config.autoGrow_onStartup = true;

#13759 problem with font color and underline color Bug Normal General
Description

when i change font color in editor then i set the underline to selected text the underline color is not set as font-color. it is black instead of font-color.

thanks

#13761 Cannot select Widget & other content, if Widget is the first thing in editor Bug Normal General
Description

Steps to reproduce

  1. Go to ​http://sdk.ckeditor.com/samples/mediaembed.html
  2. Remove the content above the YouTube widget (including empty lines)

Expected result

  • You can select content and the widget

Actual result

  • You can only select content or the widget, anywhere else you can select both

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

#13762 Ability to add external font to editor New Feature Normal General
Description

As far as I can tell, it is currently not possible to add an external font resource (such as a google font) into the iframe (ckEditor) head element.

In our system we don't have (or want) a font selector and simply want to set the default font to "Noto Sans", in the rest of our app we would include:

<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic,700italic">

in the head and then reference the "Noto Sans" font in the CSS.

I've tried injecting the link via JS, although the iframe simply refuses to accept the new font:

instance.on('instanceReady', function (e) {

var html = e.editor.document.$; var head = html.getElementsByTagName('head')[0]; var link = document.createElement('link'); link.rel = 'stylesheet'; link.type = 'text/css'; link.href = 'https://fonts.googleapis.com/css?family=Noto+Sans:400,700,400italic,700italic'; head.appendChild(link);

});

A new feature and/or support would be greatly appreciated. Many thanks

Ben

#13763 First alteration to text after it is pasted in (ctrl+v) does not trigger 'change' event Bug Normal General
Description

Steps to reproduce

  1. Copy any text
  2. Paste into ckeditor
  3. Edit the text in anyway in one key press
    • enter a character
    • delete a character
    • ctrl+A then backspace

Expected result

Text in ckeditor should be updated, 'change' event triggered, and hidden text (visibility: hidden, display: none) should be updated

Actual result

Text in ckeditor is updated, 'change' event is not triggered, and hidden text is not updated

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

Tested in most recent versions of Chrome and Firefox; using 'change' event to trigger knockout observable change

#13764 Unable to bind html to ckeditor in edit mode Bug Normal General
Description

I have created multiple ckeditors dynamically by clicking on a button, finally saving all ckeditor data into database, in edit mode i am showing data in respective ckeditor but first ckeditor is not displaying the data when the page is initially loads if i refresh the page first ckeditor is biding, below is the code i am using

CKEDITOR.instances.editor1.setData(val.sectionContent()); CKEDITOR.instances.editor1.updateElement();

#13765 Problems with rendering samples in iOS9 Piotrek Koszuliński Bug Normal CKEditor 4.5.4 General
Description

Steps to reproduce

  1. Open http://cdn-source.ckeditor.com/4.5.3/standard/samples/

Expected result

Samples look like on desktop.

Actual result

Some styles don't load.

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

UA: Mozilla/5.0 (iPad; CPU OS 9_0 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13A344 Safari/601.1

iPad Mini 2

#13766 CKEditor- Shared space - Issue with other plugins Bug Normal General
Description

Hi,

I have created CKEditor instances using shared space plugin. The page will be having multiple editors which are added dynamically from a template XML. The requirement is to have multiple editors on same page on different locations but all should be modified using same toolbar located on top of the page.

Issue

Some Plugins like Find, Replace, Select All etc. are only working on the current active editor only. I need to make this work on all the editors. eg. If I am finding with one text, that should search in one editor instance after that to the next one. User should not feel that he is searching in different editors. Now I need to manually click on other editor to search in other editor.

Is this possible?

#13767 Unable to edit content in ckeditor version 4.5.3 (focus not stay at editor) Bug Normal General
Description

Steps to reproduce

  1. After show editor by call: CKEDITOR.replace('assessmentSummary');
  2. Click on content of ckeeditor.
  3. Using keyboard to modify content.

Expected result

Content is editable

Actual result

Unable to modify content

Other details

Browser: Chrome. Version: 43.0.2357.130m

#13768 Can't unbold text after paste text from google doc Bug Normal General
Description

Steps to reproduce

  1. Copy text from google doc that has been bolded
  2. Paste it into CK editor
  3. Select all text
  4. Try to unbold the text. You can't.

Expected result

Text should be bolded

Actual result

Text is not bolded

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

Any browser, Any OS, CKEditor version 4.1.2

More information, I'm using this gem https://github.com/spree-contrib/spree_editor that it's using your CK editor.

#13770 extraAllowedContent does not work on copy-paste Bug Normal General
Description

Steps to reproduce

  1. Download the standard package of latest version (4.5.3)
  2. edit config.js and add the following line:

config.extraAllowedContent = 'div{margin*}';

  1. Change the editor to source edit mode and copy the following html content into the editor:

<p>test</p> <div style="margin-top:50px">test</div>

  1. Exit the source edit mode and you will see the margin, which is correct. Then copy the whole content, refresh the page, and paste it back to the editor (not source edit mode).

Expected result

The margin should be there.

Actual result

There's no margin. It's filtered out.

#13771 contents.css not built into ckeditor.js Tomasz Jakut Bug Normal CKEditor 4.5.5 General
Description

Steps to reproduce

  1. Download my custom build: http://ckeditor.com/builder/c21338e58b4ef94bfe0b9aff003760dd
  2. Unzip and grep -r contents.css *
  3. contents.css is not present in ckeditor.js

On the contrast if downloading a standard build ckeditor.js contains a like like this: CKEDITOR.config.contentsCss=CKEDITOR.getUrl("contents.css");

Expected result

Since my build includes Rich Combo and plugins which require contents.css it is expected to be part of the build. Without contents.css all plugins based on Rich Combo use browser default font style.

#13776 Some Ascii characters are not coming in CK Editor Bug Normal General
Description

Steps to reproduce

I am using Ck Editor 4.4.7 in my project ,I am not getting proper Ascii values for ® -Registered trademark , £ -pound and many others . Can you please help ans tell me what configuration I need to change in config.js

Expected result

Expecting &#174; value for ® -Registered trademark

Actual result

Getting ? symbol

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

All Browser

#13777 Loading ckeditor with $.getScript or webpack fails: Is there a way to load the script on demand, only if it's needed? Bug Normal General
Description

Goal

I'm building a SPA that needs rich text editing for a few formularies.

My goal is to load the heavy ckeditor only if it's required, and save the download and the loading time for the majority of visitors that do not need to edit rich text.

I'm also using webpack, but it's documented elsewhere that "require('ckeditor')" and such don't work either.

Steps to reproduce

1.If I want to turn on ckeditor for several textareas, I call:

ck.basic_editor(['id1', 'id2'])

where basic_editor is as follows:

ck.basic_editor = function(ls){
   var load_when_lib_is_ready = function(){
       var i;
       for(i=0;i<ls.length;i){
         if (window.CKEDITOR.instances[ls[i]]==undefined){
             window.CKEDITOR.replace( ls[i] ,
               {
                   customConfig : '../../js/plugins/ckeditor/ckeditor_config.js'
               });
         }
       }
   };
   if(window.CKEDITOR){
       load_when_lib_is_ready();
   }else{
       $.getScript(BASE_URL + 'ckeditor/ckeditor.js', load_when_lib_is_ready);
    }
}

  1. No matter where I place the above code, or the ckeditor script, I get errors like:

Uncaught SyntaxError: Unexpected token <

Uncaught TypeError: Cannot set property 'dir' of undefinedCKEDITOR.lang.load.f @ VM2040:212CKEDITOR.scriptLoader.load.g @ VM2040:214CKEDITOR.scriptLoader.load.l @ VM2040:214CKEDITOR.scriptLoader.load.s @ VM2040:214(anonymous function) @ VM2040:215

  1. I've tried other combinations, same result.

Expected result

Actual result

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

Using webpack, npm, bower, gulp (not much really): any solution that works for the stated goal is fine. I also have other heavy libs that most visitors don't need.

Tested on firefox and chromium, ckeditor 4.5.3, but it also happened with version 3, I don't recall the specific number.

Regards

#13779 Tooltips for Text Direction Buttons Show the Same Description Bug Normal UI : Toolbar
Description

Steps to Reproduce

  1. Load an instance with the Text Direction feature: http://ckeditor.com/demo#full http://nightly.ckeditor.com/15-09-29-06-09/full/samples/ or use the CDN (https://cdn.ckeditor.com/4.5.3/full/ckeditor.js).
  2. Hover over one of the buttons to show the tooltip.
  3. Directly move over to the other button.

Expected Result

The tooltip for each button should change.

Actual Result

The initial tooltip is shown when directly subsequently hovering over either button.

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

This effect apparently occurs only when hovering directly between buttons, without making the tooltip disappear before reaching the other button. Subsequent changes retain the initial button's tooltip. I have not found this effect happening on other buttons so far.

  • OS:
    • Arch Linux
    • x86_64
  • Browser: Chromium
  • Version of Editor: Full
  • Plugins: None

Tried with these versions:

#13780 language not UTF-8 Bug Normal General
Description

Steps to reproduce

  1. go to http://ckeditor.com/demo#localization
  2. switch language to Turkish
  3. paste Turkish text "aşağıdaki Türkiye'nin" into editor
  4. switch to html view which is "Kaynak"
  5. you will see this text "<p>aşağıdaki T&uuml;rkiye&#39;nin</p>"

Expected result

i would assume it should be <p>aşağıdaki Türkiye'nin<p>

Actual result

<p>aşağıdaki T&uuml;rkiye&#39;nin</p>"

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

i'm using IE 9.

#13781 CKEditor didn't work properly while typing Chinese characters Bug Normal General
Description

When trying to enter Chinese character using pinyin, the word options list disappeared after typed in the first letter (it didn't wait until I finish typing the whole pinyin) and it just auto select the first letter at once. I guess it's similar with this one https://dev.ckeditor.com/ticket/11663

I tested on here http://ckeditor.com/demo in standard model. The issue appeared, it's similar but not exactly same thing.

Steps to reproduce

  1. Type some Chinese characters

2.Click a font format button e.g 'Bold'

  1. Continue typing, the issue will appears

Expected result

Select Chinese characters when I finish typing the whole pinyin (usually triggers by space )

Actual result

Just select pinyin letter at once.

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

Browser: Google Chrome 45.0.2454.99 OS: OSX Yosemite 10.10.5 CKEditor version: 4.5.1 Installed plugins: divarea, autogrow ,placeholder,confighelper

#13782 CKEDITOR.warn/error logs are not clear Szymon Kupś Bug Normal CKEditor 4.5.5 General
Description

This is what gets logged:.

  [CKEDITOR] range-endcontainer, [browsable object]
  [CKEDITOR] For more information go to http://docs.ckeditor.com/#!/guide/dev_errors-section-range-endcontainer

The first line is not clear. I think we should print "[CKEDITOR] error code: range-endcontainer, ..."

Or something else that would clarify what the first line means.

#13783 Class not removed if format was changed Bug Normal General
Description

Steps to reproduce

  1. Visit http://sdk.ckeditor.com/samples/format.html and scroll down to "Custom Text Format Definition"
  2. Inside the Editor inspect the code below the "The Algorithm" heading. It is an <pre> Element with class "formattedCode"
  3. Click on the Code and Switch Fomat from to normal
  4. Inspect the Code again. The Element is now <p> but the class is still there
  5. Click Sourcecode twice
  6. Now the class is gone

Expected result

The class should be removed if format was changed.

Actual result

The class is still there.

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

#13785 [IE8] Removeformat plugin test is not passing in IE8 after changes made to wysiwygarea plugin. Tomasz Jakut Bug Normal CKEditor 4.5.5 General
Description

Test remove format selection in nested editable in http://tests.ckeditor.dev:1030/tests/plugins/removeformat/plugin is not passing on IE8 and was ignored for that browser during CKEditor 4.5.4 release tests.

It looks like this started to happen after git:24b9d.

#13789 Incompatible with Codemirror in Chrome Bug Normal General
Description

Steps to reproduce

  1. Install Codemirror plugin
  2. Open CKEditor in Chrome
  3. Write content into CKEditor
  4. Click on source mode

Expected result

Source mode should be opened with html contents of the editor highlighted.

Actual result

Contents are deleted and CKEditor errors out. No response from CKEditor after this.

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

Works in FireFox 40 and 41. Works in IE 11. Fails in Chrome 45. Fails in CKEditor version 4.5.3 Worked in CKEditor version 4.3.3 (just upgraded from this)

Error message: Uncaught InvalidCharacterError: Failed to execute 'add' on 'DOMTokenList': The token provided ('cke_source cke_reset cke_enable_context_menu') contains HTML space characters, which are not valid in tokens. ckeditor.js:79

#13790 Allow for the iframe having been removed already Szymon Kupś Bug Normal CKEditor 4.5.5 General
Description

This ticket is created in order to handle pull request https://github.com/ckeditor/ckeditor-dev/pull/200

When integrating ckeditor in Odoo, we encounter TypeError: iframe is null in http://localhost:9069/web_ckeditor4/static/lib/ckeditor/plugins/wysiwygarea/plugin.js:520 when the editor is created in a ajax popup. The editor is destroyed when the popup is closed, but by then the Odoo framework has already cleared out the DOM.

After we implemented error logging mechanism (#13632) we can handle this PR.

#13792 CKeditor reformat my HTML code Bug Normal General
Description

Hello, My CKeditor reformat the links blocs I integrated by deleting the link container and deplacing it inside :

Before : <a><div>......</div></a>

After : <div><a>......</a></div>

How can I prevent CKEditor to reformat the HTML?

Thanks

#13793 Embed plugin: use empty embed_provider by default Tade0 Task Normal CKEditor 4.7.0 General
Description

The embed plugin has now //ckeditor.iframe.ly/api/oembed?url={url}&callback={callback} URL set by default as providerUrl.

As the default anonymized API end point has certain restrictions on its usage, it's better to make sure that each user using this plugin is aware of limitations (otherwise there is a risk that suddenly on a production website this service will stop working_. This effect can be only reached by removing the predefined end point n the plugin configuration and having users reading the documentation in order to specify it manually.

The documentation should list //ckeditor.iframe.ly/api/oembed?url={url}&callback={callback} as a "ready to use" option, but it should also recommend setting up an account on Iframely to better track the API usage (even in the free "Developer" tier plan).

#13794 [UploadImage] Use uploaded.width/height if set Tomasz Jakut New Feature Normal CKEditor 4.6.0 General
Description

Split from #13520. Requires #13518.

The server should be able to return width and height of the image. #13518 will assure that these properties are propagated to the onUploaded callback. In this ticket we need to use these properties (if defined) to set width and height of the resulted image.

#13795 Cannot insert form button Bug Normal Core : Tables
Description

Steps to reproduce

  1. Click in editor inside a form
  2. Click form button icon and complete dialogue
  3. Click OK

Expected result

dialogue should go away and button should be in the editor page

Actual result

dialogue does not go away unless you cancel and no button in form

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

all browsers, Mac OS X Yosemite, 4.5.3, Doksoft Bootstrap Table Tools ==

#13796 "Click and drag to move" tooltip should not be shown in read-only mode Bug Normal UI : Widgets
Description

Steps to reproduce

  1. Setup editor with widgets plugin in read-only mode
  2. Hover over content that renders as a widget

Expected result

No hint text to drag and drop the widget since I cannot do that in read-only mode.

Actual result

I can see the drag target in the top-left corner and its tooltip but it doesn't do anything, so it's just confusing

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

#13797 Paste from Word feature not working in Firefox 41.0.1 Bug Normal General
Description

Steps to reproduce

Paste from Word feature not working in Firefox 41.0.1. This feature works in Chrome and Safari.

Expected result

Establish browser compatibility.

Actual result

Other details

Browser - Firefox 41.0.1 OS - Windows 7 and iOS X El Capitan 10.11 CKEditor version - CKEditor 4.0.1 (revision d02739be4b)

#13799 Clicking inside a nested editable changes editor.checkDirty() to true Bug Normal UI : Widgets
Description

Steps to reproduce

  1. Open an editor with a widget that has a nested editable.
  2. Click inside the nested editable.

Expected result

editor.checkDirty() remains false

Actual result

editor.checkDirty() becomes true

#13801 Japanese Multi-Byte Character doesn't work after Clicking Bold or any other CKE operation Tomasz Jakut Bug Normal General
Description

Steps to reproduce

  1. Click Bold option button
  2. Type multi byte character (Dont' use copy & paste when you try reproducing this.)

これは ( k o r e h a )

  1. これは entry is not displaying properly

kおrえhあ

Expected result

Multi-byte characters should be displayed properly

Actual result

Multi-byte characters are not displayed properly instead each keypress is displayed individually.

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

Chrome only issue. Can be reproed on http://ckeditor.com/demo standard version. Removing "undo" plugin fixes the issue but that limits CKE's api like "change" event handler etc.

#13803 Allow the editor to be destroyed before being fully initialized Szymon Kupś Bug Normal CKEditor 4.5.5 General
Description

This ticket is created in order to handle pull request ​https://github.com/ckeditor/ckeditor-dev/pull/170

This seems to be related to http://dev.ckeditor.com/ticket/11502 I understand that this is not a solution to all problems ( I'm not familiar enough with the implementation of CKEditor ), but it seems to cover some basic needs without changing the APIs.

#13804 Disabling content filter does not stop <object> tags from being converted to <cke:object> tags Bug Normal Core : Parser
Description

Steps to reproduce

  1. Disable content filter in the config.js file
  2. Open the ckeditor
  3. Switch to "Source" mode
  4. type "<object></object>" into the textarea of the
  5. Switch back out of the source mode.
  6. View the source of the ckeditor entry area and see that the object tag has been changed to a <cke:object> tag

Expected result

The ckeditor does not add prefixes/namespaces to these elements. Or the editor allows an option to be configured to prevent prefixes from being added to certain html tags.

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

I have exhausted stackoverflow, the ckeditor documentation, google, etc. and I cannot find a way to prevent the CKEditor from changing html object tags to namespaced/prefixed <cke:object> tags.

I have developed a simple plugin to embed a pdf. When the object tag is inserted into the editor using the editor.insertElement method it is inserted as an object and looks fine. When the user switches to the source mode, they can see the object tag clearly and everything is fine. When they switch back to the "normal" editor mode the object is no longer visible, as it has been changed to <cke:object>

#13806 Removing bookmark around a widget causes an runtime error Bug Normal General
Description

Steps to reproduce

  1. Open the attached ckeditor.html
  2. click the testWidget button
  3. click the bookmark button
  4. click the bookmark button again

Expected result

No errors.

Actual result

Error printed to console: Uncaught TypeError: Cannot read property 'type' of nulla @ ckeditor.js:126window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.range.createBookmark2 @ ckeditor.js:128window.CKEDITOR.window.CKEDITOR.dom.e.createBookmarks2 @ ckeditor.js:452window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.dom.selection.createBookmarks2 @ ckeditor.js:409window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.plugins.undo.Image @ ckeditor.js:954window.CKEDITOR.window.CKEDITOR.dom.b.save @ ckeditor.js:948d @ ckeditor.js:943h @ ckeditor.js:10window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.event.CKEDITOR.event.a.fire @ ckeditor.js:11window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editor.CKEDITOR.editor.fire @ ckeditor.js:13window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.tools.extend.execCommand @ ckeditor.js:235window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.ui.button.CKEDITOR.tools.extend.click @ ckeditor.js:740window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.ui.button.render.n.execute @ ckeditor.js:741(anonymous function) @ ckeditor.js:742(anonymous function) @ ckeditor.js:29window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.tools.callFunction @ ckeditor.js:29onclick @ ckeditor.html:1

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

Chrome, Linux, 4.5.4, only one plugin in the html installed ==

#13808 Find plugin doesn't scroll correctly when zoom is set Bug Normal General
Description

Steps to reproduce

  • put enclosed war to he web server and rund index.html
  • press enter about 20 times
  • write "test"
  • press control+home to return to the top of the editor
  • click on find icon (8th from the left in the toolbar), write "test" to the input field, click find
  • edtior correctly scrolls to the bottom where "test" word is
  • close input popup
  • press control+home to return to the top of the editor
  • click on zoom and set it to 150%
  • click on find icon (8th from the left in the toolbar), write "test" to the input field, click find
  • editor doesn't scroll to the bottom where "test" word is

Expected result

  • editor shoud scroll to the find result regardless zoom

Actual result

  • editor doesn't scroll to the bottom where "test" word is

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

Chrome and IE, Win8, 4.4.7, zoom In Firefox and Edge it works OK!

#13809 Backspace Bug Normal General
Description

Steps to reproduce

  1. Go to : http://ckeditor.com/demo
  2. put cursor in on the beginnig of the second line (body / p / bold) - before Apollo 11
  3. press backspace

Expected result

Newline should be deleted, text on the left side of cursor shoud be h1, text on the right side of the cursor should be paragraph

Actual result

Text on the right side of the cursor gets h1 style

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

Chrome, FF, Win8, other info - CkEditor demo site

#13810 Styling lost when pasting from word in IE9/10 Bug Normal Plugin : Paste from Word
Description

Problem

On some computers the paste from word option loses some or all formatting in IE9 and IE10. We have a virtual machine with IE9 and another with IE10 for testing purposes. When I copy formatted text (Header, bold & italic) and paste it in CKEditor, the formatting is preserved. However when a colleage copies the same text from the same document to the CKEditor in the same virtual machine, he loses some or all of his formatting. We have tested on 5 different machines; of which 2 show the problem. All are running the exact same build of windows 7 and word 2007. Our clients can also reproduce this problem on their production setting, and the problem also occurs on ckeditor.com/demo. We are unable to determine an exact reproduction path. Note that when the problem occurs, we lose heading and bold text, but not italic text. Even more strange: Bold italic text is also preserved.

Steps to reproduce

  1. Make a simple word document with a heading 1, a bold text and an italic text
  2. Copy the entire content
  3. Paste in CKEditor in IE9 or IE10 (either with the paste-from-word button or via ctrl+v)

Expected result

The text is pasted with all formatting

Actual result

The header and bold formatting is lost

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

Source: Windows 7 professional build 7601 Word 2007 (12.0.6727.5000) SP3 MSO (12.0.6728.5000) Destination: Windows 7 professional build 7601 IE9 9.0.8112.16421 CKEditor 4.5.3

We have checked if there is already a difference in the content when on the clipboard with a clipboardviewer. In both the working situation as in the problem situation, the styling is present (see fragment below). The only difference was the flag <w:DoNotShowPropertyChanges/> in the head.

<h1><a name="OLE_LINK2"></a><a name="OLE_LINK1"><span style='mso-bookmark:OLE_LINK2'>Header</span></a></h1> <p class=MsoNormal><span style='mso-bookmark:OLE_LINK1'><span style='mso-bookmark: OLE_LINK2'><b style='mso-bidi-font-weight:normal'>Bold<o:p></o:p></b></span></span></p> <p class=MsoNormal><span style='mso-bookmark:OLE_LINK1'><span style='mso-bookmark: OLE_LINK2'><i style='mso-bidi-font-style:normal'>Italic<o:p></o:p></i></span></span></p> <p class=MsoNormal><span style='mso-bookmark:OLE_LINK1'><span style='mso-bookmark: OLE_LINK2'><u>Underlined<o:p></o:p></u></span></span></p> <p class=MsoNormal><span style='mso-bookmark:OLE_LINK1'><span style='mso-bookmark: OLE_LINK2'><b style='mso-bidi-font-weight:normal'><i style='mso-bidi-font-style: normal'><u>Alles<o:p></o:p></u></i></b></span></span></p> <h1><span style='mso-bookmark:OLE_LINK1'><span style='mso-bookmark:OLE_LINK2'>Nog een header</span></span></h1> <p class=MsoNormal><span style='mso-bookmark:OLE_LINK1'><span style='mso-bookmark: OLE_LINK2'>Gewoon</span></span></p>

#13811 Paste buttons are not visible in the Firefox 40. Bug Normal General
Description

Hi Team,

1.cke_button_paste 2.cke_button_pastetext 3.cke_button_pastetext

Expected result

These button must be visible in the Firefox 40.

Actual result

These button are not visible in the Firefox 40.

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

Can you please check, I am using Ubuntu 12.04.

#13812 When aborting file upload the placeholder for image is left. Tade0 Bug Normal CKEditor 4.5.11 General
Description

Steps to reproduce

  1. Use below code in CKEditor
    var editor1 = CKEDITOR.replace( 'editor1', {
    	extraPlugins: 'uploadimage,image2',
    	imageUploadUrl: 'http://your-url?command=QuickUpload&type=Images&responseType=json'
     );
    
    editor1.on( 'fileUploadRequest', function( evt ) {
    	evt.data.fileLoader.abort();
    	editor1.showNotification( 'File too big', 'warning' );
    	evt.cancel();
    });
    
  2. D&D the file

Expected result

File upload is aborted, message is displayed and placeholder for the image is removed.

Actual result

File upload is aborted, message is displayed but placeholder for the image is left.

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

Browsers: all, CKEditor version 4.5.0.

#13813 When calling CKEDITOR.replace with two extra Plugins twice, the editor does not load on the second time Bug Normal General
Description

I am trying to add two extra plugins. Every time I open the editor, I call CKEDITOR.replace. It works fine first time I open the editor, however if I close it and reopen it again (i.e. call CKEDITOR.replace again), the editor never loads. Also, I noticed that if I leave a single plugin, the problem disappears.

I have took a look into the source code and I found a mistake in the CKEDITOR.scriptLoader.load method.

var scriptCount = scriptUrl.length;

// ...

for (var i = 0; i < scriptCount; i++) {
    loadScript( scriptUrl[ i ] );
}

// ...

var checkLoaded = function( url, success ) {
    ( success ? completed : failed ).push( url );
    if ( --scriptCount <= 0 ) {
	showBusy && CKEDITOR.document.getDocumentElement().removeStyle( 'cursor' );
	doCallback( success );
   }
};

As you can see, there is a loop, where loadScript is called for each scriptURL (a number of scriptURLs equals to scriptCount). However it turns out that loadScript decreases the scriptCount. So if scriptCount = 2, the second scriptURL does not have a chance to be processed, because the loop is ended after the first iteration!

I have resolved this problem by replacing scriptCount to scriptUrl.length in the loop:

for (var i = 0; i < scriptUrl.length; i++) {
    loadScript( scriptUrl[ i ] );
}

You may want to apply this fix.

#13814 .min.js file extensions New Feature Normal Server : Python
Description

Hello.

Why are you not use '.min.js' extensions for files which are actually minified in CKEditor distribution package?

I have an asset manager for my site, which decides to minify JS file or not to minify. Its decision depends on file extension and I have no idea how to determine is it source file already minified or not in another way.

Of course, a can change files extensions after unpacking CKEditor manually, but how can I manage languages and plugins loading?

Thank you.

#13815 Dropdown contents go blank when scroll Bug Normal General
Description

Steps to reproduce

  1. Click on Styles, Fonts, or sizes dropdown in latest demo or nightly demo page.
  2. Scroll down the options (either mouse or keys)

Expected result

Expect to see the menu scroll

Actual result

But, the dropdown goes blank. After about 5 seconds, the menu items reappear

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

Firefox Developer Edition 43.0a2 (2015-10-06) CKeditor version 4.5.4 on demo page and nightly demo page. Mac Os X El Capitan 10.11 ==

#13816 [Webkit/Blink] New strategy for Filling Character handling to avoid changes in DOM Piotrek Koszuliński Task Normal CKEditor 4.5.7 Core : Selection
Description

At the moment…

Basic concepts

  1. FillingChar (FC) is a ZWS text node.
  2. selection.selectRanges() creates FC in Webkits to put selection in tricky places.
  3. FC is not welcome in data returned from the editor and Undo Manager snapshots.
  4. There may be a single FC in the editor at the time. There could be many other ZWSs there as well, as a regular user content.

Lifespan of FC

  1. FC is removed from DOM as soon as possible, when no longer necessary.
  2. FC is removed from DOM on #selectionChange.
    1. FC always survives first #selectionChange.
    2. It is removed on the second event because the first one is always fired by selectRanges() (so it isn't nuked right after created).
  3. FC is removed from DOM before (on) certain #keydown events (<kbd>ENTER</kbd>, <kbd>LEFT/RIGHT ARROW</kbd>, <kbd>BACKSPACE</kbd>, etc.) to not to disrupt the commands.

FC and data processing

  1. On #beforeGetData and #beforeUndoImage, if the selection is in the FC text node, a "native bookmark" is created and saved because changes in DOM done in the next point will break the selection.
  2. On #beforeGetData and #beforeUndoImage, the FC's content (if present) is saved and then replaced in DOM with
    1. nothing (FC becomes an empty text node)
    2. &nbsp;, if the white–space is right after it
  3. Data is retrieved from editor DOM (editor.getData()), or an undo snapshot is created (CKEDITOR.instances.editor.undoManager.snapshots.map( s => s.contents )). Both data and snapshots are FC–free.
  4. On #getData and #afterUndoImage FC's text in DOM is reverted back to the state saved on #beforeGetData or #beforeUndoImage.
  5. On #getData and #afterUndoImage the native selection, devastated on #beforeGetData or #beforeUndoImage by changes to FC text content, is finally restored.

Problems

  1. Because FC is removed from DOM on various data operations:
    1. A native #selectionchange is fired by document. It creates an infinite loop (#13593) if such listener is to be used in the editor.
    2. IME (Composition) gets broken when Undo Manager snapshot is taken. This is because FC is removed from DOM and the native selection changes. Try setInterval( function() { var i = new CKEDITOR.plugins.undo.Image( CKEDITOR.instances.editor ); console.log( i.contents ) }, 2000 ); and start composition.

Related tickets


A new approach

Basic concepts

  1. When retrieving data or creating Undo Manager snapshots, remove FC from HTML strings, but not from DOM.
    1. How to tell which ZWSs are user content in HTML string and which belong to FC then?!
      1. The trick is to use a number of ZWS for FCSeq. Like 7, or 8. Or 42.
      2. It makes finding FCSeq in the contents much easier. If there are always 7 ZWS for FCSeq, any group of 7 ZWS can be removed and, if there are like 10 ZWS, the algorithm will know that 3 ZWS belong to the user content (still 7 to left to purge).

getData

  1. Do noting on #beforeGetData.
  2. Remove a pre–defined number of ZWS from HTML string (don't touch the DOM).

getSnapshot

  1. Remove a pre–defined number of ZWS from HTML string (don't touch the DOM).

SelectionChange, keyboard events

  1. FCSeq is removed from DOM on selectionChange and on keyboard events, just like in the "old approach".

Problem with bookmarks

  1. createBookmark2( true ) is used to create undo snapshots. It normalizes snapshot content so adjacent text nodes are considered a single text node.
  2. Because FCSeq is removed from HTML string while a snapshot is being taken (previously removed from DOM before the operation), addresses and offsets in the bookmark may be incorrect.
    1. The bookmarking algorithm must be smart to anticipate that the FCSeq visible in DOM will be gone in the snapshot data.
    2. Bookmark addresses and offsets must be corrected so when the bookmark is restored, the selection is correctly anchored.
    3. It is fun!
#13817 [Blink/WebKit] Improve the filling char hack to not touch DOM when selection should not change Piotrek Koszuliński Bug Normal General
Description

To be filled by @a.nowodzinski.

#13818 Allow to link widget style definitions, so applying one style might disable the other Wiktor Walc New Feature Normal CKEditor 4.6.2 General
Description

This is a follow-up of #13200 issue.

Some styles styles might exclude the others, take alignment class for an example. Having left-align and right-align class, we want to use only one at a time.

What we can do is to add group property to the style definition passed to config.stylesSet.

var stylesSet = [
    { name: 'Left align', type: 'widget', widget: 'image', attributes: { 'class': 'left-align' }, gorup: 'alignment' },
    { name: 'Right align', type: 'widget', widget: 'image', attributes: { 'class': 'right-align' }, gorup: 'alignment' }
];

Scope of the Fix

For the time being let's restrict only to widget system. Later on we might bring support for that for Object styles, that are implemented in core/style.js.

Multiple Groups

Now there possiblty might be a case when style fits (excludes) more than one group. So we should also accept array of groups in such case.

#13821 Background color may be lost when changing Font Size Tomasz Jakut Bug Normal Core : Styles
Description

Reproduced on full editor

Steps to reproduce

Via Content panel, create 'Text' visual Click inside the Text visual to surface the Editor

Via Editor, change Text Color to 'Blue' enter some text looks good; see blue text

Via Editor, change Font Size to 16

Continue entering text... See blue text in new (16) font size as expected

Via Editor, change Background Color to 'Yellow'

Continue entering text... See blue text with yellow backgroud in 16 font size as expected

so far, so good

Now, change Font Size to 20

Continue entering text...

Expected result

background yellow color should be retained when font size is changed

Actual result

  • Unexpectedly, we only see blue text. The background color (yellow in this case) has been lost

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

OS=Windows, Browse=Chrome, IE11, Firefox 38.0.5

#13823 CKEditor: Media embed plugin does not work correctly Bug Normal General
Description

Steps to reproduce

  1. Install CKEditor 4.5.4 and Media Embed Plugin
  2. Open page with CKEditor (inline mode)
  3. Insert link to Twitter post (for example: https://twitter.com/CoutinhoTouch/status/602512007099711488)
  4. Save the result of work (html-code) in database and update the page.
  5. Sometimes inserted content is not show properly. Widget is blank.

Expected result

Embeded Twitter widget

Actual result

blank widget. iframe inside widget contain this string: <!--{cke_protected}%3Cscript%20async%3D%22%22%20charset%3D%22utf-8%22%20src%3D%22%2F%2Fplatform.twitter.com%2Fwidgets.js%22%3E%3C%2Fscript%3E-->

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

Chrome 45 The problem can be solved by reopen insert widget dialog for that widget and click 'ok' button.

#13827 Font(Dropdown) Not Working in IE Popup. Bug Normal UI : Toolbar
Description

Using C#: Add CKEditor .dll

include CKeditor in popu window,

1) IE not working properly

Font & Size dropdown not properly showing.

#13828 Widget classes should be added to wrapper rather than widget element Szymon Kupś Bug Normal CKEditor 4.6.0 General
Description

As @Reinmar writes:

Currently widget classes are applied to widget elements. This makes it impossible to achieve various results - e.g. ​http://stackoverflow.com/questions/29704019/how-to-floatleft-a-container-with-an-image-having-a-relative-width

We wanted to keep classes on elements because we thought that it allows to create the same stylesheets for the content inside editor and outside. Unfortunately, due to the wrappers and CSS's limited capabilities it makes it impossible to achieve some pretty standard results.

Note, that it will not be that uncommon to move classes to the wrapper because e.g. image2 already moves alignment classes there. It's a pity that we didn't learn from that fact earlier ;/.

So all the methods like addClass should add to the wrapper rather than to the widget's element.

This is part of #13200 issue.

#13829 Add class based on widget type to the widget wrapper Szymon Kupś Bug Normal CKEditor 4.6.0 General
Description

This is a follow-up of #13200 issue.

As @Reinmar writes:

Inability to write rules matching certain widget wrapper + widget class

Once classes will be moved to wrappers it would be good if it was possible to write rules like:

.image.centered { ... }
.embed.centered { ... }

As I experienced recently centered image's wrapper may need very different styles than that of an embed widget. E.g. image's wrapper must have text-align: center. This affects embed widgets which may be unwanted if we only want to use margin-left/right: auto.

Hence, it will be useful if widget wrapper had classes based on widgets names - e.g. "widget-image", "widget-embed", etc.

#13831 Allowed content rules syntax doesn't allow all classes for certain HTML elements Bug Normal Core : Styles
Description

Steps to reproduce

  1. Configure 'allowedContent' in the config.
  2. Add 'strong' to allow any class (i.e. 'strong(*)').
  3. Apply bold style to some text in the editor.

It seems that clicking the bold icon again to unbold the text doesn't work.

#13836 Edit link with href ###root### not working Bug Normal General
Description

edit link as <a href="###root###">test</a>

not working. Ckeditor is last version.

#13837 Mixed paragraph content in table cells Bug Normal Core : Tables
Description

Steps to reproduce

  1. Create a table 1x1 and enter some text
  2. Underneath the table type two short paragraphs of text
  3. Copy the two paragraphs and paste onto end of the table cell

Expected result

<td><p>some text</p><p>One</p><p>Two</p></td>

Actual result

<td>some text<p>One</p><p>Two</p></td>

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

Happens in Firefox (41) and IE (10)

Is there a way to force paragraphs in table cells?

#13843 Editor doesn't focus on custom widget on load Bug Normal Core : Focus
Description

Steps to reproduce

  1. Add a widget (with editable content) at the start of the editable content and save.
  2. Close the editor.
  3. Load the editor.

(I have attached the config that I'm using. The custom widget that I used is simplebox.)

Expected result

The editor should focus on the first editable element in the widget.

Actual result

The editor doesn't focus on the widget until the user clicks in it.

config.js

I added the following lines of code in the config file: CKEDITOR.on('instanceReady', function(e) {

e.editor.focus();

});

#13845 Editor screen collapse after switching from full screen mode to normal mode Bug Normal General
Description

Steps to reproduce

  1. Go to Editor and Select Full Screen option
  2. Edit something there
  3. Back to small screen

Expected result

When user is back to small screen after editing content in full screen mode the screen should be as is as it was before shifting to full screen mode.

Actual result

When user is back to small screen after editing content in full screen mode the screen collapse shows editor get shifted slightly to left under something makes unable to see full editor.

Other details (browser, OS, CKEditor version, installed plugins) ==Browser: Google chrome

Editor version : 4.5.3 All plugins installed came in full featured CK Editor

#13847 Some functions on CKeditor not working Bug Normal General
Description

Steps to reproduce

Expected result

Actual result

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

Drupal 7.39 Windows 8.1 Happens on IE,Firefox,Chrome

#13848 Grammer Check for CKEditor Task Normal General
Description

I want to configure the Grammer check with CKEditor. So what I found out was AtD plugin, but I am not clear about the steps that need to be followed to configure it.

Can someone please help me out on these??

#13849 Firefox: Opens a blank Browse Server window Bug Normal General
Description

Steps to reproduce

  1. In the CKEditor click anywhere in the text
  2. Click on the "Image" button and the "Image Properties" dialog pops up.
  3. Click on the "Browse Server" button next to the "URL" field pops up an empty browser window.

Expected result

Open the browse server window

Actual result

Opens a blank browser windows

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

Tested on http://ckeditor.com/demo. Couldn't test it http://nightly.ckeditor.com/ because the "Browser Server" button is not enabled.

Tested Firefox Developer Edition v43.0a2 (2015-10-19), Windows 7 Enterprise SP1 64-bit and it doesn't work.

Tested on Google Chrome v46.0.2490.71m and it works.

Tested on Internet Explorer v11.0.9600.17843 and it works.

#13850 [IE] Destroying editor without iframe test fails Szymon Kupś Bug Normal CKEditor 4.5.5 General
Description

Test /tests/tickets/13790/1 fails in IE.

Reproduced in IE11, IE8.

#13853 Editable manual test cleanup Task Normal General
Description

Cleanup the notwantedelementsonselectallandbackspaceedge manual test. It looks that Bender md parser won't escape automatically text enclosed within ` chars.

AFAIK html special chars should be automaticaly escaped within block code listings, not sure if the same rule applies to inline code. Anyway if it's a Bender bug then report a proper ticket and convert if to entities anyway (coz we I don't expected this issue to be solved soon).

#13854 Data loss on copy and pasted content from MS-Word 2010 into CKEditor Bug Normal Core : Pasting
Description

Steps to reproduce

Our client prepare contents in various version of MS-Office. When using MS-Word 2010 with bullets points and if the first word of that bullet point is hyperlink then hyperlink gets deleted in IE11.

Original text is as follows

► xyz.com brings Lorem ipsum dolor sit amet, xyz.com consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi xyx.com gets deleted and the above text become as follows

Missing data

xyx.com gets deleted and replaced with '< >'. The above text become as follows

Actual result

< > brings Lorem ipsum dolor sit amet, xyz.com consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur

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

CKEditor 4 It happens only in IE11 if copy pasted from MS-2010 and bulleted text starting with hyperlink

#13855 I wanted to disable the paste functionality by using the middle mouse button.can't able to do the restriction by editing the config.js file Bug Normal General
Description

Steps to reproduce

  1. Copy an document using middle mouse button
  2. paste it in the ckeditor by clicking the middle mouse button

Can't able to paste the document

Can able to paste the document

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

#13856 Update SCAYT Task Normal CKEditor 4.5.6 General
Description

Once scayt#108 issue is closed we can look to update SCAYT references to a recent version.

This should also close issues related to SCAYT update:

#13858 Unhandled exception line 1935 ckeditor/core/selection.js when paste button pressed when run as an office addin. Bug Normal Core : Pasting
Description

Steps to reproduce

Please note this exception occurs when I run ckeditor inside an "Apps for office" extension.

  1. Using Visual Studio open the project I have attached and run it.
  2. Click in the ckeditor that appears to the right.
  3. Type something.
  4. Select it and press copy it (ctrl+c).
  5. Press any of the paste buttons.

Expected result

I would expect it to paste.

Actual result

I get an unhandled exception.

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

This is running inside whatever browser "Apps for Office" or "Office Addin" uses.

#13859 createTestsForEditors should provide editor bot as a second argument Tomasz Jakut Task Normal CKEditor 4.5.5 General
Description

It's going to be way more convenient. Some tests need to use editorbot, and instead of going around and picking yourself by using bender.editorBots[ editor.name ] you can just use second parameter in your TC.

So you can end up with code like:

'test foo': function( editor, bot ) {
	bot.setHtmlWithSelection( '<p>foobar^</p>' );
	// ...
},
#13860 [Chrome] Text formatting like text color or background color are removed on copy&paste Bug Normal General
Description

Text formattings that are done with span elements like text color and background-color are removed, if one copies the text from one CKEditor to another. It worked in older versions of CKEditor, at least in 4.4.8. You can reproduce the issue also on the demo page of CKEditor.

Steps to reproduce

  1. Open the CKEditor full-featured demo in two tabs
  2. Add some text color and background color to a part of the text in the first tab.
  3. Copy that text into the clipboard
  4. Paste the text again in the editor on the second tab.

Expected result

Text color and background color formatting should still be there, like any other formatting like bold or italics.

Actual result

Text color and background color formattings are removed (because the span element for the style definition is removed), other formattings like bold and italics are still there. As I understand, the ACF is by default allowing these elements and styles and should not remove them.

I saw that Chrome sometimes adds the color in the style attribute as rgb(x,y,z) instead of #color, perhaps this is the problem for the ACF.

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

Reproduced in latest Chrome (46, Windows). I cannot reproduce this issue in Firefox (41, Windows).

#13861 all text fields in tool dialog menus are not enabled Bug Normal General
Description

Steps to reproduce

  1. Click on Image tool
  2. Tool dialog opens
  3. Text fields do not accept input

Expected result

text fields are editable

Actual result

text fields are not editable

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

I have 3 apps using latest ckeditor v4.5.4. All use same install and config files and all are setup the same. In one app only, all text fields in all tools (image, link, table, ...) are not enterable whn the menu opens. Clicking in field does nothing--they do not accept focus. All other input controls (checkbox, radio) work fine.

In Firefox and Chrome, if toggle in and out of source mode, then open the tools again the text fields start working as expected. However in IE this does not work so they are never editable.

I reviewed everything I could in Firebug and can see no difference in the CSS or DOM between the different applications, or in the broken application before/after going into source mode. The fields simply will not get focus.

#13863 Cursor doesn't dissapear after unfocusing on background svg Bug Normal General
Description

Steps to reproduce

  1. Focus on editor
  2. Unfocus editor by clicking on background svg at the moment when cursor is visible (!)

Expected result

Cursor should be hidden

Actual result

Cursor is not hidden

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

One could recreate this bug here http://jsfiddle.net/denova/go3kzpyt/

Not hidden cursor also is shown on CKEditor-unfocus-cursor-bug.png attached image.

Presented svg is bigger than CKeditor space, so place for unfocusing exists.

Used last CKEditor version from cdn (in jsfiddle's 'external resourses').

I use windows 7 x64 Professional, Google Chrome 46.0.2490.71 m.

Thanks!

#13864 Delete space above widget Bug Normal UI : Widgets
Description

Steps to reproduce

  1. Go to http://ckeditor.com/demo#widgets
  2. Attempt to delete the first paragraph or any of the paragraphs between the widgets

Expected result

It should be possible to delete the paragraph.

Actual result

The caret moves into the widget before (if using backspace) or after (if using delete key) and the paragraph is not deleted.

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

Reproduced on Safari 9.0.1 but doesn't appear browser specific.

#13865 [Chrome] Copy - Paste adds non-breaking space Bug Normal General
Description

Hi, The problem is that a non-breaking space is replaced by empty char after saving changes in CKEditor, and so the text before and after the space is joined.

Steps to reproduce

  1. Go on http://ckeditor.com/demo
  2. Copy some text from the CKEditor frame
  3. Press ENTER
  4. Type some text and press SPACE
  5. Press Ctrl+V / Cmd+V (depending on your Operating System)
  6. In the Web Dev Tools, in the source, you'll see "Your text&nbsp;Your pasted text"

Expected result

"My text my pasted text"

Actual result

"My text&nbsp;my pasted text"

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

Reproduce on CKEditor 4.4.7, 4.5.4 Ubuntu 15.04, Windows XP, Windows 7 Chrome v46.0.2490.80 (Ubuntu 15.04)

#13866 Content Loses Formatting When Copied From Citrix Session into Local CKEditor Instance Bug Normal Core : Pasting
Description

Content that is pasted from a Citrix-delivered application (Word, Outlook, etc.) loses formatting when pasted into a non-Citrix delivered browser. Examples of lost formatting are bold, valid bullets (created with Word bullet tool vs. "fake" typed bullets) that should be transformed into <ol> and <ul></li> structures are instead changed to HTML entities (&bull; with trailing &nbsp;).

Pasting into IE 11 from Citrix to local does retain bullet formatting, but loses bold formatting, and extra <p> tags are injected where there should be none.

Screenshots of each condition/result and source are provided. Primary platform is Windows 7, Citrix is also on Windows Server 2008 R2.

#13867 CKEditor fails to load on IE8/9 when a polyfill for classList is included Marek Lewandowski Bug Normal CKEditor 4.5.5 General
Description

Steps to reproduce

  1. load a classList polyfill onto the page with polyfill from https://developer.mozilla.org/en/docs/Web/API/Element/classList
  2. load ckeditor onto the same page after the polyfill

Expected result

Everything should work nice and fine.

Actual result

There will be errors on the page about this.$.classList is undefined for elements within the text-editor iframe $(".cke_wysiwyg_frame .cke_reset").

All the features will not work except the very basic textbox.

Other details (browser, OS, CKEditor version, installed

My environment was IE8 on windows 7, but I believe this can happen on ie9 as well. The ckeditor version was 4.5.4.

My obseravtion is that the elements within the iframe need to also detect if classList is available, instead of doing the detection just once during page load.

I traced to this commit. https://github.com/ckeditor/ckeditor-dev/commit/0836608

#13868 got a problem when ck editor using Bug Normal General
Description

Hello, I got a problem when ck editor using in some devices like

  1. MI
  2. LG
  3. Samsung
  4. Asus

It's functionality is not working properly or some time it does not display in proper seance.

give me response earlier . thank you

#13869 CK Editor is not working in some Mobile devises Bug Normal General
Description

Scenario

  1. I have a form containing CK-Editor
  2. In some Mobile Devices,text area is not being converted into CK-Editor, and hence, Users are not able to submit the form.
  3. I test in Chrome browser, in below devices Samsung grand, ASUS ZENFONE 5, Redmi 4G.
  4. In Computer Browser it works perfactly, but just in some mobile devices it creates problems i have mentioned above.

Please Advise me what should I do.

#13872 Read-only mode allows cut Tomasz Jakut Bug Normal CKEditor 4.5.5 General
Description

Steps to reproduce

  1. Load CKEditor read-only, http://ckeditor.com/demo#read-only
  2. Select text
  3. Ctrl-X or Command-X
  4. Ctrl-Z or Command-Z

Expected result

  1. During cut, nothing should happen, or text should be placed on clipboard without being removed.
  2. Undo should have no effect.

Actual result

  1. Cut removes text and puts in on the clipboard.
  2. Undo exits out of read-only mode.

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

Tested on Chrome/Linux, Chrome/Mac, Safari/Mac.

#13873 CKEditor 3.6.6 Paste buttons behaviour broken in latest Firefox version 41 Bug Normal Plugin : Paste from Word
Description

Steps to reproduce

  1. Using CKEditor 3.6.6

We have integrated the editor version 3.6.6 into our content management system [CMS] which also has some website-specific editor add-ons configured and therefore upgrading is not an option for our website.

  1. Use latest Firefox version 41+
  2. For reference purposes, the editor toolbar on previous Firefox versions worked correctly.

Expected result

Previously, upon entering the editor text box to post an article - text, photos, etc. - the clipboard buttons were used to update content (copy/paste) using Word documents *.doc, Open Documents *.odt, or plain text.

Actual result

The clipboard worked well until the latest updates to Firefox. The clipboard buttons become unhighlighted when we enter into the text box to begin to post information.

This behaviour only affects the latest Firefox. Internet Explorer and Google Chrome work correctly, but our volunteers do not use those browsers, preferring the open source community software instead.

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

We have been promoting open source software for both server and desktops since the early 1990's, with LAMP servers and netscape/firefox browsers. All our volunteers use Firefox to update the website and wish to happily continue the tradition as we did.

We need a resolution to this clipboard toolbar, a code snippet to the module(s) affected, to ensure our current interface will function properly for years to come.

Thank you to the open source community.

#13875 CKeditor Xss call affects my page performance Bug Normal General
Description

Steps to reproduce

  1. I have 100+ ckeditor long text fields in page. when i load the page, 100+ xss call's are being triggered. one by one for each field seperatly(One xss call for a field).
  2. It is causes increase in page load time.
  3. Is there way to send all the xss call in a single post?

Expected result

Is there way to send all the xss call in a single post? so that i can reduce the page load time?

Actual result

Every field one xss call is made.

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

Reproduceable in all the version, I am using ckeditor via drupal module.

#13876 tab plugin does not support keyTabTools if tabSpaces > 0 Bug Normal Core : Keystrokes
Description

Steps to reproduce

  1. set tabSpaces to 10
  2. click into a table cell
  3. press tab

Expected result

next cell should be selected

Actual result

nbsp is inserted with respect to tabSpaces as if we were NOT inside a table

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

chrome, latest cke, windows

The logic block in the plugin is backwards, if tabspaces > 0 then event.cancel is called before the keyTabTools can be evaluated. These should be reversed so that if keyTabTools is true, it checks if it is inside a table FIRST, so it can do its thang.

possible fix

swap

if ( tabText){...}

and

if ( tabTools ) {...}

blocks around

So that the tabTools condition occurs BEFORE the tabText one

The way it is now keyTabTools=true does nothing, if tabSpaces is > 0 since tabSpaces always event.cancel's if so.

#13878 4.5.4 full package loading problem Bug Normal General
Description

Steps to reproduce

  1. ckeditor.com/demo/#full
  2. reload the page several times
  3. click the editing area but not clicked or long time to activate..

Expected result

editor area will be clicked and cursor blinks

Actual result

but can not click or takes longer time than 4.5.3

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

browser: IE 11 OS: windows7 ckeditor 4.5.4 installed plugins : full + tableresize + uploadimage, office2013 skin

#13879 It is not possible to prevent text from dropping. Tomasz Jakut Bug Normal CKEditor 4.5.5 General
Description

Steps to reproduce

  1. Use below code in CKEditor
    CKEDITOR.replace( 'editor1', {
                    on: {
                        instanceReady: function( evt ) {
                            evt.editor.document.on( 'drop',  function(ev){
                                console.log('precented');
                                ev.data.$.preventDefault();
                             });
                        }
                    }
                } );
    
  2. Select and D&D some text.

Expected result

Text should not be dropped.

Actual result

Text is dropped.

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

Happens in all browsers starting from CKEditor 4.5.0

#13880 Link url encode does not work Bug Normal General
Description

Steps to reproduce

  1. select some text and press 'link' button
  2. upload file with name like 'опять двойка.jpg' using ckfinder
  3. attach this file to link
  4. save

Expected result

link should have source like <a href="%D0%BE%D0%BF%D1%8F%D1%82%D1%8C+%D0%B4%D0%B2%D0%BE%D0%B9%D0%BA%D0%B0.jpg">link</a>

Actual result

link have source like <a href="опять двойка.jpg">link</a>

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

tested: chrome/firefox/ie linux/windows CKEDITOR.env.version 537 CKEDITOR.version "4.4.5"

#13881 Allowed attributes, allowed class sanitized by toggling source Bug Normal UI : Source View
Description

Steps to reproduce

  1. Allow class attribute on tables
  2. Allow specific class
  3. Add specified class on table element using source. Toggle source off, the class is sanitized and contains cke_show_border. Toggle source back on, class attribute is gone.

Expected result

Class is applied and available to edit in the future. Source can be toggled without clearing allowed classes.

Actual result

Allowed class is sanitized by toggling source

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

All OS, all browsers. CKE 4.5.4. Plugins: table, tableresize,quicktable

#13882 Customized package bug, Bug Normal General
Description

Steps to reproduce

  1. Take the custom package kit builder
  2. Take 'iframe', 'flash', and 'form' out
  3. You'll find a bug, server is unable to link 'dir' command (from) ckeditor.js to anything

Expected result

Customized text editor.

Actual result

No editor shown at all

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

Chromium browser under Linux Debian, 4.5.4

#13883 Copying table using context menu strips off styles. Piotr Jasiun Bug Normal CKEditor 4.5.5 General
Description

Steps to reproduce

  1. Paste below code in source mode and switch to wysiwyg
    <table border="1" cellpadding="1" cellspacing="1" style="width:500px">
        <tbody>
            <tr>
                <td style="background-color: rgb(102, 102, 204);">s</td>
                <td>s</td>
            </tr>
            <tr>
                <td>s</td>
                <td style="background-color: rgb(255, 255, 0);">s</td>
            </tr>
            <tr>
                <td style="background-color: rgb(255, 204, 0);">s</td>
                <td style="background-color: rgb(255, 204, 0);">s</td>
            </tr>
        </tbody>
    </table>
    
  2. Select cells using mouse and press Ctrl+C or roght-click and select copy
  3. Paste table using context menu - right-click somewhere below the table and select Paste (Paste into dialog using Ctrl+V and click OK)

Expected result

Just like in case of keyboard (Ctrl+C, Ctrl+V) table should be pasted with background color and width.

Actual result

Styles are being removed and raw table is pasted.

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

Problem can be reproduced in Blink and Webkit browsers from CKEditor 4.5.0

#13884 Copy/paste table in Firefox results in just first cell being pasted Tomasz Jakut Bug Normal CKEditor 4.5.7 General
Description

Steps to reproduce

  1. Paste below code in source mode and switch to wysiwyg
    <table border="1" cellpadding="1" cellspacing="1" style="width:500px">
        <tbody>
            <tr>
                <td style="background-color: rgb(102, 102, 204);">s</td>
                <td>s</td>
            </tr>
            <tr>
                <td>s</td>
                <td style="background-color: rgb(255, 255, 0);">s</td>
            </tr>
            <tr>
                <td style="background-color: rgb(255, 204, 0);">s</td>
                <td style="background-color: rgb(255, 204, 0);">s</td>
            </tr>
        </tbody>
    </table>
    
  2. Select whole table with a mouse and Press Ctrl+C (You can also use Copy from context menu)
  3. Press Ctrl+V or right-click below table and select Paste (Ctrl+V into paste dialog and click OK)

Expected result

Whole table should be pasted and formatting preserved.

Actual result

Only first row gets pasted.

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

Problem can be reproduced from CKEditor 4.5.0 in Firefox only.

NOTE: From CKEditor 4.0 - 4.4.8 the above scenario resulted in table being pasted but without width style (background was preserved).

#13885 Make Image2 widget linking possible without a direct dependency of Link Plugin. Olek Nowodziński Task Normal CKEditor 4.5.5 UI : Widgets
Description

A followup of https://www.drupal.org/node/2510380.

Problem

At the moment, linking of Image2 widgets depends strictly on Link Plugin's CKEDITOR.plugins.link.(parse|get)LinkAttributes

Because of this hard dependency, when the Link plugin is not loaded, there's no way to enable Image2 widget linking with an external link parser/serialiser (like (parse|get)LinkAttributes).

Cake recipe

The idea is quite straightforward: let's provide the link parsing/serialisation API via static CKEDITOR.plugins.image2 namespace, which already exists.

A method like CKEDITOR.plugins.image2.getLinkAPI() could return CKEDITOR.plugins.link namespace. Or a custom object, if one decided to overwrite it:

CKEDITOR.plugins.image2.getLinkAPI = function() {
    return {
        getLinkAttributes: function () { custom implementation },
        parseLinkAttributes: function () { custom implementation }
    }
}

Profits:

  1. Re–enable linking when Link plugin is not loaded.
  2. Allow a custom parsers/serialisers, which could be much simpler than default CKEDITOR.plugins.link.(parse|get)LinkAttributes implementations.
#13886 Invalid handling of CKEDITOR.style instance with "styles" property by CKEDITOR.filter kkrzton Bug Normal CKEditor 4.5.9 General
Description

A followup of https://www.drupal.org/node/2598070.

Revealed by http://cgit.drupalcode.org/drupal/commit/?id=cea9c14, which was meant to fix https://www.drupal.org/node/2589779.

Steps to reproduce

  1. For a given filter
    var filter = new CKEDITOR.filter( 'a {color}' );
    
  2. Define a style with styles: {}. Like
    var style = new CKEDITOR.style( { element: 'a', styles: {} } )
    
  3. Check in in the filter.
    filter.check( style );
    

Expected result

Check passes.

Actual result

Check fails. But if defined a key in styles it will pass.

var style = new CKEDITOR.style( { element: 'a', styles: { color: 'red' } } );
filter.check( style ) -> true.

Also if removed styles key from definition it will pass.

var style = new CKEDITOR.style( { element: 'a' } );
filter.check( style ) -> true.

Ideas

Something could be wrong with https://github.com/ckeditor/ckeditor-dev/blob/7856fe93f844be5053fa62cad1ece1ba6fc8635b/core/filter.js#L996-L1017.

#13887 Target attribute value is altered when using edit link Bug Normal CKEditor 4.5.5 UI : Dialogs
Description

Steps to reproduce

  1. Create a new hyperlink
  2. Toggle the editor to show the source
  3. Add a target attribute to the a tag with something like "sso-link" as the value
  4. Toggle the editor to not show the source
  5. Right click the hyper link and select 'Edit Link'
  6. Save the link, there is no need to change anything
  7. Toggle the editor to show the source again

Expected result

The value of the target attribute will not have changed

Actual result

The value of the target attribute has changed from "sso-link" to "ssolink"

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

According to w3.org the target attribute should be allowed any valid browser context name, which is any string that is ASCII.

The code change that caused this was implemented to fix an IE bug onticket 5278 however it was a little to aggressive with removing invalid characters.

#13890 Missing smiley translation meta Marek Lewandowski Task Normal General
Description

While merging PR#222 I didn't add any meta.

#13891 Browse File not visible in CKEditor ImageProperties under upload tab IE 11 few versions Bug Normal General
Description

Hi Team,

I am using ckeditor_4.5.4_full version in my application and I am facing issue with browse button in IE version "11.0.9600.18059". In this when I click on image icon on the tool bar of CKEditor then new window Image Properties is opened. In that window under upload tab it was visible only Send it to the server button, not visible browse file control(see attachment).And the ImageProperties popup also not closing.

In the browser console I got the error "Access Denied" in Line 99 of ckeditor.js[Code : CKEDITOR.dom.document(a.contentWindow.document)].

The above bug found in IE 11.0.9600.18059 and IE 11.0.9600.17207 but it is working fine in IE 11.0.9600.17843., Mozilla and Firefox...

Please help me to resolve the problem.

Thanks In advance, R Rao, Dot Net Developer, Hyderabad, INDIA Mail:ram.madhu877@gmail.com

Browser: IE11, windows 7 and above OS.

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