Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (11501 - 11600 of 11754)

Ticket Summary Owner Type Priority Milestone Component
#16682 [Edge] List gets pasted as a set of paragraphs Marek Lewandowski Bug Normal CKEditor 4.6.2 General
Description

Steps to reproduce

  1. Open attached file and copy the list
  2. Paste the list into CKEditor 4.6

Expected result

List with ul/ol li

Actual result

Paragraphs:

<p style="margin-left:48px; margin-right:0px"><span style="color:#000000"><span style="font-family:Calibri"><span style="font-size:medium">1.</span></span></span><span style="color:#000000"> </span><span style="color:#000000"><span style="font-family:Calibri"><span style="font-size:medium">Test1</span></span></span></p>

<p style="margin-left:48px; margin-right:0px"><span style="color:#000000"><span style="font-family:Calibri"><span style="font-size:medium">2.</span></span></span><span style="color:#000000"> </span><span style="color:#000000"><span style="font-family:Calibri"><span style="font-size:medium">Test2</span></span></span></p>

<p style="margin-left:48px; margin-right:0px"><span style="color:#000000"><span style="font-family:Calibri"><span style="font-size:medium">3.</span></span></span><span style="color:#000000"> </span><span style="color:#000000"><span style="font-family:Calibri"><span style="font-size:medium">test3</span></span></span></p>

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

Problem can be reproduced on Edge from CKEditor 4.6.

#16685 writer.setRules Not Defined In 4.5 Bug Normal Core : Output Data
Description

This is a duplicate of #9430, which I believe was incorrectly closed. I have v 4.5.10 of ckeditor, which is supposed to have a writer.setRules function to enable formatting of output.

Steps to reproduce

  1. Install 4.5.10 of ckeditor
  2. Use the following code on the page (jquery document ready added to prove that all the other js on the page has already been loaded... console.log of writer shows that the object has fully loaded, but the setRules function does not exist.):
<script>
$( document ).ready(function() {
    CKEDITOR.replace('content',
    {
        on: {
            instanceReady: function( ev ) {
                console.log(this.dataProcessor.writer);
                this.dataProcessor.writer.setRules( 'p', {indent: true});
            }
        }
    });
});
</script>                     
  1. View console output. Error "TypeError: this.dataProcessor.writer.setRules is not a function" will be present, and the object dump of writer will confirm that the writer object is fully loaded, but does not have a setRules function.

Expected result

Setting of the rules for the output writer.

Actual result

Javascript error stating that function is not defined.

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

Tested in Chrome, Firefox, and Safari on OS X CKEditor v 4.5.10, installed plugins: sourcearea

#16686 autolink ckeditor 4.6 not work firefox and chrome only IE Bug Normal General
Description

Steps to reproduce

  1. Installation
  2. I write a link in the text box, then space and nothing

Expected result

Actual result

It doesn't work on firefox and chrome

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

CKEditor 4.6 full package. test on firefox, chrome and ie in the last version

#16688 open_basedir restriction in effect Bug Normal General
Description

Could you please help to fix this warning?

https://s21.postimg.org/ugjdco0x3/sss.png

Thanks.

#16692 Is Image Editor is Compatible for CKEditor 4.5 version Task Normal General
Description

Hello,

Is Image Editor add-on is compatible for ckeditor version 4.5

Thanks Vishal Goyal

#16693 CKEDITOR.disableAutoInline does not work Bug Normal General
Description

Steps to reproduce

  1. prepare a page which body is like:
    <body style="height: 100%;" contenteditable="true">
    
  1. in this DOM, add a textarea element:
    <textarea class="textarea" name="composerInput" id="composerInput" rows="10" cols="30" contenteditable="true" title="What_Are_You_Working_On" style="display: none;"></textarea>
    
  1. add CKEDITOR to this textarea element:
    CKEDITOR.disableAutoInline = true;
    CKEDITOR.inline('composerInput',{ ... 
    //config here
    });
    

Expected result

when loading the page, only textarea element is editable with CKEDITOR

Actual result

all the elements in "<body>" are editable

#16698 undo still working after resetUndo() in source mode Bug Normal Core : Undo & Redo
Description

Steps to reproduce

  1. go to http://ckeditor.com/demo
  2. switch to source mode
  3. make some changes
  4. open console and call function resetUndo()
  5. press ctrl-z

Expected result

no undo step is being made

Actual result

editor goes back 1 step in undo history

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

any browser CKEditor version 4.5.11 (local version) and 4.6.0 revision 68643fd (demo site)

note: undoManager.hasUndo will be false (which is correct) after calling resetUndo() but undo will still be possible

#16699 Toolbar button status on touch devices Bug Normal General
Description

Steps to reproduce

Using a touch device (tested on an iPhone):

  1. Go to http://ckeditor.com/demo
  2. In the demo, highlight a word and click the italic button on the toolbar to italicised it
  3. Click elsewhere in the editor to move your cursor onto a word which is not italicised

Expected result

The italic button returns to a non-highlighted state

Actual result

The italic button remains highlighted

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

Tested on Safari in iOS 10.1 (14B72) on an iPhone SE.

#16701 Copy text with left or right alignment from one ck editor instance to another does not preserve alignment Bug Normal General
Description

Steps to reproduce

  1. Open the demo page for ckeditor in two tabs in the browser.
  2. In first tab, Go to document editor and left align the text

"This letter acknowledges the invaluable input you, as a member of our Innovation Team"

  1. Copy this text and paste it in the second tab with ck editor demo page. The text will be pasted as normal text with no alignment.

Expected result

The alignment should be preserved and the text should be right aligned.

Actual result

The text is always pasted as left aligned or normal text.

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

Happens in all browsers

#16703 Numbered List formatting Problem Bug Normal Core : Styles
Description

Steps to reproduce

  1. Click on "Insert/Remove Numbered List" command
  2. Create some data with numbered list
  3. Select all text
  4. Apply any formatting

Expected result

Formatting should be applied to all the contents including numbers in numbered list.

Actual result

All text get formatted but can not see the formatting for the numbers.

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

#16709 CKEditor 4.6 text selection doesn't work in IE11 when specific css is applied Bug Normal General
Description

I am updating to CKEditor 4.6 from 4.4.7 in my website. Everything works fine after updating 4.6 , but I have noticed that text selection doesn't work properly in IE11 when my html element contains CSS property like width, max-width, display, while other properties like background, border works fine.(This all were working proper with with my old version).

Steps to reproduce

  1. Add below source to CKEditor in 11.

<p style="background: rgb(120, 150, 180); width: 600px;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam placerat massa nec turpis ultricies aliquam. Nulla urna velit, convallis et iaculis sit amet, iaculis nec eros. Curabitur fringilla, lorem vel sagittis tempor, quam velit cursus turpis, eu fringilla urna tortor sed diam. Etiam volutpat iaculis erat, eu eleifend libero tempus in.<br></p>

  1. Try to select text in IE 11 (Not working proper)
  2. Now remove "width: 600px;" from CSS and try to select text.(Works proper)

Expected result

Text selection should work proper.

Actual result

Text selection not working proper.

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

Windows10 IE11 CKEditor 4.6

#16711 Ckeditor changes attribute (and creates new attribute) when an attribute contains &quot; ... occurs on load Bug Normal General
Description

Steps to reproduce

  1. Load the following html in ckeditor: <p><img alt="abc &quot;xyz" /></p>
  2. View in source mode

Here is a test page: <!doctype html> <html lang="en"> <head>

<script type="text/javascript" src="/ckeditor/ckeditor.js"></script> <script type="text/javascript" language="javascript">

window.onload = function() {

CKEDITOR.config.allowedContent = true; CKEDITOR.replace( 'contentId', { });

};

</script>

</head> <body>

<textarea name="content" id="contentId"><p><img alt="abc &quot;xyz" /></p>

</body> </html>

Expected result

<p><img alt="abc &quot;xyz" /></p>

Actual result

<p><img alt="abc " xyz="" /></p>

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

Tested in Chrome and Edge. Occurs in version 4.5.9 and 4.6.0.

#16712 Remove/Alter MagicLine's use of window.top.DEBUG Task Normal General
Description

I don't know the history behind this, but only this one plugin makes use of a global, which is stubbed out locally.

I just happened to run into this when I made a global window.DEBUG=true to control all my loading of debug vs. minified scripts through RequireJS. This makes MagicLine fail, as it is expecting an object with methods.

I've changed my variable, but is this code that should be dumped? Or, if it has to stay, change the variable name to something that won't clash, like window.ckDebug.

#16713 Enhance the config by supporting height_outer New Feature Normal General
Description

The height being treated as the content height instead of the UI height was unexpected, and seemed like a bug until I found the doc. The name could be anything, but height_xxx would appear in the docs together and jump out to the user. If both are specified, who wins I don't think matters.

#16715 CKEDITOR replacing span tags with font tags Bug Normal General
Description

Steps to reproduce

1. Using the editor (http://nightly.ckeditor.com/16-12-02-07-06/full/samples/); highlight 'Hello World!' text.

2. Change the font of of the highlighted text by using the 'font' dropdown menu

3. Inspect the 'Hello World!' HTML in developer tool and you will see in the HTML the text is wrapped around <span style="font-family:Comic Sans MS,cursive;"> (which is correct)

4. delete the highlighted 'Hello World!' text. Then begin typing again right after deleting the text and you will see in HTML inspector that the span element that was there was replaced with a <font face="Comic Sans MS, cursive"> element. Also you will notice that the font tool does not show the font applied, even when text is highlighted.

Expected result

Actual span tag with styles should be applied like it was initially

Actual result

Font tags are used instead to apply the set styles. This leads to the font tool not indicating the currently set font. Also using deprecated elements is bad.

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

#16717 Added span when paste any text Bug Normal General
Description

Steps to reproduce

  1. write "A"
  2. Ctrl + C the text "A"
  3. Enter Key
  4. Ctrl + V

Expected result

<p>A</p> <p>A</p>

Actual result

<p>A</p> <p><span style="font-size: 13px;">A</span></p>

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

Google Chrome 53.0.2785.143 (64-bit) Ubuntu 16.04.1 LTS CKEditor 4.0 == In firefox works properly

#16728 [QM] Editor is broken once Copy Formatting is added Marek Lewandowski Bug Normal CKEditor 4.6.2 General
Description
  1. With IE in Quirks Mode open an editor with copy formatting, e.g. simply samples page.

Expected:

Editor gets loaded.

Actual:

An exception is thrown Object doesn't support this property or method.


The problem is caused by this line. Simply there's no underlying querySelectorAll method in QM.

It can be avoided by simply changing function to the following:

_getScreenReaderContainer: function() {
	if ( CKEDITOR.env.ie6Compat ) {
		// findOne is not supported on Quirks.
		return null;
	}

	return CKEDITOR.document.getBody().findOne( '.cke_copyformatting_notification div[aria-live]' );
}
#16729 On copy + paste from Microsoft word doc( having text and image) , it doenot paste image Bug Normal General
Description

Hi, When i copy and paste some content from Microsoft word document having text and image. Only text is displayed and copied image is not displayed(displayed as blank image).

when i only copy image and paste then it works.

I have tried it on demo page http://ckeditor.com/demo

#16730 [Bidi][iOS] Lack of scrollbar in the RTL text direction Bug Normal General
Description

This issue is related to http://dev.ckeditor.com/ticket/10448. While #10448 was fixed for desktop browsers it still does not work on mobile Safari (iOS 10.11).

Can be reproduced using steps from #10448 or running http://tests.ckeditor.dev:1030/tests/tickets/10448/1.

#16731 [iOS] Failing file tests due to "FileConstructor is not a constructor" error. Bug Normal General
Description

Some unit tests in:

  • tests/plugins/uploadwidget/additionalRequestParameters
  • tests/plugins/filetools/fileloader

are failing due to error:

TypeError: FileConstructor is not a constructor (evaluating 'new File( [ value ], fileName )')

#16732 Error 404 in Copy Formatting when downloaded with Bower Bug Normal General
Description

Steps to reproduce

  1. bower install --save ckeditor#full/4.6.0
  2. run
  3. see console

Expected result

work

Actual result

error 404 /bower_components/ckeditor/plugins/copyformatting/lang/en.js?t=GAGE

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

windows 10 pro, firefox 50.0.2

#16733 New color palette for Color Button plugin Marek Lewandowski Bug Normal CKEditor 4.6.2 General
Description

https://github.com/ckeditor/ckeditor-dev/pull/285

#16736 Text format is not retained for copy+paste text from excel Bug Normal General
Description

Hi, When i copy and paste some text from excel which is having some formatting in it like(bold,italic etc.)to the ckeditor, the formatting is not preserved.

For Chrome and Firefox it is not working but for IE it is working.

I have tried it on demo page http://ckeditor.com/demo

I have attached excel file and screen shots for reference.

#16737 Issue in pasting big table from excel document as bitmap image in ck-editor using simplupload. Bug Normal Core : Pasting
Description

Steps to reproduce

  1. Create one excel sheet with one big table of 140 rows and few columns data.
  2. Copy that big table image as 'Copy -> Copy as Picture -> Bitmap' from top left menu of excel document.
  3. Paste this copied bitmap image table in ck-editor,then we can see that the image table get flicker's and it reduces in width, height and quality of image.
  4. Paste bitmab big table image in to Microsoft Paint, then we can see that this image is same as like in excel document with same width, height and quality.

Expected result

The pasted big table image in ck-editor should be same as image pasted in paint (refer step 4)

Actual result

pasted image in ck-editor shrinked in width, height and quality(image seems blur or zoom)

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

  1. I am using Chrome as my browser and Windows 7 64-bit operating system.
  2. I have configured plugin like image2, simplupload.
#16738 Edge issue: script error on editor.applyStyle() "Unable to get property 'compare' of undefined or null reference" Bug Normal General
Description

Steps to reproduce

  1. I have custom style link in my editor that I try to apply using editor.applyStyle(style)and my style is:
    const linkStyle: CKEDITOR.style = new CKEDITOR.style({
    	name: 'link',
    	element: 'a',
    	type: CKEDITOR.STYLE_INLINE,
    	attributes: {'href': data, 'target': '_blank'}
     });
    
  2. In edge, when I call this method, an exception gets thrown

"Unable to get property 'compare' of undefined or null reference"

  1. I see that its coming from checkSelectionChange() method:

...

at this line

var currentPath = this.elementPath();
	if ( !currentPath.compare( this._.selectionPreviousPath ) ) {
...

currentPath is undefined here, it tries to call compare and an exception gets thrown.

Expected result

Style should get applied.

Actual result

Error gets thrown 'Unable to get property 'compare' of undefined or null reference'

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

This bug is specific to Microsoft Edge 38.14393.0.0. Does not repro in IE and chrome.

#16741 Cannot publish my post Bug Normal Performance
Description

I am a new user of CKEditor. I have installed it on the newest version of Wordpress. The problem is that I am unable to publish my post while CKEditor is installed. I can save a post as draft, and then, publish it directly from "All posts" - "Quick edit" - "Change status" - "Pusblished". However, I am unable yo publish a post directly from the editor. This is the problem. I am using the newest version of Google Chrome browser. When I hit "Publih", the circle is not even rotating. It seems like CKEditor disables the "Publish" button. It will be good if you will fix this error. Can you give me any suggestions in order to fix this problem on my own? I looked up all the tickets here, however, I could not find anything similar to the problem I am having while CKEditor is activated. Thanks!

#16742 How to identify end of the document ? Task Normal General
Description

I have added the scroll event in ckEditor, and now i have to identify the end of the document, so that i can fire an event and add next contents in editor when scroll reach to the end. Added the scroll event as below

private final native void addScrollHandler( Element frame )

/*-{

frame.contentWindow.CKEDITOR.on('instanceCreated', function(e) { e.editor.on('contentDom', function() {

e.editor.document.on('scroll', function(event) {

console.log( 'Editable has been scrolled' );

});

});

});

}-*/;

Now how can i identify the end of the document ?? Plz reply ASAP.!!

Thanks.

#16747 Unable to save cursor position on page refresh (i.e. after saving data) Bug Normal General
Description

Steps to reproduce

  1. Write one or two lines of code in ckeditor.
  2. Place cursor in between this text (see attached image).
  3. Save this data

Expected result

Cursor should highlight the same position after saving data (or page refresh) in which it was present before saving.

Actual result

Cursor is not even highlight anywhere in ckeditor

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

I am using chrome, ckediotr 4.5.6

#16748 Duplicate html tags are generated when a user toggles between the Source and WYSIWYG view in CKEditor Bug Normal General
Description

Both table and list (ul, ol, li) tags are duplicated. For example, an empty list item (li) will get generated when switching from Source to WYSIWYG view, if the user's cursor is somewhere in the html list when switching to WYSIWYG view.

Steps to reproduce

  1. Add bullet list with two items
  2. Switch editor to "Source" view
  3. Put cursor after <ul> tag
  4. Switch back to "WYSIWYG" view

Expected result

Cursor should remain at the same location in the text

Actual result

Duplicate <li> item is generated

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

Chrome OS CKEditor 4.6.1 (full package) KeepTextSelection plugin

#16749 CK Editor deletes code it does not understand Bug Normal General
Description

Steps to reproduce

  1. Switch code edit mode
  2. Type some html that you can not generate with ckeditor e.g html 5 video player
  3. switch back/submit form

Expected result

A page with a video clip

Actual result

a p tag with the message that would showing the message if browser does not support the html 5 player

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

This is not limited to new html 5 tags anything that ck editor does not understand will get removed/changed e.g. bootstrap classes

#16750 Background gets lost while pasting tables from MS PowerPoint or MS Excel in CKEditor Bug Normal General
Description

Steps to reproduce

  1. Paste a table with colored background from PowerPoint or Excel in ck editor
  2. Notice that the background colors get lost and content gets pasted without any colors.

Expected result

It should retain the background from source(in this case Powerpoint or Excel)

Actual result

We lose the background and td's are shown without any colors

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

Repro's in all browsers. Version 4.6.1

#16751 Edge Paste issue: Pasting a hyperlink with Mailto href removes the "href" attribute in Microsoft Edge Bug Normal General
Description

Steps to reproduce

  1. Copy Paste a hyperlink that contains mail to

<a href="mailto:me@…">eMail Us</a> in Edge

  1. CK editor removes href and you are left with:

<a> eMail Us</a>

Expected result

You should be able to keep the href attribute.

Actual result

Href gets removed and only left with <a> tag

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

Microsoft Edge 38.14393.0.0 EdgeHTML 14.14393

#16753 [HIDPI] element.setSize sets wrong editor's dimensions if border's width is in fraction of pixels Marek Lewandowski Bug Normal CKEditor 4.6.2 General
Description

This come out from #14630.

There as a failing test:

Error details for tests/plugins/maximize/maximize
test maximize fire resize event with proper properties
Width should be restored.
Expected: 200 (number)
Actual:   202 (number)

When I started to investigate what's the cause of this - it took me all the way to setSize method, and then marginAndPaddingSize function.

The problem there was that resize plugin was setting editor size, using box model so that border width should be included as a part of with. But it did not consider that the width might ba a fraction of a pixel, as a result in mentioned test border width was something like ~0.9px - but it used it as 0px. Having width attribute set to 200px (because border were skipped) and including the border, the actual width of the element was 202px.

The issue was reproducible on all browsers for me.

#16754 Consider changes in CKEDITOR.tools.array New Feature Normal General
Description

CKEDITOR.tools.array is an indispensable set of utilities when targeting such browsers as IE8.

There is room for improvement, though. One such improvement would be to arrange the parameters of the methods so that partial application is easier.

Proposed function signatures

 filter( fn, array )
forEach( fn, array )
    map( fn, array )
 reduce( fn, initialValue, array )
indexOf( value, array )

Note the lack of this argument. This can be realized by:

bind( fn, context, ...args )

which also enables partial application(functioning polyfills are available).

Why

  1. Functions without implicit potential side-effects(this) are easier to reason about.
  2. Using partial application enables us to do composition and promotes code reusability.

Example 1: (ES2015 syntax for brevity)

function getAscendant( condition, node )

const getParentDiv = bind( getAscendant, null, node => node.name == 'div');
const getParentP   = bind( getAscendant, null, node => node.name == 'p');

// later
var parentDiv = getParentDiv( someNode );

// somewhere else
var parentP = getParentP( someOtherNode );

Example 2: (inspired by ticket:16745)

// Rewrite this:
var nameIs = function( name ) {
      return function( element ) {
        return element.name == name;
      };
    },
    isLi = nameIs( 'li' ),
    lis  = filter( isLi, nodeList ); // list of "li" elements.

// As this:
var nameIs = function( name, element ) { return element.name == name },
    isLi   = bind( nameIs, null, 'li' ),
    lis    = filter( isLi, nodeList ); // list of "li" elements.

These are of course rudimentary examples. One could conceivably go much further with this with currying.

Further reading

There's a large set of functions that are easy to implement and bring good value as long as composition is possible. For a list check out:

  1. https://docs.python.org/2/library/functions.html
  2. http://ramdajs.com/docs/

BTW: I volunteer to take care of this.

#16757 Provide old color palette as an example for config. Tade0 Task Normal CKEditor 4.6.2 General
Description

In #16733 we refreshed the color palette in colorbutton dropdown, it would be nice to put old color palette as an example code listing in API docs for config.colorButton_colors.

#16758 The underline is not of the selected colour when Underline icon (U - icon in toolbar) is selected later Bug Normal General
Description

Steps to reproduce

Steps to reproduce :

  1. Write some text and color it blue.
  2. Now , underline it.

Expected result

The underline color should be blue.

Actual result

The underline color is black

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

Note: On the other hand, if the underlined text is already selected and then colored, it is works as expected.

#16760 When the font size is increased , the background colour size does not increase for the new font size Bug Normal General
Description

Steps to reproduce

  1. Type any sentence. (For this case lets type, "winter is cohhming")
  2. select whole text and set any background color
  3. Now select the word "winter" and set the font size to some high value (lets say 48)

Expected result

background color of the word "winter" should change as per its font

Actual result

background color of the word "winter" is remaining the same.

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

#16762 data-cke- ... in normal link, image, anchor link Bug Normal General
Description

First I did not found the link for posting tickets here. My mistake. I had first posted this problem on https://github.com/ckeditor/ckeditor-sdk/issues/206, someone there gave me this link.

I got a very recent version of the CKEditor that I did NOT adapt, I left it in its original state as I downloaded it. I did add one line of code in the config.js file : config.allowedContent=true; I use "inline editing".

I have to delete through PHP those data-cke-saved... that I found in a link or an image. Now I saw that I got this in an anchor link also : in an anchor link: data-cke-real-element-type="anchor"... in a normal link: data-cke-saved-href... in an image tag: data-cke-saved-src...

After adding an anchor link in the editable area WITHOUT saving it is shown as <a id="testing" name="testing"></a>, after saving see below (== Actual result ==).

I disabled other javascripts but it makes no difference, so there's no interference from other javascript.

I got an example in an attached file of how I saved into the database.

I'll be happy to answer any question or to give you any other file that you need.

Steps to reproduce

  1. just adding an anchor link in a editable are (see attached file)
  2. saving through a javascript (see attached file)
  3. saved into database with normal PHP code (see attached file)
  4. IMPORTANT : I reload the page and when I click in the editable area the CKEditor menu appears and click on the "Source" button (see picture as attached file), the anchor code is normal. But when I click on the right button of my mouse and choose "View page source" (see picture as attached file), the code for anchor link are those strange code data-cke- and has become an image as well (see below == Actual result ==).

It is saved this way into the database (see picture as attached file) Any ideas ?

Expected result

<a name="testing"></a>

Actual result

Once I retrieve it from the database (and it was saved this way into the database) : <img data-cke-real-element-type="anchor" src="data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==" title="Anchor" alt="Anchor" data-cke-real-node-type="1" data-cke-realelement="%3Ca%20data-cke-saved-name%3D%22testing%22%20name%3D%22testing%22%20id%3D%22testing%22%3E%3C%2Fa%3E" class="cke_anchor" align="">

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

Firefox 47.0.1, OS Win 7, CKEditor 4.6.1 (revision 580bcaf), Standard CKEditor + Plugins : Code Snippet, Color Button, Div Container Manager, File Tools, Font Size and Family, Indent Block, Insert <pre> element, Insert symbol, Justify, Letter-spacing, Line Height, List Style, Quicktable, Show Blocks, Simple HTML5 Audio, Source Dialog, Table Resize, Text Transform, Upload Widget, Youtube Plugin

#16763 TypeError: e is null Bug Normal General
Description

I have 'moving widget' in my ckeditor, it can move containers among ckeditor editable areas. If I will continuously move/add/delete them. at some point ckeditor will break. throwing error like above

TypeError: e is null


for below line and some other places:

e = e.type != CKEDITOR.NODE_ELEMENT || 0 === g || g == e.getChildCount() ? 0 : (e.getChild(g - 1) !== null) ? e.getChild(g - 1).type == CKEDITOR.NODE_TEXT && e.getChild(g).type == CKEDITOR.NODE_TEXT : 0;


I can't figure why it is throwing such errors. Please help me. Thanks in advance.

#16764 Brazilian Portuguese Localization New Feature Normal UI : Language
Description

Contribute to add a brazilian portuguese localization into the project a11y checker.

https://github.com/cksource/ckeditor-plugin-a11ychecker/issues/224

#16765 Rich text in Word document template New Feature Normal QA
Description

When i update one of content control with rich text data generated through CK Editor in word document through code, the data is getting populated with plain native html tags and not as the same data shown in CK Editor. I agree data when placed in CK Editor saves as plain html tags in db. Can you please let me know if you have any solution or any of CK Editor User came across with this same kind of issue.

#16766 Strategic Link Building & Competitive Intelligence New Feature Normal General
Description

Content removed due to its SPAM nature.

#16770 Group embed widget size styles. Task Normal CKEditor 4.6.2 General
Description

This ticket relates to this: https://github.com/ckeditor/ckeditor-dev/pull/314 Pull request.

#16772 [Safari] Failing tests in tests/plugins/embedbase/undo kkrzton Bug Normal CKEditor 4.6.2 General
Description

Extracted from #16588 as there are two different causes for failing tests.

Two tests in tests/plugins/embedbase/undo started to fail on Safari 10:

'test undo and redo after edition'
'test undo and redo after creation and edition'

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

Safari version: 10.0.1

#16774 pasteFromWordRemoveFontStyles = true - font-family still geting pasted Bug Normal General
Description

Steps to reproduce

  1. config.pasteFromWordRemoveFontStyles = true;
  2. paste from MS Word some text with 'Times New Roman'-Font

Expected result

<p>some text</p>

Actual result

<p style="margin-left:0cm; margin-right:0cm"><span style="color:#000000"><span style="font-family:Times New Roman">Some text</span></span></p>

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

Browser: IE (Version 11)

OS: Win

CKEditor version: 4.6.1

#16775 SSL Certificate error Bug Normal General
Description

The scayt spell checker won't load anymore. The problem seems to come from the SSL certificate

  1. https://svc.spellchecker.net/scayt26/loader__base.js

Actual result

svc.spellchecker.net uses an invalid security certificate. The certificate is only valid for the following names: *.webspellchecker.net, webspellchecker.net Error code: SSL_ERROR_BAD_CERT_DOMAIN

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

Tested from chrome and firefox on Mac os Sierra. Ckeditor is used in Yii1 framework.

#16776 CK Editor for Chinese version of window Bug Normal General
Description

Steps to reproduce

  1. CK Editor is not working with Chinese version of window
  2. Editor is not loading in page

Expected result

Solution to make CKEditor workable

Actual result

CKEditor is not loading

Other details (browser, OS, CKEditor version, installed plugins) ==Based in China with Chinese version of window

#16779 config.fillEmptyBlocks not working as function Bug Normal Core : Parser
Description

Hello

I am trying to configure CKE to NOT add space to my clear_fix div.

I have windows 7 pro 64, and have tried IE11, Chrome 55.0.2883.87(64-bit), and FF 50.1.0(64-bit).

I have the basic plugins, plus stylesheetparser, enhanced image, and I installed devtools to see if I could solve this.

I also config.removePlugins = 'stylesheetparser';

and I am getting the same error

According to bug #10422 this has been discovered and fixed, but unless I am doing something wrong, I believe the docs say I can do this but it is not working for me. My div has a class of clear_fix, not clear-both

config.fillEmptyBlocks = function( element ) {

if ( element.attributes[ 'class' ].indexOf( 'clear_fix' ) != -1 )

return false;

};

I have the above setting in my config.js file.

Note, this works fine: config.fillEmptyBlocks = false;

In chrome I get Uncaught TypeError: Cannot read property 'indexOf' of undefined

in FF I get TypeError: element.attributes.class is undefined

#16783 Update license headers Marek Lewandowski Task Normal CKEditor 4.6.2 General
Description

We need to greet year 2017 in our license headers.

#16784 Apply inline ckeditor using sharedspace on div inside iframe Bug Normal General
Description

Steps to reproduce

  1. apply ckeditor on iframe element.
  2. Right click on specified div
  3. Here you can find default toolbar

Expected result

http://i.prntscr.com/59b1990a15e748658ef64e43f3686f02.png. I want a signle toolbar in shared space. where I click to the ediatable zone it should be populated with its id

Actual result

But it is showing like this. http://i.prntscr.com/5d2a8dc4218248e09439a5a049d20b87.png

The one toolbar in shared space with formatting i have applied and one toolbar at the editable portion with default editor.

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

When I tried to debug using console by writing CKEDITOR.instances, then also it returns single instance. Please reply as soon as possible. its urgent.

#16787 [Edge] Undo-redo flicker when style applied Bug Normal General
Description

Steps to reproduce

  1. Build latest master.
  2. Open the /samples page and apply the "Special Container" style to the content.
  3. Hit Undo twice

Expected result

After first undo nothing interesting should happen.

Actual result

On second undo the style appears for a split second only to disappear.

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

Edge 14.14393

#16791 Image don't appear in preview area if URL was set from javascript Bug Normal General
Description

How I can paste URL from javascript and immediately see image in preview area?

#16792 File Browser error handling Bug Normal File Browser
Description

I am using File Browser and File Uploader plugins. One of the requirements for me is to prevent requests exceeding some max size from succeeding on the server side. The server echoes back a json: {"uploaded":0,"error":{"message":"Too large: 10,240Kb"}}

File Uploader (copy/paste directly into editor) works. I get a balloon message: 'Network error occurred during file upload.'

But File Browser does not work. It shows no useful message except for broken page inside the uploader iframe. And the worst part is - it completely hoses the Dialog. User can no longer exit it or re-upload new file. It shows this error: VM2738:formatted:2659 Uncaught DOMException: Blocked a frame with origin "http://localhost" from accessing a cross-origin frame.

Browser: Chrome, OSX, CkEditor 4.5.11, plugins : {

'autogrow' : 1, 'basicstyles' : 1, 'clipboard' : 1, 'colorbutton' : 1, 'entities' : 1, 'filebrowser' : 1, 'floatingspace' : 1, 'font' : 1, 'htmlwriter' : 1, 'image' : 1, 'indentblock' : 1, 'indentlist' : 1, 'justify' : 1, 'link' : 1, 'list' : 1, 'magicline' : 1, 'maximize' : 1, 'pastefromword' : 1, 'pastetext' : 1, 'sourcearea' : 1, 'tab' : 1, 'toolbar' : 1, 'undo' : 1, 'uploadimage' : 1, 'wysiwygarea' : 1

},

#16794 [iOS] Font family dropdown not updated after selection change Bug Normal General
Description

Steps to reproduce

  1. Go to http://tests.ckeditor.dev:1030/tests/plugins/font/manual/changingfontsize.
  2. Change font family.
  3. Type something.
  4. Change font family.
  5. Type something.
  6. Place the caret in a text with different font family (typed first).

Expected result

Font dropdown updates and shows current/active font family.

Actual result

Font dropdown not updated.

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

Safari on iOS 10.1.1. Issue reproducible in 4.5.0, have not checked earlier versions.

#16795 [CM] Editor is broken once Copy Formatting is added Tade0 Bug Normal CKEditor 4.6.2 General
Description

Steps to reproduce

Open any of the http://ckeditor.dev/samples/old/(old) samples in Compatibility Mode.

Expected result

Editor launches without errors.

Actual result

An exception is thrown Object doesn't support this property or method.

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

IE Compatibility Mode.

#16797 On IE11, style="overflow-x: auto" becomes -ms-overflow-x when switching between source and wysiwyg Bug Normal General
Description

Steps to reproduce

  1. Open a ckeditor in IE11
  2. In source view, add <div style="overflow-x:auto"></div>
  3. Switch to editor view then back to source view

Expected result

<div style="overflow-x:auto">

Actual result

<div style="-ms-overflow-x:auto">

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

allowedContent = true;

extra plugins: colordialog, oembed, widget, aviary, nanospell

Still happens if the div has contents within it

I've tried this on 4.6.1, 4.6.2 and 4.4.2 and it happens the same.

We have a data processor with .toHtml and .toDataFormat methods, however logging out at various points of each, it is still overflow-x on the last line of .toHtml and comes to .toDataFormat as -ms-overflow-x. Commenting out the entire data processor causes the bug to persist.

#16798 Unable to save cursor position on page reload or after saving data Bug Normal Core : Focus
Description

Steps to reproduce

1.I have one data in ckeditor or i can add my own data in to ckeditor then the cursor blinks when i type into ckeditor near to new text added till i add new text.

  1. After this i click on save as draft button (see attached image), then the ckeditor not able to focus on the place where i was editing or adding new text and cursor position get loss.
  2. After saving data (means after saving data page get reload) cursor should blink on the position where i was typing or adding text before saving data.

Expected result

After saving data cursor should blink on near to same text where i was editing before saving data.

Actual result

After saving data cursor position loss.

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

plugin version : 4.5.6. browser : chrome

#16799 Disable smiley Task Normal General
Description

in bbcode/plugin.js, (line 53) there is a smileyMap to convert string to img and some methods to do this But I want to remove this. In my case, replace :p by an image is a problem.

Thank

mlewandowski > jmvau54

I see that smileys are simply hardcoded in bbcode plugin. The solution here would be simply to add a config option that disables this feature. For that please fill a feature request in our issue tracker http://dev.ckeditor.com.

If you're looking to have it asap the only option for you would be to fork bbcode plugin, and use your own forked version untill the thing is fixed. Also don't forget to send us a pull request, that would definitely speed up things on our side.

#16800 Copy/paste to Span editor make the span split Bug Normal General
Description

Steps to reproduce

You can check the problem on this sample: https://jsfiddle.net/khanhle/m3vscmog/

Expected result

Paste works well as in P or DIV editor

Actual result

Split SPAN into 2 parts

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

Tested on Chrome, Firefox

#16801 Update NPM dependencies Marek Lewandowski Task Normal CKEditor 4.7.0 General
Description

We need to update NPM dependencies, so that this guy is happy: https://david-dm.org/ckeditor/ckeditor-dev?type=dev :)

#16802 ForceSimpleAmpersand is ignored Bug Normal General
Description

Steps to reproduce

  1. CKEDITOR.config.forceSimpleAmpersand = true;
  2. save an link with href=http://www.foo.bar/?foo=bar&foo=bar
  3. forceSimpleAmpersand is ignored

Expected result

href=http://www.foo.bar/?foo=bar&foo=bar

Actual result

http://www.foo.bar/?foo=bar&amp;foo=bar

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

4.7.1 and earlier

Fix: htmlwriter/plugin.js move htmlEncodeAttr before forceSimpleAmpersand handling:

Diff:

181a182
> 				attValue = CKEDITOR.tools.htmlEncodeAttr( attValue );
184d184
< 				attValue = CKEDITOR.tools.htmlEncodeAttr( attValue );

(limited js and ckeditor knowledge, but the fix works for me)

#16803 [MAC] Certain CK Editor Keyboard shorcuts does not work on MAC Bug Normal General
Description

Steps to reproduce

  1. Open nightly build http://nightly.ckeditor.com/17-01-17-07-06/full/samples/in Safari or any browser on MAC
  2. Try to use Keyboard shortcuts defined in Accessibility Instructions dialog

Issue: Below keyboard shortcuts does not work on MAC in an Browser

Editor Toolbar

Press Alt+F10 to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT+TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button.

Editor Context Menu

Press Shift+Ctrl+F10 or APPLICATION KEY to open context-menu.

Editor Element Path Bar

Press Alt+F11 to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor.

#16805 Microsoft Edge issue: Text copied in some lists is pasted with underline in it Bug Normal General
Description

Steps to reproduce

  1. Copy the attached file to ck editor demo page http://ckeditor.com/features( paste it in accessibility checker since <u> is disabled in developer site editor
  2. The text is pasted with underlines but the original text didn't have underlines on the lists.

Expected result

No underlines on lists since the source document doesn't have it.

Actual result

Underline on lists

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

Repro's in Microsoft Edge

#16806 Bold and some other styles are not copied from Powerpoint Bug Normal General
Description

Steps to reproduce

  1. Try to copy the sample ppt file in CK editor demo page.
  2. Notice that bold style is getting lost

Expected result

Bold style should retain while pasting from ppt

Actual result

Bold style gets lost

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

All browsers

#16810 Missing table vertical align when pasted from Word Marek Lewandowski Bug Normal CKEditor 4.7.0 Plugin : Paste from Word
Description

Steps to reproduce

  1. Open attached Table_vertical_alignment.docx document in Word.
  2. Copy it's content.
  3. Paste into a full featured editor.

Expected result

Table cells keeps it's different alignments.

Actual result

Alignments are stripped.

#16812 Missing table height on paste from Word Bug Normal Plugin : Paste from Word
Description

Steps to reproduce

  1. Open attached Table_vertical_alignment.docx file with Word and copy it's content.
  2. Paste into the editor.

Expected result

Table height is preserved.

Actual result

Table height is stripped.

#16813 editor.getSelectedHtml returns incorrect data Bug Normal Core : Selection
Description

Because of clipboard plugin use editor.getSelectedHtml, this bug can reproduce with copy/paste. I also created plugin "bugdemo" to show how to repriduce the bug. You can download ckeditor with plugin "bugdemo" here: https://drive.google.com/file/d/0Bxtv10NlSOEbenRvWUtJeGhqV2c/view?usp=sharing Also, see vidio record with bug reproducing: https://drive.google.com/file/d/0Bxtv10NlSOEbVU9POE9RenZkblE/view


Steps to reproduce ("clipboard" plugin)

  1. download zip archive https://drive.google.com/file/d/0Bxtv10NlSOEbenRvWUtJeGhqV2c/view?usp=sharing , exstract it and open samples/index.html
  2. Select text "Lorem"
  3. Open and close any dropdown menu
  4. Copy selected text "Lorem" by clicking 'copy' button in toolbar.
  5. Paste selected text by clicking 'paste' button in toolbar. (CTRL + V)

Expected result ("clipboard" plugin)

Inserted text is "Lorem"

Actual result ("clipboard" plugin)

Inserted text is "Lorem ipsum dolor sit amet. Hello CKE" (all first text node)


Steps to reproduce (custom "bugdemo" plugin)

  1. download zip archive https://drive.google.com/file/d/0Bxtv10NlSOEbenRvWUtJeGhqV2c/view?usp=sharing , exstract it and open samples/index.html
  2. Select text "Lorem"
  3. Open and close any dropdown menu
  4. Click 'owl' button in toolbar.

Expected result (custom "bugdemo" plugin)

See text "~Lorem~"

Actual result (custom "bugdemo" plugin)

See text "~Lorem ipsum dolor sit amet. Hello CKE~"


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

Reproduced only in CKEditor Inline Editing.

Environment: Windows 7, Chrome 56.

#16814 Failing Paste from Word(PFW) tests in built version. Tade0 Bug Normal CKEditor 4.7.0 Plugin : Paste from Word
Description

There are PFW tests that pass in dev but not in the built version. This needs to be fixed.

#16815 Pasting hyperlinks doesn't include </a> in OS X Firefox Bug Normal Core : Pasting
Description

Steps to reproduce

  1. Load http://ckeditor.com/features in Firefox
  2. Paste the text http://ckeditor.com/features into the CKEditor instance (make sure to not include any newlines)
  3. Type some additional text on the same line

Expected result

The hyperlink tag will be closed and the additional text added in step 3 won't be linked

Actual result

The text you type in step 3 is hyperlinked in the same <a> tag as what you'd pasted

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

Firefox 47.0.1, but NOT Safari 10.0.2 or Chrome 55.0.2883.95 (64-bit)

OS X 10.12.2

ckeditor is whatever is currently on http://ckeditor.com/features (looks like 4.6.2?), but also confirmed on 4.5.3.

#16816 Form elements i.e. (radio, checkbox, text field, text area) are not editable and even can't be selected. Bug Normal Core : Editable
Description

Steps to reproduce

  1. Open http://ckeditor.com/latest/samples/index.html on firefox 50.1.0 or some other latest versions in the newest version
  2. Click radio, checkbox, text field, text area buttons and watch these are not working even these buttons can't be selected through clicking by mouse.

3.It works in Safari someway. Still in safari radio button is editable for one way. It means if the radio button has been selected then it can't be deselected again.

Expected result

These buttons should be editable like when using in simple html/js webpages. In fact, editing options are the main utility of these buttons.

Actual result

When selecting these buttons from toolbar these appears fine in the text area but are not editable.

I have explored about this issue and changed my plugin with 'formchanges' and 'nid_forms' plugins. But it didn't work.

Other details

(browser: Firefox 50.1.0 , OS: Windows 7 , CKEditor version 4.6.2, installed plugins: forms, formchanges, nid_forms)

#16817 Paragraph transformed into lists, with corrupted data when pasting from Word Tade0 Bug Normal CKEditor 4.7.0 Plugin : Paste from Word
Description

Steps to reproduce

  1. Copy the text from attached docx to CKEditor demo page.
  2. The paragraphs are converted to list items and first word of paragraph is getting lost.

Expected result

Text simply gets pasted.

Actual result

Paragraph are transformed into lists, and first words are removed.

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

This content has been authored in MS outlook and pasted to word document.

#16818 Cells should use row height if possible Marek Lewandowski New Feature Normal CKEditor 4.7.0 Core : Tables
Description

Steps to reproduce

  1. Put following markup to the editor:
    <table>
    	<tbody>
    		<tr style="height: 65px">
    			<td>aaa</td>
    			<td>bbb</td>
    		</tr>
    	</tbody>
    </table>
    
  2. Right click in a "aaa" cell.
  3. Use Cell / Cell Properties option.

Expected:

"Height" cell has a value of 65.

Actual:

"Height" cell doesn't have any value.

#16819 Media Embed plugin does not work on https Bug Normal General
Description

Steps to reproduce

  1. add "embed" to an editor instance on an https page
  2. try to embed a youtube link and you'll get a message saying "Failed to fetch content for the given url"

Problem

The problem is the default providerUrl is '//ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}' which means it uses the protocol of the page. iframe.ly has a certificate, but it doesn't cover "ckeditor.iframe.ly" so the request fails. So, the solution is for iframe.ly to add that subdomain to its certificate (or wildcard) or for the plugin to explicitly use "http".

Workaround

The plugin accepts a embed_provider configuration that would allow setting it to "http://ckeditor.iframe.ly/api/oembed?url={url}&callback={callback}" until a permanent solution is found.

#16820 [BR MODE][IE10] Inserting horizontal line and clickinng below it causes error Bug Normal General
Description

Steps to reproduce

  1. Load CKEditor with enter mode set to BR.
  2. Clear editor contents with New Page button
  3. Insert horizontal line
  4. Click below the line

Expected result

Nothing happens.

Actual result

JavaScript error gets thrown.
Message: SCRIPT5007: Unable to get value of the property 'ownerDocument': object is null or undefined.
Line: 788
URI: /ckeditor/core/selection.js

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

Problem can be reproduced in IE10 only starting from CKEditor 4.0.

#16822 Blur editor event fails on source editing mode Bug Normal General
Description

Steps to reproduce

  1. Download http://download.cksource.com/CKEditor/CKEditor/CKEditor%204.6.2/ckeditor_4.6.2_full.zip and unpack
  2. Open samples/index.html in Chrome browser
  3. Click 'Source' button on toolbar to switch CKEditor to source editing mode
  4. Open Chrome Inspector
  5. Open Console tab
  6. Execute snippet
    CKEDITOR.instances.editor.on('blur', function(e) {
    			console.log('blur happened');
    		});
    
  7. Click inside on CKEditor text area
  8. Click outside of CKEditor

Expected result

Console should print blur happened

Actual result

ckeditor.js:238 Uncaught TypeError: Cannot read property '$' of undefined
    at CKEDITOR.focusManager.d (ckeditor.js:238)
    at CKEDITOR.focusManager.<anonymous> (ckeditor.js:238)
    at ckeditor.js:28

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

#16825 [Chrome] Error thrown when destroying focused inline editor Tade0 Bug Normal CKEditor 4.7.0 Core : Focus
Description

Steps to reproduce

  1. Focus is on the editor, not blur
  2. Click jQuery UI Dialog cancel button ,then fire close event:
       close: function () 
       {
           editor.destroy();
           editor = null;
       }
    
  1. Uncaught TypeError: Cannot read property 'isInline' of null

at CKEDITOR.focusManager.d (ckeditor.js:238)

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

at ckeditor.js:28

Actual result

After call editor.destroy(),editor.editable() return null

// Blink browsers leave selection in `[contenteditable=true]`
// when it's blurred and it's neccessary to remove it manually for inline editor. (#13446)

if ( CKEDITOR.env.chrome && editor.editable().isInline() ) {
editor.window.$.getSelection().removeAllRanges();
}

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

Chrome 55.0.2883.87 m

CKEditor 4.6.2

#16826 [IE] Lists pasted from Word gets an extra paragraph Marek Lewandowski Bug Normal CKEditor 4.7.0 Plugin : Paste from Word
Description
  1. Create new Word document, and make a simple, flat ordered list.
  2. Copy the list.
  3. Paste it into CKEditor.

Expected

List should be pasted without p inside li to have better consistency with other browsers.

Actual

Lists get pasted with additional paragraph inside li element.

Details

Now the reason why this happens is because IE in fact puts paragraphs inside li elements (which is not a HTML violation by itself).

#16830 Limit the number of characters for one control Task Normal General
Description

We are using the CKEDitor on a Dynamics CRM form and showing the editor more than once. How to restrict the characters for one field? We want to restrict the user to enter number of characters on a form.

#16831 How to add a css class to a selected Paragraph? New Feature Normal General
Description

Is there any option in ckeditor by adding a css class by selecting a paragraph?

My requirements are that I have lengthy text in the field with some paragraphs. One of paragraph I want to change the style through css. So for that I want an option in the ckeditor toolbar from where I can add a css class to a paragraph, not from source and editing the html.

I think there will an option or a plugin available therefore I'm putting the type of this ticket as a new feature. or can modify the code of the ckeditor.js to accomplish this task?

#16832 change event not triggered upon applying native browser spell checking Bug Normal General
Description

Steps to reproduce

  1. Head to http://sdk.ckeditor.com/samples/spellchecker.html
  1. Open developer tools. In the console execute CKEDITOR.instances.editor3.on('change', function() { console.log('changed') })

(editor3 is the sample ckeditor for native spell checking)

  1. Now do ctrl + right click in the underlined words and click on one of the suggestions

Expected result

change event should be triggered.

Actual result

change event is not triggered

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

Browser: Chrome 55.0.2883.87 OS: Windows 7, 64 bits CKEDITOR: 4.7.0

#16836 Bullets and Numbers CSS not woking in show page Bug Normal General
Description

I integrated the ckeditor in my rails application but the when i am using bullets and numbers in show page its not showing the number and bullets only data is showing i am not able find the solution kindly help me in getting solution to this problem

#16838 Base path automatic detection fail Bug Normal General
Description

The code to set CKEditor base path automatically, for loading resources (config, skins, styles, translations, etc.), does not work on some specific situations.

Steps to Reproduce

File name and hierarchy matters to reproduce! Rename ckeditor.js with a "hash" prepend and set your html page and javascript resources in two different directories, like described below:

project/
|_ html/
   |_ page.html
|_ javascript/
    |_ 123abc-ckeditor.js
    |_ [other ckeditor files: config.js, styles.js, ...]

Content of page.html is as follow.

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>basePath  bug</title>
  <script src="../javascript/123abc-ckeditor.js"></script>
</head>
<body>
  <textarea id="editor1"></textarea>
  <script>
    CKEDITOR.replace('editor1');
  </script>
</body>
</html>

Note: this has been tested with CKEditor Nighty (1 February 2017) on IE 11, Chrome 56, Firefox 51, Safari 10 and Opera 42. I did not test old IE and Edge.

Actual Result

CKEditor will try to load its resources (config.js, editor.css and en.js) from project/html/. Although, resources should be loaded from project/javascript/.

Expected result

I can accept this bad detection, as the filename is unusual and base path can be set manually. But, I am expecting the code to fail loudly: throw an exception telling the path could not be automatically detected. Has code seems to be design for...

Bug Reason

Bug is caused by code from basePath function in ckeditor_base.js, see https://github.com/ckeditor/ckeditor-dev/blob/2db0ce3e25f9c97404e2be107e1250a78254ddd7/core/ckeditor_base.js#L118-L150.

As 123abc-ckeditor.js does not match basePathSrcPattern:

/(^|.*[\\\/])ckeditor\.js(?:\?.*|;.*)?$/i;

The first if will let the path variable equal to the empty string.

The second if (who is 'IE only') will then be executed. Setting wrongly the path on actual location.

Finally the last if will never be executed whatever and is actually some dead code!

Proposed Solution

I propose to make a pull request changing the line:

if ( path.indexOf( ':/' ) == -1 && path.slice( 0, 2 ) != '//' ) {

by

if ( path && path.indexOf( ':/' ) == -1 && path.slice( 0, 2 ) != '//' ) {

This make the code throw as expected. On all tested browsers.

#16839 Deleting marked header element leaves tag behind (IE/Edge only) Bug Normal General
Description

Steps to reproduce

  1. Go to the demo page of ckeditor.com
  2. Make line after header bold (strong).
  3. Mark header and CUT (ctrl+x)
  4. Press delete to pull up bold line

Expected result

Should not affect styling of pulled up lines

Actual result

bold line pulled up acquires previously cut header elements tag

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

IE/Edge only on current ckeditor release

#16840 Empty paragraph breaks paragraph wrapping Bug Normal General
Description

Steps to reproduce

  1. Set <p></p> as content of the contenteditable element
  2. Click into the editor
  3. Start typing

Expected result

The typed text is wrapped by a <p></p> tag.

Actual result

The typed text is not wrapped but inserted before the <p></p>. When hitting the Enter-key a new paragraph is inserted and from then on everything gets wrapped.

Environment

Tested with Google Chrome Version 56.0.2924.76 (64-bit) and Firefox ESR 45.7.0 using Ubuntu 16.10 on ckeditor.com

#16842 Autolink plugin does not recognize URLs with dashes Bug Normal General
Description

Steps to reproduce

  1. Paste http://www.the-art-of-web.com/php/parse-links/ into editor

Expected result

Link is recognized and turned hyperlink

Actual result

Link is not recognized

The problem is the regex on line 10 of autolink/plugin.js

It needs to change to: /(https?|ftp):\/\/(-\.)?([\s\/?\.#]+\.?)+(\/[\s]*)?[\s\.,]$/ig

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

#16843 /videodetector//icons/icon_black.png?t=H0CG 404 (Not Found) Bug Normal General
Description

I just downloaded the software to try it out and uploaded the zip file to our testing server. Uploading the software and then just viewing the page http://beta.stubwire.com/_temp/testing/ckeditor/samples/index.html I get the below 404 error and the video icon is not visible.

ckeditor.js:94 GET http://beta.stubwire.com/_temp/testing/ckeditor/plugins/videodetector//icons/icon_black.png?t=H0CG 404 (Not Found)

Steps to reproduce

Expected result

Actual result

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

#16845 [IE11] Cursor jump to the top of the editor Tade0 Bug Normal CKEditor 4.7.0 General
Description

Steps to reproduce

  1. Change the editor to the source code mode.
  2. Copy and paste the contents in the attached file.
  3. Change the editor to the WYSIWYG mode.
  4. Scroll down the editor viewport to the bottom.
  5. Left mouse click on the last 'brownie.jpg' image.
  6. Cursor jump to the top of the editor viewport.

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

[CKEditor version]

[Client OS, Browser]

  • Windows 10 Pro(64bit) / Internet Explorer 11
#16846 Stored XSS Bug Normal General
Description

Hello CKEditor Guys,

Found a Stored XSS Vulnerability in CKEditor Version : 4.6.2, Can you please guide me how i can report it you privately. Dont want to disclose this information here as this ticket might be public.

If possible kindly email me on - pgauttam@….

Have a great day.

#16847 Inline styles from clipboard data transfer when pasting from Word Tomasz Jakut New Feature Normal CKEditor 4.7.0 Plugin : Paste from Word
Description

While serializing to HTML, Word inlines styles to some elements, while leaving classes in others.

A style element that contains all the styles for a given selector is put in html > head element of text/html clipboard which is currently not pasted into CKEditor.

What we need to do here is to make sure that we check text/html dataTransfer to check for these style elements, and inline them into matched elements.

One thing to keep in mind that we don't want to inline mso- specific styles. At the end it's fine for us to inline even unknown css, as it will get stripped by ACF after processing.

#16850 Custom context menu disable option Tade0 New Feature Normal CKEditor 4.7.0 General
Description

We need an option to disable our custom context menu, even if the plugin is loaded. The thing is that contextmenu plugin is required by plugins like tabletools or liststyle, where it's the only way to see the features added by the plugin.

If we'd remove it from required property, this plugin would not be automatically picked by our online builder, so that's a no-go.

But some customers provide custom implementation of UI, where custom context menu is not needed.

#16855 htmlEncodeOutput thogether with allowedContent and/or extraAllowedContent Bug Normal General
Description

Steps to reproduce

When I define in the global config htmlEncodeOutput=true thogether with allowedContent=true and/or extraAllowedContent = '*(*);*{*}' then the Output is not encoded and it Ends in a bad request on asp.net:

CKEDITOR.config.htmlEncodeOutput = true; CKEDITOR.config.allowedContent = true; CKEDITOR.config.extraAllowedContent = '*(*);*{*}';

Expected result

The Output should be encoded to avoid bad request error on asp.net

Actual result

The Output is not endoded as soon as I set allowedContent=true and/or extraAllowedContent

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

$j = jQuery.noConflict(); var ckobjects = new Array(); $j(document).ready(function () {

CKEDITOR.config.htmlEncodeOutput = true; CKEDITOR.config.allowedContent = true; CKEDITOR.config.extraPlugins = 'customcommand'; $j('[editcontent]').each(function(){

var tmpelem = CKEDITOR.replace(this, {

language: 'de', enterMode: CKEDITOR.ENTER_BR, toolbar: [

{ name: 'basicstyles', items: ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat'] },

{ name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] }, { name: 'insert', items: ['Table', 'SpecialChar', 'Source'] },

{ name: 'styles', items: ['Format', 'FontSize'] }, { name: 'colors', items: ['TextColor', 'BGColor'] }, { name: 'tools', items: ShowBlocks? }, { name: 'customcommand', items:customcommand? }

]

}); tmpelem.editor = this.attributes.editor; ckobjects.push(tmpelem);

});

});

#16856 Maximize not working on iphone Bug Normal General
Description

Steps to reproduce

click maximize or fullscreen icon in the toolbar

Expected result

clickable and would make the editor in fullscreen

Actual result

not clickable and nothing happens

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

ckeditor version 4.6.2 only happens on iphone

#16860 Paste from Word converts ordered lists too greedy Marek Lewandowski Bug Normal CKEditor 4.7.0 Plugin : Paste from Word
Description

Fixture for Ordered_list did not actually contain ordered list.

It was simply a set of paragraphs. Also it should not be converted to ordred list, since semanticaly these are just paragraphs.

Steps to reproduce

  1. Open linked docx in Word, copy all content to the clipbaord.
  2. Paste it into the CKEditor instance.

Expected result

Text is pasted as a set of paragraphs.

Actual result

Paragraphs are converted into ordered list.

#16861 [FF] Failing uploadimage test Tade0 Task Normal CKEditor 4.7.0 General
Description

Test test pasting images in the editor with uploadfile and uploadimage plugins fails under certain conditions, with following message:

tests/plugins/uploadfile/uploadfile test pasting images in the editor with uploadfile and uploadimage plugins

Values should be the same.
Expected: <p><img src="/tests/_assets/logo.png" style="height:1px; width:1px" /></p> (string)
Actual:   <p><img src="/tests/_assets/logo.png" style="height:0px; width:0px" /></p> (string)

For me it fails in 2 cases:

  • running with devtools open
  • cold browser boot, e.g. firefox http://tests.ckeditor.dev:1030/tests/plugins/uploadfile/uploadfile (just make sure no FF processes are active)
#16862 Failing Paste from Word tests in IE8 Tade0 Bug Normal CKEditor 4.7.0 Plugin : Paste from Word
Description

Two tests in this group: http://tests.ckeditor.dev:1030/tests/plugins/pastefromword/generated/heuristics fail in IE8.

#16864 A issue with paste table from Excel and plugin pastebin64 Bug Normal General
Description

Steps to reproduce

  1. Download a preset full CKEditor plus "Paste image as base64" plugin
  2. Enable pastebase64 plugin at config:
CKEDITOR.replace( 'editor', {
		extraPlugins: 'pastebase64',
	} );
  1. Open it with Chrome (56.0.2924.87) and at editable area, paste a simple table from Excel

Expected result

A table converted into html:

<table border="0" cellpadding="0" cellspacing="0" style="width:192px">
	<tbody>
		<tr>
			<td>1</td>
			<td>2</td>
			<td>3</td>
		</tr>
		<tr>
			<td>4</td>
			<td>5</td>
			<td>6</td>
		</tr>
		<tr>
			<td>7</td>
			<td>8</td>
			<td>9</td>
		</tr>
	</tbody>
</table>

Actual result

A table converted into html plus in the last cell a table converted into base64 image:

<table border="0" cellpadding="0" cellspacing="0" style="width:192px">
	<tbody>
		<tr>
			<td>1</td>
			<td>2</td>
			<td>3</td>
		</tr>
		<tr>
			<td>4</td>
			<td>5</td>
			<td>6</td>
		</tr>
		<tr>
			<td>7</td>
			<td>8</td>
			<td>9<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMEAAAA0CAYAAAAzHVw2AAAFZ0lEQVR4Ae1dPW/iQBB9Pt1PwSkQv8AUqc01qWjpTGk3dJR0aUxpd7RUNLHbpMC/AFHE/i972jUG/IEh0im6zMxJ0WHWJLw3M7uz3nm71vv7u4L8EwYYM/BbY39+fmZLwcfHh+Bnbv9fbL1fgAsDJwYkCMQV2DPAJwiKNcbWHCk3kxvcFiyr/JlzIyCdn7Fb1hjrou0ATIIgxdwOkLXxE3+nxD1KFJRSUImHeNLtCCSJ0B3A5IAwr/CPENjtjpB8EBTrMSxrgoPnwSFp6R5Q6Q6xE2Lhnu5xFwidDMe85zOUmgY+9moPf1Dhf4GHAz4bowH5IMDTErlS2C+GlMz7GBY3gtr7qHwAyHHkNxyeuSrWK8TOFH8uhJg284j0fBfBFwO36gYJgvsipNIJQuTcKNFpkUmHHYT5dadQEkh/JPiio1C9XaeFdjBCUhsZqKJt4DJpkZ4TMZ0TNOhgeVkGABDmEbgNAjWDu91zAvLpUI0EhhfnEUAxD4Ae20s61EPOj28q1pgFjEcAs0Zw9Ui0+MShY2IsQfDjPf02gPRVr41kCOzLYpleNGOzYOZGyMMDJqeFQss+YtkxJ+KTDpnJ0W2HodjiRgoqoojscUwDfw/l998vI0E/P9LKgAEJAgZGFoj9DFgiquknSFrpMyCiGhHVsBcVSTpEv6MThHcYkCC4Q5A002eATxCIqKYUl4zXaFQSE/fyAuvxZZ1k3KGqYRME5cIRcXt3wcuPyLykFNVoYU3HYlHXx6i8l85tBAhNOb3KQyCYtdRlPBbL0jkmB4efqAZAuovhDBdUfPqLOFLs4qvyabNg2l45YzASFFivgGQz/SKBFG4v8HlwMG2qSChAewSDrhXCCE8NEU3zo+SDoFjPsJ0umJYQl0qy7azKiRnpi7Wn61TQGQJGYnt7owHiQZDidTvF5iwybfYBxK9NTwhMNyehuVri2CE0J81CFmCFTe9GA6TnBOl8AizVlcaWtLnb4Dpz4FJo7t5JEdq/7Ie+44SXTtBsNGCXGw1c4Sc8EuhJERBPTqmA0ZjGpqyWTSnxD/Xbf/a17SGc7Ih7m2sQDgIXkX4kWP3kIRx4SJRCxEVj+KCo5J853f/2iwY+ll6MVbU2kL4iyDy8NOxPOh3632zy7d/HiErGsC3r9Kd1JxCxSg/dKMfn2IYVlBR4iWo9JOETBAxFNdrsj4hKvj04v/UPDuDvFdqrA5cvQTgduoCUV8JAHwMSBH3sSBsLBkRUw8LMArKPATMnkJNq5KSePieh3KZPKpJ0iLKFBdtDDEgQPEST3ESZAdpBUDulpCois9AlrCBr5NpJNcwK6LRRr/HfEBTRDgK9P3+1Yqz/TzwAHpZsCurqJ9UYTQmrAroSP8Lc+EE+3cLuqJmhHQS17j3FfBLDSxhtTGuqSC9lAgN/2XlSS40mShcn/FWnZ/DHq5ayjE0QVAdUnI8uomTsW1gGfzB1Yuyqw/rM8U3tk1pufZzL+0yCoMDbNoO3bJ9SQtvQumQgx3B1mg+thsg5aYwHTxjh0gmYjhDtM9t4BEHxhm1H9SDtANDoUswtG9vpVU7M6hhbF1Ee4nAqp59hibDj9EYWQVC8bZF5L63qQfJB0JUTd5zeSJoHUzhZltTvfeCYORjadcQsgiA/ZnCayOs8yBUHBkyn0BbeMwgCveMCMLq35QBFJzhNjCtRSZkTt52AIvQSk04HL2sjZu+pjoyAgZ5A77jQHgLpGv4a2QD+JsTWrkQleg8eRo+I4SJKdrBsC0ZT44TI9w1ZGQAGQaBllm3g165C+nWn2J404jo4s2Daf1wPg3SozolcCQNNBiQImozINTsGRFTDzuQCuMnAX+LhAGoo6Ln5AAAAAElFTkSuQmCC" /></td>
		</tr>
	</tbody>
</table>

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

Browser Chrome 56.0.2924.87, CKEditor 4.6.2, plugin 'Paste image as base 64' JSFiddle: https://jsfiddle.net/58n84403/1/

#16866 [IE][EDGE] Whitespaces not preserved when pasting from Word Marek Lewandowski Bug Normal CKEditor 4.7.0 Plugin : Paste from Word
Description

Steps to reproduce

  1. Open attached docx in Word.
  2. Copy it's content.
  3. Open CKEditor.
  4. Paste the content.

Expected result

Content is pasted with spaces.

Actual result

Multiple spaces are not preserved.

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

Reproduced with IE11 / Edge.

#16867 paste from MS Word some text with background color Bug Normal General
Description

Steps to reproduce

  1. config.pasteFromWordRemoveFontStyles = true;
  2. paste from MS Word some text with background color

Expected result

<p>some text</p>

Actual result

<p><b><span style="background:white">Come text</span></b></p>

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

Browser: Chrome

OS: Mac

CKEditor version: 4.6.1

#16868 paste from MS Word some text with background color Bug Normal General
Description

Steps to reproduce

  1. config.pasteFromWordRemoveFontStyles = true;
  2. paste from MS Word some text with background color

Expected result

<p>some text</p>

Actual result

<p><b><span style="background:white">Come text</span></b></p>

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

Browser: Chrome

OS: Mac

CKEditor version: 4.6.1

#16870 [IE] Backspace skips empty paragraphs Bug Normal General
Description

Steps to reproduce

  1. Open http://tests.ckeditor.dev:1030/tests/plugins/widget/manual/block
  2. Put the caret at the start of the paragraph under the image widget(The spelling "Lenna"...).
  3. Hit backspace.
  4. Hit the enter key a few times.
  5. Hit backspace.

Expected result

One empty paragraph is removed.

Actual result

Widget is selected.

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

The error occurs because only in IE this method: http://docs.ckeditor.com/#!/api/CKEDITOR.dom.range-method-getPreviousEditableNode ignores empty paragraphs.

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