Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (10801 - 10900 of 11754)

Ticket Summary Owner Type Priority Milestone Component
#13603 Can't embed BMP images Piotr Jasiun Bug Normal CKEditor 4.5.3 General
Description

Can drag and drop jpg/gif/png images into the editor, but not bmp files with imageupload plugin.

#13605 [Edge] Context menu doesn't close if you click outside of it. Bug Normal General
Description

Copy this sentence to your clipboard. Go to http://ckeditor.com/demo in Edge browser. Right-click on the Apollo 11 title. Context menu displays, with Paste as its only option. Click on July 20, 1969 (anywhere, really). Context menu does not close.

#13606 Enter key scrolls down the page when parent is 'html' Bug Normal General
Description

This is related to ticket #9136. It is the same issue except it happens when the parent is 'html' instead of 'body'

#13607 Copying text containing words marked as misspelled by SCAYT includes extra markup Bug Normal UI : Spell Checker
Description

If you have spell check as you type (SCAYT) enabled and have text with the red squiggles underneath, denoting misspelled words, then select and copy that text, pasting the text into another document includes the <span>s used by SCAYT to add the red squiggles.

These should not be included in the text copied to the clipboard; they break the user's expected results and can contaminate content (especially if special components are used that require specific formatting of content).

#13608 Windows Edge - SOURCE button crashing browser Bug Normal General
Description

This happens across the board, even on CKEditor.Com demos. Edge crashes when you click on the SOURCE option in the editor.

#13609 [Edge] Browser crashes when switching to source mode Piotrek Koszuliński Bug Normal CKEditor 4.5.2 UI : Toolbar
Description

Hi CKEditor Team,

I have just upgrade to the window 10. I found the issue of viewing source of ckeditor content. It just refresh page as I click on Source option from toolbar of ckeditor.

I found this issue in CKEditor 4.5.1 (revision a513a92)

#13610 [Safari, Lineutils] Problems rendering lineutils Bug Normal UI : Widgets
Description
  1. Visit samples/old/codesnippet/codesnippet.html
  2. Drag code snippet widget

Expected: Lineutils shows gray, striped lines.

Actual: The line is invisible.

Related to #13428?

#13611 IE11 selectRanges -> nativeRange setStart indexSizeError Bug Normal General
Description

I use the Ckeditor 4.5.1

test : IE11

  1. typing the text : testTitle
  2. typing the text : CTRL + Z
  3. selectRanges -> nativeRange.setStart(range.startContainer.$, h.startOffest) : IndexSizeError

Thankyou

#13613 [Edge] Typing in an empty editor creates DIV tags rather than P tags Bug Normal General
Description

Steps to reproduce

  1. Go to http://nightly.ckeditor.com/15-07-31-06-08/standard/samples/
  2. Clear the contents of the editor (make sure it's completely empty).
  3. Type a few paragraphs.
  4. Note that MagicLine shows up between every line.
  5. Switch to source view. Note that each paragraph is a DIV tag.
  6. Switch to wysiwyg view and then back to source view. Note that the paragraphs are now P tags.

Expected result

Paragraphs are wrapped in P tags as the user enters text.

Actual result

Paragraphs are wrapped in DIV tags as the user enter text. DIV tags are converted to P tags when the content is reloaded.

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

Edge Browser in Windows 10

#13614 CKEditor throws TypeError Exception when removed immediately after initialized Bug Normal General
Description

JS Fiddle here: http://jsfiddle.net/dustyjewett/2Lpa6pjm/1/

Steps to reproduce

  1. Initialize CKEditor in a page
  2. Remove DOM element immediately

Expected result

DOM element removed, no exceptions

Actual result

TypeError thrown.

Use Case

Single Page apps now create/destroy the DOM as needed to render the user display. In the normal case of events, it is likely that these types of exceptions are an indicator of DOM thrashing... creating/destroying DOM/objects that are wasteful. During unit/acceptance tests, however, it is extremely common to create/destroy objects in quick succession.

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

Default plugins, all browsers.

-- Assumptions below, grain of salt advised --

This exception occurs because of the numerous setTimeout() used during/around initialization of ckeditor and various plugins. wysiwygarea and autogrow are the specific plugins that have caused me the most grief.

While it's unfortunate that setTimeout() is used so often, these plugins should guard against the possibility that the state of the editor has changed since setTimeout() was originally called.

The ideal way to fix this is to provide a guard in the tools.setTimeout (or, a new safeSetTimeout method) that checks for the existence of the DOM elements required before firing.

A stopgap before something like this can be designed/implemented would be to add guards to the core usages of setTimeout.

#13616 List items are lost when pasting from Word document Bug Normal Plugin : Paste from Word
Description

Steps to reproduce

Paste the attached document from MS Word 2010 into CKEditor in IE11

Expected result

Three list items should be pasted

Actual result

<p>Degree &deg;</p>

<p>Angle &nbsp;&ang;</p>

<p>Pi &pi;</p>

<ul>
	<li>&lt; &gt;<!--   -->&lt; &gt;<!--   -->
	<p>Baz</p>
	</li>
</ul>

<p>&nbsp;</p>

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

Tested on std-all with the following setup:

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>CKEditor</title>
	<script src="//cdn.ckeditor.com/4.5.1/standard-all/ckeditor.js"></script>
</head>
<body>
<textarea name="editor1"></textarea>
<script>
	CKEDITOR.replace( 'editor1', {
		pasteFromWordRemoveFontStyles: false,
		pasteFromWordRemoveStyles: false
	} );
</script>
</body>
</html>

Did not try other browsers.

#13618 Context menu hidden when editor hosted in a div with a high z-index Bug Normal General
Description

Steps to reproduce

  1. Use the divarea plugin
  2. Embed the editor in an absolute div with a large z-index -> 10001
  3. Right click in the editor to invoke the context menu
  4. Notice that the context menu does not display. It is actually hidden underneath the absolutely positioned div.

Expected result

The context menu should display regardless of how the editor is hosted.

Actual result

The context menu is hidden

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

Chrome, IE11 CKEditor 4.5.1

#13619 SourceDialog html is empty for Inline editors in chrome Bug Normal General
Description

Steps to reproduce

  1. Go to http://sdk.ckeditor.com/samples/sourcearea.html
  2. Click in the inline area
  3. Create some whitespace by pressing enter a time or two.
  4. Do either a shift+Enter to nest a <br> or click two formatting options (like Bold and Italics)
  5. Click the SOURCE button

Expected result

Brings up the html markup for the editable area

Actual result

brings up a blank dialog

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

Google Chrome Version 44.0.2403.125 m Windows 7 Ckeditor 4.5 I did this in an sdk sample so nothing extra, but it happens in my editor with more plugins too.

#13621 Problem with Android Browser 534 Bug Normal General
Description

Steps to reproduce

  1. Visit http://ckeditor.com/demo
  2. Typing in the demo works fine, but if you clear it all, or start with a new editor, when you click in page editor to type or hit any of the toolbar buttons the browser jumps to the top of the page.

Expected result

CKEditor is either incompatible or doesn't jump to top of page at any click

Actual result

CKEditor is marked as compatible in the source code, and each click jumps to the top of the page.

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

On Samsung Note GT-N5110 - 8.0" 16GB White Android 4.4.2 Using Default android browser with the following CKEDITOR.evn info... (hand typed looking at screen, so might have a little typo here or there, but the info is correct)

CKEDITOR.env:

ie: false;
edge: false;
webkit: true;
air: false;
mac: false;
quirks: false;
mobile: false;
iOS: false;
isCustomDomain: function(){if(!this.ie)return false;var a=document.domain,b=window.location.hostname;return a!=b&&a!="["+b+"]"};
secure: true;
gecko: false;
safari: true;
version: 534;
isCompatible: true;
hidpi: false;
needsBrFiller: true;
needsNbspFiller: false;
cssClass: cke-browser_webkit;
hc: false;
#13622 IE9 - CKEdtor is being disabled after save when using knockout js Bug Normal General
Description

I don't actualy know how to elaborate on this bug, but here is how it goes: I'm using CKEditor for multiple textareas on the same screen using knockout js "foreach". The CKEditor is implemented along with knockout js like this:

ko.bindingHandlers.CKEDITOR = {

init: function (element, valueAccessor, allBindings, viewModel, bindingContext) {

var ckEditorValue = valueAccessor(); var id = $(element).attr('id'); var allBindings = allBindings(); var options = allBindings.EditorOptions; var visible = (typeof allBindings.visible == 'undefined' ? true : allBindings.visible); id = (typeof allBindings.id == 'undefined' ? id : allBindings.id);

if (!visible
id == ) {

$(element).hide(); return;

}

$(element).attr('id', id).addClass("orb-ckeditor");

var ignoreChanges = false;

var defaultConfig = {}; defaultConfig.toolbar = [

["Undo", "Redo"],

["Bold", "Italic", "Underline", "Strike", "RemoveFormat", "-", "TextColor"], ["NumberedList", "BulletedList", "Outdent", "Indent"], ["JustifyLeft", "JustifyCenter", "JustifyRight", "JustifyBlock"], ["Link", "Unlink"] ];

defaultConfig.defaultLanguage = 'en'; defaultConfig.removePlugins = 'resize, wordcount, elementspath, magicline'; defaultConfig.enterMode = CKEDITOR.ENTER_BR;

defaultConfig.on = {

change: function () {

ignoreChanges = true; ckEditorValue(instance.getData()); ignoreChanges = false;

}

}; $.extend(defaultConfig, options); var instance = CKEDITOR.replace(id, defaultConfig);

instance.setData(ckEditorValue());

ckEditorValue.subscribe(function (newValue) {

if (!ignoreChanges) {

instance.setData(newValue);

}

});

}

};

And here is the HTML:

<div class="quiz-settings" data-bind="foreach: items">

<textarea data-bind="CKEDITOR: PropertyObjectValue, visible: (PropertyType == 'MULTILINES'
PropertyType == 'EMAIL'), id: 'txtProp' + PropertyID"></textarea>

</div>

I'm saving the data using AJAX call and on the success method I'm re-binding the data to the editors. It works fine in Chrome but in IE9 the editor is disabled after the save action when I click inside the editor to edit but when I click on the editors menu buttons such as the Bold or Underline it becomes active again

I have no idea why this happens or how to fix it...

#13624 Bidi: Image coordinates displayed incorrectly in RTL editor Bug Normal General
Description

Steps to reproduce

  1. Select Hebrew language locale
  2. Click on Add image from toolbar
  3. Add some image
  4. Resize the added image

Expected result

Result : Image coordinates displayed wrongly See attached screenshot

Actual result

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

#13626 Bidi: Table actions indicators are not properly mirrored in table Bug Normal General
Description

Steps to reproduce

  1. Select Hebrew language locale
  1. Click on Add Table from toolbar
  2. Click inside the table

Results : Table actions indicators are not properly mirrored In addition, insert rows using arrows is working oppositely

Expected results: It should appear on the right edge of the table

#13628 config.floatSpacePinnedOffsetY not working correctly with inline ckeditor Bug Normal General
Description

Steps to reproduce

Steps to reproduce:

  • Open an inline ckeditor that has config.floatSpacePinnedOffsetY set (e.g. = 100)
  • put a lot of empty lines into the editor (so that the end of the editor field resides below the viewport)
  • Put the focus into the ckeditor (so that the floating header appears)
  • Slowly scroll down

Actual behavior: see Floating Toolbar broken.webm

Expected behavior: see Floating Toolbar fixed.webm

Expected result

Actual result

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

#13629 Editor strips <span> tags when copying and pasting a table with embedded artifacts Bug Normal General
Description

Steps to reproduce

  1. copy this HTML fragment from Notepad file:

<table border="1" cellpadding="1" cellspacing="1" dir="ltr" style="width:500px">

<tbody>

<tr>

<td style="width: 500px;">dsfdsdsfds</td>

</tr>

</tbody>

</table>

  1. In CKEditor, click the 'Source' button, and paste fragment,
  2. Switch back to rich text mode, and observe empty paragraph with non-breakspace :
  1. Switch back to Source mode

Expected result

<table border="1" cellpadding="1" cellspacing="1" dir="ltr" style="width:500px">

<tbody>

<tr>

<td style="width: 500px;">dsfdsdsfds</td>

</tr>

</tbody>

</table>

Actual result

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

<table border="1" cellpadding="1" cellspacing="1" dir="ltr" style="width:500px">

<tbody>

<tr>

<td style="width: 500px;">dsfdsdsfds</td>

</tr>

</tbody>

</table>

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

#13631 Less Than '<' and Greater Than '>' not allowed in Courier New Monospace Bug Normal General
Description

Steps to reproduce

  1. Enter text "Click <Finish>."
  2. Highlight the text "<OK>" and set the font to Courier New
  3. Save the text.
  4. Reload the text. (I am using CKEditor in a database application so the text is stored in a record for redisplay)

Expected result

"Click" and "." will be displayed in the default (Ariel?) and the "<OK>" will be displayed in Courier New

Actual result

Click . in default font

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

CKEditor 4.5.2 Full version Browser Safari 7.1.7

This also happens when I save the marked up text to an HTML file and try to display the page. <p>Click &lt;<span style=&quot;font-family:courier new,courier,monospace&quot;>OK&gt;</span>.</p> Displays the Click < in default font OK in Courier New and >. in default font

<p>Click <span style=&quot;font-family:courier new,courier,monospace&quot;>&lt;OK&gt;&nbsp;</span>.</p> Displays Click . in default font

#13632 Introduce error logging mechanism Szymon Kupś New Feature Normal CKEditor 4.5.4 General
Description

The problem

Currently, if we want to log some error or warning we do this:

// jshint ignore:start
else { // %REMOVE_LINE%
	window.console && console.log( '[CKEDITOR.dom.selection.reset] Wrong selection instance resets fake selection.' ); // %REMOVE_LINE%
} // %REMOVE_LINE%
// jshint ignore:end

Or sometimes this:

if ( !editor.config.mathJaxLib && ( window.console && window.console.log ) ) {
	window.console.log( 'Error: config.mathJaxLib property is not set. For more information visit: ', docsUrl );
}

Or even this (async errors to avoid breaking the app by non-critical problems):

CKEDITOR.tools.setTimeout( function( name, pluginName ) {
	throw new Error( 'Plugin "' + name.replace( ',', '' ) + '" cannot be removed from the plugins list, because it\'s required by "' + pluginName + '" plugin.' );
}, 0, null, [ name, pluginName ] );

There are couple of issues with code like this:

  • It's ugly and long. Messages (if not removed during building) are kept in the production ready code. So to avoid bloating it, we log very infrequently. This may need to change due to #11502.
  • We do not have a fast option to turn this into code that throws to improve testability. The special case here and especially problematic is asynchronous code in which even if we throw an error, there's no way to catch it (OK, there's window.onerror, but that doesn't mute it AFAIK).
  • There's no way to mute all console logs and errors if application requires it (see http://dev.ckeditor.com/ticket/11502#comment:16). There's no way to pipe them to some other output (e.g. a mechanism which sends them to the server).

Solution

I would like to propose introducing two new methods:

CKEDITOR.error( errorCode [, additionalData... ] );
CKEDITOR.warn( errorCode [, additionalData... ] );

And complementary boolean flag and an event:

CKEDITOR.verbosity = CKEDITOR.VERBOSITY_(ERROR/LOG/NONE) {Number}
CKEDITOR#log

What is errorCode? It's not any more a full message. In order to not keep the full strings inside our code base, we will export them to a guide in docs. Error could would be built from location of a source file and some id:

  • 'range-startcontainer'
  • 'mathjax-lib'
  • 'editor-removeplugins'
  • 'selection-fake-reset'

So a class/plugin/module + a message identifier. Then, CKEDITOR.error/warn will log also a link to a guide where all errors are explained. A bit less user friendly, but especially with growing number of messages it will allow us to drop few KB and also improve the messages as they will be able to be longer.

I know that it's controversial because error codes are less useful, but I don't see a much choice for CKEditor 4. To keep long error messages in the code base, so in development version of the editor errors are fully meaningful we would need to:

  • Agree that we bloat the code with them and keep them also in the production code.
  • Implement a new feature in the builder which would look for CKEDITOR.warn/error and replace them with shorter calls (hashes of the messages?) as well as produce a documentation for these hashes. Because we would need a guide for them anyway.

The second solution sounds great for CKEditor 5, but not for CKEditor 4. Therefore I proposed this a little bit controversial change.

Behaviour:

  1. CKEDITOR.error()
    • If CKEDITOR.verbosity == CKEDITOR.VERBOSITY_ERROR, throws a real error with all the details.
    • If not, then it fires CKEDITOR#log with data.type = error and all the details.
  2. CKEDITOR.warn()
    • Fires CKEDITOR#log with data.type = warn and all the details.
  3. CKEDITOR#log has a default (low prior) listener which:
    • If CKEDITOR.verbosity == CKEDITOR.VERBOSITY_NONE, then do nothing.
    • If type == error, then tries to use console.error() (downgrades to console.log() if the former does not exist)
    • If type == warn tries to use console.warn() (downgrades to console.log() if the former does not exist).
    • In both cases, it logs all the details plus a link to documentation (error codes).
#13634 Headers fomatted as lists are not pasting properly from word Bug Normal Plugin : Paste from Word
Description

Steps to reproduce

  1. Copy and paste the contents of example.docx (Attached to ticket) into a CKEditor instance.

Expected result

The second header should be it's own list

Actual result

The second header is appended to the end of the list above it (See attached screen shot)

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

Google Chrome, OSX, 4.5.2

#13635 editor.getSelectedHtml( ) returns unclosed br with data-cke-eol attribute Bug Normal General
Description

Steps to reproduce

  1. User selects paragraph in editor
  2. In code, call var str = editor.getSelectedHtml(true)

Expected result

Expect any br element to take form <br/> and do not expect any data-cke-* attributes

Actual result

other content <br data-cke-eol="1">

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

cke 4.5.1 Chrome Version 44.0.2403.130 (64-bit) OS X (v 10.9.4)

#13636 Issue in uploading image on server Bug Normal General
Description

1.I tried to upload an image from ckeditor, but there is no option to do that, not in full package. 2.I tried to copy paste the image, that is also not working.

  1. I tried to so bu customizing editor too by adding image upload plugin, that is also not working.

Expected result: Image upload option should be there or we must be able to copy paste image in word document option on ckeditor.

Actual result: Image doesn't come up on editor from desktop to server.

Please guide me how can I insert image within content using ckeditor.

#13637 Several icons need refactoring Olek Nowodziński Task Normal CKEditor 4.5.3 General
#13638 CKEditor insertHTML ignores tag center Bug Normal General
Description

I've updated CKEditor from 3.6.4 to 4.5.1. And there is one issue. insertHTML method ignores tag center. For example, when I use

myckeditor.insertHtml("<center><div>My block</div></center><br>")

In CEditor I see

<p><div>My block</div></p>

<p>&nbsp;</p>

This is an error or this feature can be configured? 3.6.4 version works fine.

#13639 Unable to create a new line on Firefox Mobile Bug Normal UI : Enter Key
Description

Steps to reproduce

  1. Firefox (mobile) 39, Android 4.4.2
  2. Load http://ckeditor.com/latest/samples/
  3. Type something and try moving to the next line by pressing "enter".

Expected result

The cursor is moved to the next line.

Actual result

The cursor blinks in the next line, but after typing a character, the text is entered back in the previous line. It is impossible also to press "enter" a few times.

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

Did not try earlier versions as Firefox Mobile was disabled by default in earlier versions of CKEditor. See also bug report on youtube: https://www.youtube.com/watch?v=mLf9pPj9FTM

#13640 [IE] Dropping a widget outside body is not handled correctly Szymon Cofalik Bug Normal CKEditor 4.5.4 General
Description

Steps to reproduce

  1. Open http://tests.ckeditor.dev:1030/tests/plugins/clipboard/manual/draganddrop
  2. Drag the placeholder to the left margin of the content (outside body, but inside an iframe)

Expected result

Nothing bad should happen (widget may stay selected or a selection can be placed before/after it.

Actual result

Something weird happens with the widget. The DOM structure is preserved but it's not a real widget, so e.g. if you switch to source mode you can see that it wasn't downcasted. The same with clicking on it.

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

  • Browser: IE11
  • I wasn't able to reproduce it with image2, so it's not super general for widgets. I believe that a widget must have a textual content inside.
  • Before #13465 and #13453 a different error was thrown, so it wasn't possible to very this bug. I set version to 4.5.0 as I think it may be related to the new DnD system.
#13641 Not able to copy/paste in IE 9/10 Bug Normal General
Description

Steps to reproduce

I have installed CKEditor version 4.4.7 with PHP

When access CKEditor, the icons for cut/copy/paste are disabled. Also Ctrl+C doesn't work.

It occurs for specific users not all. What might be the reason? Is there any security parameters which prevent copy/paste?

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

Browser: IE 9/10, CKEditor version 4.4.7

Thanks in advance.

#13642 Missing images Bug Normal UI : Toolbar
Description

Steps to reproduce

  1. Set the ckEditor map with the plugin "Table" in "Program Files (x86)"
  1. Open the index.html

Expected result

I will see the table image on the button

Actual result

The image isn't visible but the path to the file is correct.

When I set the map in the map "Program Files" it works.

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

I run the ckEditor offline, it doesn't work in any browser

  • Firefox
  • IE11
  • Edge
  • Chrome

The "source code" button image isn't also visible.

#13643 Mathjax plugin predefined formulae buttons New Feature Normal General
Description

I am trying to add several buttons to mathjax plugin dialog, so users that don't know mathjax can add several predefined formulae clicking on the buttons and only have to fill the gaps.

I have managed to add the buttons in mathjax.js file (1), but I've got stuck with scope issues. I can access the preview element, but not the equation textarea, that seems to not be available from any scope.

If I am able to get the desired behaviour (a button that adds text to the textarea so the generated image is refreshed with the new value), I plan to create a set of icon buttons and I will do a PR in GitHub to add them.

I have reported this issue also in StackOverflow (2).

Thanks in advance. Best regards.

(1) https://github.com/ckeditor/ckeditor-dev/blob/master/plugins/mathjax/dialogs/mathjax.js (2) http://stackoverflow.com/questions/31919330/predefined-buttons-in-ckeditor-mathjax-plugin

#13645 Does not automatically add link when typing in Microsoft Edge browser Bug Normal General
Description

Steps to reproduce

  1. Open CKEditor demo page in Microsoft Edge browser in Windows 10.
  2. Type link and press space or enter (e.g. www.google.com)
  3. Does not automatically create link (does still work in Internet Explorer.

Expected result

Should create link automatically.

Actual result

Does not create link.

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

Microsoft Edge used. Standard CKEditor and also on demo version. ==

#13646 Image2 doens't work with [img] BBCODE tags Bug Normal General
Description

Hey guys, I'm not expert in js, and after 2 days I'm here.

I'm tryng to use image2 and BBCODE plugins.

Using the ckbuilder with the last updates with the 'native' image plugin the bbcode works fine.

I can set the image with imagebrowser, and the see the right bbcode of img " [img] url [ /img] "

But when I try to use image2 ( resize options are cool ), the bbcode doens't work fine!!

Even with clean configurations the img tag doens't work!

I think the problem is the parser of bbcode, and i'm not so good with that!

Thanks

config.contentsLanguage = 'pt-br';
	config.autoGrow_minHeight = 500;
	config.disableObjectResizing = true;
	config.forcePasteAsPlainText = true;
	config.clipboard_defaultContentType = 'text';
	config.toolbarLocation = 'bottom';
	config.extraPlugins = 'bbcode,imagebrowser,dialog';
	config.removePlugins = 'image2,widget,lineutils,bidi,dialogadvtab,div,flash,format,forms,horizontalrule,iframe,justify,liststyle,pagebreak,showborders,stylescombo,table,tabletools,templates';
	config.resize_enabled = false;
	config.fontSize_sizes = '30/30%;50/50%;100/100%;120/120%;150/150%;200/200%;300/300%';
	config.imageBrowser_listUrl = "http://localhost:8080/mysite/js/ckeditor/plugins/imagebrowser/teste.json";
	config.toolbar = [
	           	   ['Bold', 'Italic', 'Underline'],['Subscript','Superscript'],['Image'],['TextColor'],['RemoveFormat'],['Undo', 'Redo'],['Source'], ['Maximize']
	           	];

Steps to reproduce

  1. Insert any url image with image2 plugin
  2. the image will show and you'll be able to resize
  3. Hit the "source code" button to see the BBCODE OUTPUT
  4. img tag will desapear
  5. the editor will show only ( [img] ) whitout the closeTag and the url.
  6. If you hit the "source code" button again, the [img] tag will disappear.

Expected result == [img]any://url.com[/img]

Actual result == [img]

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

  • CkEditor 4.5.2, mozilla 39, chrome(last)

Plugins

  • Image2
  • imageBrowser
  • bbcode
#13649 Unable to paste image from clipboard into samples/index.html fle Bug Normal General
Description

Steps to reproduce

  1. Pushed Alt+Print Screen to capture the active window
  2. Opened samples/index.html in browser
  3. Pushed Ctrl+V

Expected result

Expected image to appear in article and uploaded to server

Actual result

Nothing happens at all - no image appears and nothing is uploaded

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

#13650 Ruby on Rails - Drag and drop image upload not working Bug Normal Documentation & Samples
Description

Steps to reproduce

  1. Launch Rails server
  2. Launch editor
  3. Drag and drop image

Expected result

Image successfully uploaded

Actual result

Client side: HTTP error occurred during file upload (404: File not found).

Server side: ActionController::RoutingError (No route matches [POST] "/ckeditor/pictures&responseType=json")

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

Firefox 39.0.3, Linux Mint 17, CKEditor 4.5.2.

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

I think the bug comes from the url used to upload which has an & instead of a ? so Rails fail in interpreting the request.

#13652 [FF] Image2 plugin - it is not possible to update existing caption Bug Normal General
Description

Steps to reproduce

  1. Edit a captioned image on the widget DEMO page
  2. The cursor will place before the existing caption and it is not possible to edit the existing caption

Expected result

Be able to update the existing caption

Actual result

Only able to add new text to existing caption

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

Reproducible on the main DEMO page (http://ckeditor.com/demo#widgets) CKEditor version 4.5.2 FF version 39.0.3 OS Windows 7

#13653 why?? Bug Normal General
Description

why??? http://s3.picofile.com/file/8206024426/Untitled.jpg

#13654 Dragging and dropping all content removes everything, exception is thrown Bug Normal General
Description

Steps to reproduce

  1. Add some content (image or text)
  2. Select all
  3. Drag and drop it to somewhere below or near the content

Expected result

Nothing should happen actually (e.g. in 4.4.7 the cursor is disabled also)

Actual result

The content disappears, exception is thrown:

CKEDITOR.dom.range.setStartBefore	@	ckeditor.js:146
CKEDITOR.dom.range.moveToBookmark	@	ckeditor.js:128
CKEDITOR.plugins.clipboard.internalDrop	@	ckeditor.js:614
(anonymous function)	@	ckeditor.js:604

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

Tested on http://ckeditor.com/demo with Chrome 44, IE 11, Firefox 39

#13655 Tests: Adding colorbutton plugin to 13590/1 tests breaks them Szymon Cofalik Task Normal CKEditor 4.5.4 General
Description
  1. http://tests.ckeditor.dev:1030/tests/tickets/13590/1
  2. Add colorbutton plugin (it's available in the build test)
  3. See that on Chrome, FF and IE last two test cases fails.

Since the plugin cannot be removed from the build test (config.removePlugins option does not work as the presence of this plugin is enough to change PFW's behaviour) test results need to be updated.

#13656 Review a revert done to yui-3.17.1-dom-screen-node-core* Piotrek Koszuliński Task Normal CKEditor 4.5.4 General
Description

In git:de679b432f6 I reverted some changes done in #13265 because it caused problems in tests/core/dom/element/element (getDocumentPosition failed) in IE8. We must ensure that what I did is safe considering the scope of #13265.

#13657 Return Key in IE10 inserts multiple line-breaks Bug Normal UI : Enter Key
Description

Steps to reproduce

  1. Open http://sdk.ckeditor.com/samples/inline.html in IE 10
  2. Click on "Start Editing"
  3. Press Return Key on the keyboard (one line-break is inserted)
  4. Click on "Finish Editing"
  5. Click on "Start Editing"
  6. Press Return Key on the keyboard (two line-breaks are inserted)

Repeating steps 4-6 will insert one more line-break per repeat step.

Expected result

Return Key should always only insert one line-break.

Actual result

see above.

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

Browser is Internet Explorer 10 on Windows 7.

#13658 [Edge] D&D of text causes selected or dropped-on text to disappear Bug Normal General
Description

Steps to reproduce

  1. Open http://tests.ckeditor.dev:1030/tests/plugins/clipboard/manual/draganddrop
  2. Select spaceflight that landed.
  3. D&D it onto word humans.

Expected result

spaceflight that landed has been moved inside humans word.

Actual result

Word humans and text up to the a element disappeared and selected text got inserted in its place.

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

Sometimes the selected text disappear instead. You can reproduce that bug by selecting 11 was and try to D&D it onto h1 element above. Also undo makes two steps when you reproduce the main steps.

#13659 [iOS] Widget do not remove the focus Bug Normal General
Description

Steps to reproduce

  1. Open http://tests.ckeditor.dev:1030/tests/plugins/widget/manual/block on Safari@iOS
  2. Select any widget.
  3. Move focus to the text paragraph.
  4. Press enter.

Expected result

Paragraph will be broken.

Actual result

Widget dialog is open.

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

Note that widget do not loose its selection when you move the selection to the paragraph.

#13660 Code display for few seconds Bug Normal General
Description

Hi there, I have been using ckeditor 4.5.2 version and whenever I load the page some of the code have been display on the page for few second and then disappear after that. Page displays following code for few seconds then load the editor.

<div> <p dir="ltr" style="line-

can you please help me out. How do I turn off code display on page?

Thanks!

#13661 image2 plugin not work when remove 'Image' button from the toolbar Bug Normal UI : Widgets
Description

I added image2 ( Enhanced Image ) plugin to my CKEditor 4.5.2, everything was okay until I remove the 'Image' button from the toolbar. Now, when i click on the image, there is no section in the dialog box to show / hide caption. And when I select the options like: align left / right / center, it does not work.

#13662 Skin Office2013 buttons bugs Bug Normal UI : Toolbar
Description

Hello, i have bugs in toolbar with my Ckeditor : http://www.noelshack.com/2015-33-1439719788-c.jpg http://www.noelshack.com/2015-33-1439719791-c2.jpg

This problem is available for this tools : http://www.noelshack.com/2015-33-1439719793-c3.jpg

Thanks

#13663 Toolbar like medium.com's editor New Feature Normal UI : Toolbar
Description

Do you know any plugin that can help me get the effect as medium.com's editor ?

I tried the Floating-Tools plugin, but it does not work with my CKEditor (version 4.5.2).

#13664 Select all not working in source mode in ie Bug Normal Core : Selection
Description

Steps to reproduce

  1. click on source button

2.write some thing and try to press select all button

  1. nothing is getting selected

Expected result

text should get selected

Actual result

text is not getting selected

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

#13665 Upload video in ckeditor Bug Normal General
Description

Included video plugin Done setting as follows in config.js config.extraPlugins = 'video';

Please let me know how to set filebrowserVideoBrowseUrl parameter in config.js

#13668 CKBuilder shows warnings when creating CKEditor package: WARNING - unreachable code Tade0 Bug Normal CKEditor 4.5.4 General
Description

Steps to reproduce

  1. Run ckbuilder to create CKEditor full package.

Note: you must use at least CKBuilder 2.3 in order to see errors.

Expected result

No warnings should be thrown.

Actual result

Unreachable code is detected.

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

https://github.com/ckeditor/ckeditor-dev/blob/dbaaf0b5abd2ac1c8c7e401ac28fd1080c83517c/plugins/find/dialogs/find.js#L380 https://github.com/ckeditor/ckeditor-dev/blob/dbaaf0b5abd2ac1c8c7e401ac28fd1080c83517c/plugins/magicline/plugin.js#L498

#13671 Feature Request: Image handling (want to paste pictures directly - without plugin) New Feature Normal General
Description

Steps to reproduce

Try to paste an image directly in the ckEditor.

Expected result

The picture is bound in the text and no separate Image browser is necessary. The picture should be saved on the server so that no explicit upload is required. The file location is not important. It should be how in the simpleuploads-plugin (http://ckeditor.com/addon/simpleuploads). The current behave is outdated and requires a lot of klicks for an author. We want to simplify the life of an author.

Actual result

You must go over the Image browser.

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

This should be a direct feature of ckEditor. Because of the uncertainty that the plugin will be further developed it is difficult to implement this in a productive environment. The risk is that we can't use updates in future, because of a plugin who needed a special version to run.

#13673 Code breaking on WP Bug Normal General
Description

Steps to reproduce

  1. Go to Edit page on WP
  2. Nothing is visible in the edit screen
  3. When I deactivated CK EDitor, it returned to normal.

Expected result == To see words, etc

Actual result == There is nothing showing up in the editing screen of Wordpress. Deactivate your plugin and it returns.

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

#13674 How to change enterMode & shiftEnterMode in <figcaption> tag Task Normal UI : Enter Key
Description

Hi,
How can i change enterMode & shiftEnterMode in <figcaption> tag, like blockquote or ul/ol ( im not using widget or image2 plugin )

HTML code in the editor

<figure>
    <img src="" alt="">
    <figcaption>lorem ipsum</figcaption>
</figure>
<p><br></p>

I want when im editing text in <figcaption> if i press 'enter' key, the caret will go outside of <figure>. Similar with <blockquote> or <ul>, but do not have to press 'enter' key twice.

Many thanks & really sorry for my english !

#13675 allowedContent for html tag ( div, figcaption ... ) without widget plugin Task Normal General
Description

Is there a way to add 'allowedContent' to specific html tag ( div, figcaption, .. ) without using widget plugin ?

For example I want to only allow "br em strong sub sup u s; a[!href]" with "figcaption" ( similar as image2 plugin ).

#13676 Not working with new Wordpress Update Bug Normal General
Description

Steps to reproduce

  1. CK Editor prevents the 'Add New Post' page from fully loading after the latest wordpress update.
  2. CK Editor toolbar doesnt show up, cannot add text to text box
  3. Cannot swap from HTML to VISUAL mode

Expected result

Actual result

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

#13678 No AJAX spinner when uploading build-config.js ? Bug Normal Project : CKBuilder
Description

Steps to reproduce

Upload a build-config.js file in CKBuilder.

Expected result

An AJAX spinner gif (or similar) to indicate that the upload is actually occurring.

Actual result

I am not seeing a spinner or upload indication at all. No sure when upload is completed.

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

IE11, Windows 7

#13679 Unable to get property 'autoSaveMessage' of undefined or null reference File: plugin.js, Line: 21, Column: 21 Bug Normal Plugin : Paste from Word
Description

Steps to reproduce

I am using CKEDITOR and i am getting error in when I switch to french (fr-ca) in Default en-US it is working fine and Richtext loads

Expected result

RichText editor should load

Actual result

Richtext editor not loads Unable to get property 'autoSaveMessage' of undefined or null reference File: plugin.js, Line: 21, Column: 21

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

CKEDITOR is used with in DNN CMS and occurs in all browsers

#13680 <summary> should support heading content Szymon Cofalik Bug Normal CKEditor 4.5.4 General
Description

Steps to reproduce

  1. switch to source view
  2. create a <details> element
  3. put a <summary> element inside it
  4. put a <h2> element inside that
  5. switch to preview
  6. switch to source view
  7. <summary> is no longer around <h2>

Expected result

<summary><h2>Summary</h2></summary>

Actual result

<summary></summary><h2>Summary</h2>

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

Heading content is acceptable according to the spec: http://www.w3.org/html/wg/drafts/html/master/semantics.html#the-summary-element

The 'open' attribute is also being stripped off the <details> element but I'm not yet 100% sure that's not a problem with our configuration.

FireFox 41 OSX 10.10.14 CKEditor: 4.4.8 Plugins: a11yhelp: 1, autogrow: 1, basicstyles: 1, bidi: 1, blockquote: 1, clipboard: 1, contextmenu: 1, dialogadvtab: 1, elementspath: 1, enterkey: 1, entities: 1, find: 1, htmlwriter: 1, image: 1, indentlist: 1, language: 1, link: 1, list: 1, liststyle: 1, magicline: 1, maximize: 1, pastefromword: 1, pastetext: 1, removeformat: 1, resize: 1, scayt: 1, sharedspace: 1, showblocks: 1, showborders: 1, sourcearea: 1, stylescombo: 1, tab:1, table: 1, tabletools: 1, toolbar: 1, undo: 1, wsc: 1, wysiwygarea: 1, 'mdn-attachment': 1, 'mdn-format': 1, 'mdn-sticky-toolbar': 1, 'mdn-image-attachment': 1, 'mdn-link-customization': 1, 'mdn-link-launch': 1, 'mdn-redirect': 1, 'mdn-sample-finder': 1, 'mdn-sampler': 1, 'mdn-spell': 1, 'mdn-syntaxhighlighter': 1, 'mdn-system-integration': 1, 'mdn-table-customization': 1, 'mdn-toggle-block': 1, 'mdn-wrapstyle': 1, 'mdn-youtube': 1, descriptionlist: 1, tablesort: 1, texzilla: 1

#13681 Combine nested span css Bug Normal Performance
Description

Steps to reproduce

I'm working on inline CKEditor. I use font size, line height, & font family plugins. All of these apply to nested spans.

E.g. Text input is - "CKEditor is awesome"

When I applied below commands.

  1. After added - font family:

<span style='font-family: Arial;'>CKEditor is awesome</span>

  1. After added - font size:

<span style='font-family: Arial;'><span style='font-size: 30px'>CKEditor is awesome</span></span>

  1. After added - line height:

<span style='font-family: Arial;'><span style='font-size: 30px;'><span style='line-height'>CKEditor is awesome</span></span></span>

So, All of these added in nested span elements.

Expected result

<span style='font-family: Arial;font-size: 30px;line-height'>CKEditor is awesome</span>

or

<span class="target_class" style='font-family: Arial;font-size: 30px;line-height'>CKEditor is awesome</span>

Actual result

<span style='font-family: Arial;'><span style='font-size: 30px;'><span style='line-height'>CKEditor is awesome</span></span></span>

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

To get expected result I use below code snippet to add common class for each span

config.fontSize_style       = { element : 'span', styles: { 'font-size': '#(size)' }, attributes : { 'data-font-size': '#(size)', 'class' : 'target_class' } };

config.cp_line_height_style = { element : 'span', styles: { 'line-height': '#(size)' }, attributes : { 'data-line-height': '#(size)', 'class' : 'target_class' } };

#13682 Font tag is not working Bug Normal General
Description

Steps to reproduce

  1. In CKEditor after version 4.0 IE11 browser is supporting but problem is while editing time <font> tag is not supporting.
  2. Below version 3.6 is not supporting to IE11 but <Font> tag is supporting
  3. Please give me a solution. it would be appreciate to you.

Expected result

<Font> should support Or convert to <Span>

Actual result

<Font> is not supporting

Other details (browser, OS, CKEditor version, installed plugins) == IE9,IE10,IE11

#13684 Double Click inside the widget with CK Editor 4.5 && SCAYT Enabled causes IE to Freeze Bug Normal UI : Spell Checker
Description

we are using ckEditor 4.5 and scayt version 4.8. when we double click on text area with scayt_autostartup to true, the screen freezes for some time (b/w 30 sec to 1 min) and then responds back. When Scayt_Autostartup = false every thing works fine.

Steps to reproduce

  1. Set Scayt_Autostartup = true
  2. dblclick inside textarea
  3. Screen freezes

Expected result

Actual result

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

#13685 About button icon is not mirrored Bug Normal General
Description

Steps to reproduce

  1. Open CKeditor while using an Arabic locale
  2. Check the about button.

Expected result

About icon is mirrored (see image1)

Actual result

About icon is not mirrored (see image2)

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

Tested on Firefox ESR 38.2,IE11,Chrome

#13686 Find and replace text percentage is not correct for Arabic locale Bug Normal UI : Language
Description

Steps to reproduce

  1. Write a word and copy/paste it multiple times.
  2. Open the search dialog
  3. Write the word in the find field and another word in the replace field.
  4. Click on 'Replace all'

Expected result

100% of the words were replaced (image1)

Actual result

The replace dialog shows that 1% of the words have been replaced (image2)

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

#13687 Clipboard tests are out-dated and red on master Szymon Cofalik Bug Normal CKEditor 4.5.4 General
Description

Some tests on master in http://tests.ckeditor.dev:1030/tests/plugins/clipboard/drop are red after git:d7a2c156f921340

It appears that the test is out-dated since #13640. Event is no longer cancelled so the test has to be corrected accordingly.

#13688 %1 placeholder in Find and Replace dialog does not get replaced in Arabic Bug Normal UI : Language
Description

Steps to reproduce

  1. Open the Find and Replace dialog in Arabic.
  2. Enter the "find" and "replace" phrases.
  3. Hit Replace All.

Expected result

The alert window should inform the user about the number of occurances replaced (the %1 placeholder should be replaced with an actual number).

Actual result

The alert window shows the %1 placeholder in the message.

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

Tested in latest CKEditor stable & nightly version.

Note that this issue does not occur in other RTL languages (Hebrew, Persian, Kurdish) where the %1 placeholder is placed at the end of the sentence while in Arabic it is somewhere in the middle.

#13689 Firefox cursor position when clicking into widgets Bug Normal General
Description

Steps to reproduce

  1. Go to http://ckeditor.com/demo#widgets
  2. Click into the "Simple Sample Box" header - cursor appears where you clicked
  3. Click outside the widget somewhere else in the body
  4. Click into the "Simple Sample Box" header again

Expected result

The cursor appears where you clicked, as for step 2.

Actual result

The cursor appears at the very beginning of the box.

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

Firefox 40.0.2

#13690 Copying content from IE to Chrome adding extra paragraph Tade0 Bug Normal CKEditor 4.5.4 General
Description

Steps to reproduce

  1. Open Nightly build in IE & add 2 paragraphs of text
  2. Select all content using CTRL + A & copy it using CTRL + C
  3. Open same nightly build in Chrome
  4. Paste the content copied from IE browser in Step 2 in to Chrome

Expected result

2 Paragrphs pastd properly

Actual result

A new paragraph added above pasted content and it has following code

<p>Rich Text Editor, editor, Press ALT 0 for help<!--StartFragment--></p>

This is regression in 4.5. it's working properly in 4.4.8

==

#13691 RegEx Find & Replace plugin Task Normal General
Description

Hi

I am new to CKEditor. Present working on RegEx pattern find & replace plugin, which supports to display in source and wysiwyg mode.

To enable my plugin i did following modes : {source : 1,wysiwyg : 1} which is working fine.

I able to find given pattern by RegEx instance,But could not able to highlight of the matched text.

For this i am going with below API's editor.getSelection(); editor.getSelection().getRanges(); editor.getSelection().getStartElement();

Can you please help me is this the right way/right API's to use. Appreciate your response.

Thanks Nagesh

#13692 Paste Fails in IE 11 from CKEditor 3.6.6.2 for ASP.NET Bug Normal General
Description

Steps to reproduce

  1. Click any paste button, such as Paste from Word (all paste buttons exhibit this bug).

Expected result

Contents of clipboard should appear within CKEditor

Actual result

No response (paste command is ignored)

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

Browser: Internet Explorer 11.0.9600.17959 OS: Windows 7 Professional, Service Pack 1, 64-bit CKEditor version: 3.6.6.2 No plugins installed.

Notes

When I run the Demo of 4.5.3 inside of IE 11, the paste command works. However, I am using ASP.NET, and I do not see how to install version 4.5.3 for ASP.NET.

#13693 Missing readOnly in CommandDefinition Task Normal Documentation & Samples
Description

The readOnly property for commands is not documented at http://docs.ckeditor.com/#!/api/CKEDITOR.commandDefinition

I guess that the version can be set as back as when it was introduced to enable read only editors, I've set as 4.0 to signal that this isn't new.

#13695 Calculate baseFloatZIndex on the fly New Feature Normal General
Description

On our site CKEditor is embedded in locations with different z-index values. It is difficult to manage the different baseFloatZIndex values for each editor. We have to keep various css declarations and baseFloatZIndex values in sync.

It would be ideal for CKEditor to dynamically determine the correct z-index of a popup element on the fly whenever it is displayed.

One approach would be to just walk up the tree looking for a parent node with a z-index value that has position (fixed, relative, absolute). Since CKEditor based popups are attached to the document.body directly, you would need to traverse the editor's ancestors to find the earliest element with z-index that has position. The baseFloatZIndex would then just be a single z-index greater.

#13696 Image copy and paste from Microsoft word document into ckeditor Bug Normal Plugin : Paste from Word
Description

Steps to reproduce

  1. Copy images content from word doc file
  2. paste into ckeditor

Expected result == whatever images i copy from word doc file, its be pasted on ckeditor and will be upload on web server

Actual result == Images is not pasted from word document

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

#13697 ckeditor - removes tags when data is loaded Bug Normal General
Description

When I save data via ckeditor, it can do correct saving to database like this:

List<dynamic> list=new List<dynamic>();

But when I get data to page and load in edit screen, it is looking like this in ckeditor control:

List list=new List(); I want to show all data with <dynamic> generic codes. How can I do this?

#13698 IE 11 ctrl+end with widgets Bug Normal General
Description

Steps to reproduce

  1. Go to http://ckeditor.com/demo#widgets
  2. Insert multiple "Simple Box" widgets (the same behaviour happens with any widget)
  3. Press Ctrl+a to select all
  4. Press Ctrl+End

Expected result

The cursor moves to the end of the editor contents

Actual result

The cursor moves to the end of one of the widgets

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

Internet Explorer 11

#13699 CKEditor crashes when user conected through SSL - Uncaught TypeError: c.addRules is not a function Bug Normal General
Description

We have a intranet site where CKEditor is working as expected. The issue we saw yesterday that when a user a remote user tries to use the site through SSL (Remote user portal), CKEditor crashes with error message "Uncaught TypeError: c.addRules is not a function". Any idea?

#13700 CKEDITOR leaves behind 'Filling Char' zero-width-space after selectBookmarks/selectRanges Bug Normal Core : Selection
Description

By leaving behind filling char, the text content is unpredictable. As soon as the user types backspace, delete, makes another selection, or navigates the file in any way, the character is deleted, further making it difficult to know whether we should expect a filling character or not. (when writing plugins)

As an aside, it is not clear WHY a filling character is introduced in this specific instance.

Steps to reproduce

via javascript:

var text = editor.editable().getText();
editor.getSelection().createBookmarks(true);
editor.getSelection().selectBookmarks(bookmarks);
console.log(editor.editable().getText() === text);

Expected result

selectBookmarks should not leave behind the filling char.

Actual result

filling char is left behind.

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

#13701 Indent copied text Bug Normal General
Description

Steps to reproduce

  1. Open an external program, like note pad, and type a few lines like:
aaa
bbb
ccc
  1. Copy the text
  2. Paste into the ckeditor with DIV enter mode (either by using the paste text dialog, or by ctrl + v)
  3. Put your cursor at the beginning of the second line of text
  4. Hit the indent toolbar button

Expected result

only second line of text is indented

Actual result

all three lines of text are indented

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

It looks like this issue occurs because all three lines are part of one DIV block, and the line breaks are achieved via <br> tags. Shouldn't separate lines be in separate DIV blocks instead? It looks like ckeditor interprets single line breaks as <br> and double line breaks as separate <DIV>s when pasting, is it expected?

#13702 Link in inline editable region not clickable Bug Normal General
Description

Steps to reproduce

  1. Go to demo page http://ckeditor.com/demo#inline. You'll find all links are not clickable even when inline editor is not activated.

Expected result

Content editor should be allowed to click the links to verify behavior.

Actual result

There is not way for author to click a link - regardless whether inline editing mode is activated or not.

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

Either make the links clickable or use double-click to activate the inline editor so that there is no conflict on the single click event handler.

#13704 Cursor position lost after selected text deletion Bug Normal General
Description

Steps to reproduce

  1. Configure: config.scayt_autoStartup = true;
  2. Past or Edit text with at least one spell error
  3. Select a few words, including a portion of word with spell error
  4. Delete selected text by Canc or backspace

Expected result

Selected text deleted and correct cursor position

Actual result

Selected text deleted, but cursor moved on random position

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

Browser: Firefox 40 OS: Ubuntu CKEditor version: 4.4.6 and 4.5.3 installed plugins: placeholder, widget, iframedialog, autogrow

#13705 Autogrow plugin not working on startup Bug Normal General
Description

Steps to reproduce

1.I have used Autogrow plugin to disable scrollbar in the content area. 2.Its not working in Firefox browser but its working in Chrome browser

Expected result

I need to disable scroll bar on page load and able to work on ckeditor load

Actual result

The scroll bar is coming in the CKeditor on load. But its working fine when there is a focus on the ckeditor content.

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

Browser - Firefox Plugin - Autogrow

#13706 Error "Uncaught TypeError: SCAYT.prototype.IO.callback851ig80bd is not a function" when multiple textarea converted to CKEditor Bug Normal UI : Spell Checker
Description

Steps to reproduce

  1. Just check out fiddle here. https://jsfiddle.net/y6dfznL0/

Expected result

It shouldn't cause javascript error and Enable spell checker for all

Actual result

Spell checker doesn't work all other editors.

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

Working fine in IE and Edge

For Firefox,

Red underline appear for wrong spelling but right click doesn't give spelling suggestion.

For Chrome,

Doesn't work at all, you required to disable and enable it again.

#13709 [Safari] 6 red tests in delbackspacequirks/collapsed Piotrek Koszuliński Bug Normal CKEditor 4.5.4 General
Description

Steps to reproduce

http://tests.ckeditor.dev:1030/#tests/is:unit,path:/tests/core/editable/keystrokes/delbackspacequirks

Expected result

Green.

Actual result

6 red tests.

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

Only on Safari (OSX, iOS). Upgrade Bender and related modules before reproducing.

#13710 Js error when removing plugins from FULL version CKEditor Bug Normal UI : Toolbar
Description

Steps to reproduce

  1. Standard includes to start everything off just fine.
  2. Trying to remove some plugins for a simpler look.
    $(function() {
      var ckinstance = CKEDITOR.instances['message'];
    
      delete CKEDITOR.ckinstance;
      CKEDITOR.replace( 'message',  {
          customConfig: '/js/ckeditor_email_config.js'
      });
    });   
    
  3. Followed with the email_config.js
    CKEDITOR.editorConfig = function( config ) {
    	// Define changes to default configuration here. For example:
    	  
      config.removePlugins = 'image,language,gg,flash,base64image,pastbase64'; 
      
      config.scayt_autoStartup = true;
    };
    

Expected result

FULL toolbar minus some things I don't want users to see... This list is subtantially longer in reality, but error occurs with just these!

Actual result

TypeError: a is undefined

...CKEDITOR.env.isCompatible)return null;a=CKEDITOR.dom.element.get(a);if(a.getEdit...

ckeditor.js (line 322, col 76)

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

#13711 <p>&nbsp;</p> inserted unexpectedly Bug Normal General
Description

Steps to reproduce

  1. download ckeditor_4.5.1_full and expand
  2. set config.js as follows:

CKEDITOR.editorConfig = function( config ) {

config.allowedContent = true;

};

  1. open index.html
  2. change source view (push source button)
  3. delete all text
  4. insert following text

<marquee>test</marquee>

  1. change html view (push source button)
  2. change source view (push source button)
  3. :

Expected result

<p>&nbsp;</p> are not expected

Actual result

<p>&nbsp;</p> are inserted unexpectedly

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

ie 11.0.9600.17959 (japanese) os window 7 professional service pack 1 ckeditor_4.5.1_full no plugins installed

#13715 ckEditor links can't be saved on IE Bug Normal General
Description

I have a strang bug(?) with ckeditor; a project, I work with, has ckEditor as texteditor and works fine on all browsers, except on IE, where, when hyperlink option is chose, it has some extra fields:

http://i.stack.imgur.com/X8n4J.png

Now, that wouldn't be the biggest problem, if the OK and CANCEL buttons would work - they don't.

PS: I removed those options on link.js. Now CANCEL works, but OK doesn't. Meaning, I can press it like a 1000 times, nothing happens. Not even an error message.

#13716 Redo is broken for Widgets Bug Normal General
Description

Steps to reproduce

  1. Go to http://sdk.ckeditor.com/samples/mediaembed.html
  2. Double click the YouTube embed to edit the URL
  3. Enter a different URL e.g
    https://www.youtube.com/watch?v=_W9ewqSjkKk
    
  1. Undo then Redo -> works
  2. Undo
  3. Click off the editor (blur)
  4. Click back on to the editor and try observe the Redo button is active - click it

Expected result

Clicking Redo changes the state to the latest one (the video change).

Actual result

Nothing happens.

N.B If you had more Undo states before this, then going back to them and then Redoing to the end will allow you to do the final Redo, but it is an empty state with only a selection change (from non-selected widget to selected widget)

N.B On my own widget it only breaks if when coming back into the editor I click on something other than the widget and click Redo. But it seems broken either way on the sample page.

N.B Tested to be broken on 4.4.8 as well

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

#13718 No content shown when html has comments inside <style> tag as below Bug Normal General
Description

Steps to reproduce

I am using ckeditor version 4.4.1 and no contents are shown in ckeditor for a specific html.I have attached the input html.

  1. No content shown when input html has comments inside <style> tag

with text /*Apple And OLD Android<5 fix*/

  1. the symbol "<" is causing an issue and no contents are shown with ckeditor but the html could be seen with browser.
  2. I cannot control the input html as it might have tags like this inside comments.

Expected result

The html to be shown inside ckeditor.Can you please figure this out and fix it ?

Actual result

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

#13720 Hard to erase a heading line when it's first Bug Normal General
Description

Steps to reproduce

  1. Start with the following content:

<h1>header</h1>

<p>paragraph</p>

  1. Double click the heading and erase it, you are left with a blank header line.
  1. Press delete to get rid of empty line - see that the paragraph become h1 style.

Expected result

Able to easily remove the header line.

Actual result

Seems I must bring the paragraph up which becomes header, and then change its style back to normal. The extra step of resetting the style is not super intuitive. Would be great if that wasn't necessary.

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

Reproducible on http://ckeditor.com/demo

#13725 jsp scriplets and expressions are removed or replaced by the jsp output Bug Normal Server : Java
Description

I tested ckeditor with jsp files (with the ckeditor-java-core-3.5.3.jar) and it is very nice. Though there is a problem and wonder if you could assist please. I am not sure if it is a bug or a new feature.

The problem is that the jsp scriplets or expressions (<% ...%>, <%= ...%>) are either removed or replaced by the output of the jsp expression.

Example:

<%= 1+1 %> is replaced by "2"

<%= calcFunction() %> is removed

that way the resulted edited jsp file cannot be used any more.

On the other hand, if I add PHP tags, they get surrounded by HTML comments

Example:

<? php

echo "test";

?>

is replaced by:

<!--? php echo "test"; ?-->

I wonder if I miss something.

Thank you.

PS. browser: Mozilla Firefox 38.2.0 OS: Linux SL 6 32bit ckeditor: 4.5.3 full plugin: ckeditor-java-core-3.5.3.jar

#13726 Image Dialog Upload Tab in IE11 and Edge Is Not Same as for Firefox and Chrome Bug Normal General
Description

Steps to reproduce

  1. Go to Demo Page in IE11 or Edge. Click on Demo.
  2. Click on Image Icon.
  3. Click on Upload Tab

It shows what appears to be a grayed out hidden text box that is used as the actual ajax post file name, followed by a browse button. A click on either the box or the browse button yields launch of the file browser. When an image is selected, the gray box shows the file name. In Firefox, it shows what appears to be the intended dialog: Browse button, text saying "No file selected" or the name of the file after it's been selected (as text, not a text box), as well as the send to server button (which is in both).

I am attaching a pdf of the two screen shots if I can figure out how to do that.

Expected result

Firefox screen shot shown in attached document.

Actual result

IE screen shot shown in attached document.

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

IE 11 and Edge, Windows 10 Pro, CKEditor 4.5.3 (demo site)

#13727 [Android][Firefox] Preview command opens empty document Bug Normal General
Description

Android 5.1.1, Firefox 40, CKEditor 4.5.3

  • Open CKEditor demo page.
  • Use Preview command from toolbar.

Expected
Preview document is opened in new tab.

Actual
Empty document is opened in new tab.

#13728 Horizontal scroll on very long word Bug Normal General
Description

Steps to reproduce

  1. Write very long text without any single whitespace

Expected result

I was expecting line break once text reaches right edge of ckeditor.

Actual result

Single line with horizontal scroll.

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

Can be reproduced on Firefox 40.0.3 & IE. (both on Windows 8 and Mac OS X)

#13730 Switch to the new logging mechanism Szymon Kupś Task Normal CKEditor 4.5.4 General
Description

Based on http://dev.ckeditor.com/ticket/13632#comment:19.

#13733 Make non-break space and non-break hyphen available in special chars New Feature Normal General
Description

The problem

For now, it is difficult to enter non-break space or hyphen in the editor whtout using a specific plugin ou source.

Solution

Do those spechal characters available in the special chars dialog

I am very new to contribute to CKEditor so, if this is accepted, I will propose a PR on the github repository

Thank you!

Gauthier

#13734 Method not found Bug Normal General
Description

Steps to reproduce

First i dowloaded CKEditor with the following settings:

  1. Choose preset: Basic
  2. Select your plugins and skin:

-FontSize and Family -Basic Styles -Editor Toolbar -Enter Key -Escape HTML Entities -IFrame Editing Area -IndentList -Link -List -Undo -... followed by the plugins required by other plugins

As skin i picked "Flat".

  1. Finalize and download:

Editors language is English and German.

Then i downloaded first the Optimezed version and put it in my web projekt. I builded everything and reloaded and got this error:

"Error Parsing /xhtml/include/vdbw/edit.xhtml: Error Traced[line: 135] The element type "textarea" must be terminated by the matching end-tag "</textarea>"."

After i saw this, i commented the scipt block out where CKEDITOR.replace('mytextareaId') is called and typed in my Firebug Console CKEDITOR.replace('mytextareaId'). I got

TypeError: c[a] is undefined
a);var c=this,d=function(){c[a].dir=c.rtl[a]?"rtl":"ltr";b{a,c[a])};this[a]?d()...

So i thought i try the Source code, to see and fix the bug(if its my fault) or to better report. If i tried it with the Source code firebug told me CKEDITOR.replace is not a function.

Expected result

To see the CKEditor.

Actual result

Error

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

Firefox 40.0.3, Windows 7 Professional, CKEditor 4,

Plugins: -FontSize and Family -Basic Styles -Editor Toolbar -Enter Key -Escape HTML Entities -IFrame Editing Area -IndentList -Link -List -Undo -Dialog -Dialog User Interface -Fake Objects -Floating Panel -Indent/Outdent -List Block -Panel -Rich Combo -UIButton

#13737 Prepare CKEditor for BenderJS v.0.4.1. Szymon Cofalik Task Normal CKEditor 4.5.4 General
Description

Prepare CKEditor for BenderJS v.0.4.1.

#13738 HTML & JavaScript code disappears completely on Source switch. Bug Normal General
Description

Steps to reproduce

  1. Go to: http://ckeditor.com/demo
  2. Switch to Source.
  3. Paste the code from: https://gist.github.com/kenorb/f9e028b90585c73aaae3
  4. Toggle Source, the code is gone.

Expected result

The code should stay.

Actual result

The code is gone.

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

Chrome on OS X.

#13739 eqneditor symbols are not working Bug Normal General
Description

Steps to reproduce

  1. Click on 'fx' (add eqneditor) from CKEditor
  2. Select any symbol
  3. see the output, instead system image it's showing only text
  4. Image link is showing 500 error.

Expected result

Symbol Image

Actual result

only text and breaking image

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

all the browser

#13741 Text selection direction lost Bug Normal Core : Selection
Description

Steps to reproduce

  1. Navigate to http://ckeditor.com/demo
  2. Place the cursor in the end of the editor.
  3. While holding down the shift key and press the up arrow key a couple times
  4. Open the console and enter the command CKEDITOR.instances.editor1.getSelection().selectRanges(CKEDITOR.instances.editor1.getSelection().getRanges());
  5. Close the browser console (as to refocus the editor without losing selection)
  6. While holding down the shift key press the up arrow key.

Expected result

The selection expands to encompass the contents in the line above the selection.

Actual result

The selection shrinks such that the last line in the document is no longer selected.

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

Tested in Chrome 45, IE 11 and FF 35 (all running on a windows 7 PC)

#13742 CKEditor Ajax replace html Bug Normal General
Description

I have an ajax call and I replace the HTMl with a new one

  1. link button <a hrfe="someaction">
  2. ajax call, on success with jquery $("#targetDiv").html(response)
  3. response is an html set it up to use CKEditor
  4. after load the new html CKEditor is not working
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