Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (11101 - 11200 of 11754)

Ticket Summary Owner Type Priority Milestone Component
#14295 not working in popup window created by Javascript Bug Normal General
Description

Steps to reproduce

<html>
<script src="ckeditor.js"></script>
<script type="text/javascript">
  var popupWindow = window.open('', 'windowName', 'height=300,width=300');
  var editorDiv = popupWindow.document.createElement("textarea");
  var body = popupWindow.document.body;
  body.appendChild(editorDiv);

  CKEDITOR.replace( editorDiv );
</script>
</html>

Expected result

CKEDITOR in popup Window.

Actual result

Part of user manual in popup Window:

Éditeur de Texte Enrichi, editorDiv Barre d'outils de l'éditeurDocument Source Enregistrer Nouvelle page Aperçu Imprimer ModèlesPresse-papier/Défaire Couper Copier Coller Coller comme texte sans mise en forme ... etc ...

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

Ubuntu 14.4 LTS Firefox 43.0 and Chromium (updated by Ubuntu )

Chromium	47.0.2526.73 (Build de développement) Ubuntu 14.04 (64 bits)
Révision	2d637ddb1c5ed38b794d9c2c00f0379868892bc8
Système d'exploitation	Linux 
Blink	537.36 (@2d637ddb1c5ed38b794d9c2c00f0379868892bc8)
JavaScript	V8 4.7.80.23
Flash	(désactivée)
Agent utilisateur	Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/47.0.2526.73 Chrome/47.0.2526.73 Safari/537.36
Ligne de commande	/usr/lib/chromium-browser/chromium-browser --enable-pinch --flag-switches-begin --flag-switches-end
Chemin d'accès exécutable	/usr/lib/chromium-browser/chromium-browser
Chemin d'accès au profil	/home/jmv/.config/chromium/Default
Variantes	16e0dd70-3f4a17df
775ebbd7-3f4a17df
97dfc274-3f4a17df
4ea303a6-3f4a17df
5c3cc7b1-3f4a17df
#14296 Failing filetools test after merge kkrzton Bug Normal CKEditor 4.6.0 General
Description

After mergin master to major branch one test fails as it was not aware of changes introduced in 4.6.0.

The fialing test is test CSRF token appending merged with git commit 5305f294d9e583ca0f9731c6051782b87bb3757c.

In order to provide backward compatibility filetools/plugin.js:45 line should init .requestData property as an empty object if not given.

In turn we will no longer need a default value initialization in filetools/plugin.js:543 line so it can be dropped, and function argument can be used directly in fire() call.

#14297 Invalid SSL Certificate Bug Normal General
Description

The embed links to ckeditor.iframe.ly are failing over HTTPS due to an invalid security certificate. The security certificate is registered for iframe.ly and not ckeditor.iframe.ly This is causing the Ckeditor to lose it's embed and autoembed features when accessed via a secured connection.

Please update your security certificates.

Steps to reproduce

  1. Open a browser
  2. Visit this example embed URL: https://ckeditor.iframe.ly/api/oembed?url=https://www.youtube.com/watch?v=fju9ii8YsGs
  3. Notice how the SSL Certificate is invalid.

The workaround right now is to change HTTPS to HTTP in the browser and then it works.

#14298 CKEditor treats button element as resizable image in IE11 Bug Normal General
Description

When using CKEditor and IE11, a <button> element inside the CKEditor's contents is displayed in a way that button appears to be a resizable image. In fact, the handles can be dragged to resize the button. This behavior does not occur in Firefox or Chrome. This behavior complicates editing because multiple clicks are required when I want to edit the button's text in WYSIWYG mode.

Steps to reproduce

  1. Use any CKEditor build with IE1
  2. Set an editor instance's contents to "<button>Button</button>".
  3. Click, double-click, and triple-click the button to see that the button will be outlines with dragging handles.

Expected result

The button should appear as a typical button that is not resizable and does not require multiple clicks to focus on the editable text of the button.

Actual result

The button shows resizing handles and outlines the button as if it were an image.

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

  1. This only happens in IE11.
  2. Windows 7
  3. CKEditor v4.5.6
  4. Plugins: any combination of installed plugins; removing all standard plugins with removePlugins option will not fix this behavior
#14303 Spell checker is not working in IE Compatibility view Bug Normal General
Description

We are using ckeditor with spell checker in our Intranet application and when we open application in IE, it is opening in compatibility view as per IE default settings. But the spell checker is not working in IE compatibility view.

Please let us know the solution to make spell checker work in compatibility mode.

#14305 an ASCII character is not removed by the "copy from word" cleaner button Bug Normal General
Description

Steps to reproduce

  1. paste the Data link escape - ASCII CODE 16 in the paste from word button (http://www.theasciicode.com.ar/ascii-control-characters/data-link-escape-ascii-code-16.html)

Expected result

The ASCII character should be removed.

Actual result

It remains.

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

#14308 Issue with CKFinder "Unparseable Date" using ColdFusion and CKFinder 2 Bug Normal Server : ColdFusion
Description

Steps to reproduce

  1. Windows Server
  2. older Jquery instance (1.9 with Jquery Migrate tool installed)
  3. Run CKFinder in environment

Expected result

Normal Directory Listing

Actual result

"unparsable date" error upon trying to load file browser

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

#14310 SCAYT ignores lang New Feature Normal UI : Spell Checker
Description

SCAYT ignores lang setting. Block level elements marked with a language distinct from the current SCAYT language should be ignored.

#14311 Update copyright headers Marek Lewandowski Task Normal CKEditor 4.5.7 General
Description

Update license headers accordingly for year 2016.

#14312 [IE] Artifact is visible after pasting of any text Tade0 Bug Normal CKEditor 4.5.9 General
Description

Steps to reproduce

  1. Open http://ckeditor.com/demo#standard from IE 10 or 11(monitor should have width more then 1500px otherwise need to use zoom(Ctrl+scrolling))
  2. Copy any text from any source
  3. Right click on CKeditor
  4. Click paste button and see page

Expected result

No any artifacts on the page

Actual result

pastebin element is visible on the page

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

last CKEditor version; IE 10, 11 only; Width of monitor > 1500px;

Solution

I've found possible solution for this issue.

\ckeditor-dev-master\plugins\clipboard\plugin.js Line 906: pastebin.setStyle( editor.config.contentsLangDirection == 'ltr' ? 'left' : 'right', '-1000px' );

need to increase '-1000px' to '-10000px'

#14314 Selecting text within editor using Safari on page with multiple ckeditor instances results in odd scrolling behavior. Bug Normal General
Description

Steps to reproduce

  1. Load a web page in Safari 9.0.2 with multiple CKEditor instances where the text length exceeds the editor height.
  2. Try to highlight/select text with mouse in one of the editors.

Expected result

Be able to highlight/select text using mouse without issue.

Actual result

Entire browser window scrolls all the way to the bottom.

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

Browser: Safari 9.0.2, CKEditor Version: 4.5.4 Full, OS: Mac OSX 10.10.5

Note: I was able to reproduce the bug on the demo pages with multiple CKEditor instances at ckeditor.com/demo.

#14315 [IE] Inconsistent color in strikethrough when using Native Browser Spell Checker Bug Normal General
Description

Steps to reproduce

  1. Go to http://sdk.ckeditor.com/samples/spellchecker.html - Using Native Browser Spell Checker
  2. Type some misspell words along with other words

Expected result

Strike through has consistent black line.

Actual result

Strike through line is inconsistent

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

#14316 [IE] Underline is missing when using Native Browser Spell Checker Bug Normal General
Description

Steps to reproduce

  1. Enable Native Browser Spell Checker and Underline button
  2. Enable underline style
  3. Type some misspell words along with other words

Expected result

Underline and spell check red underline should co-exist

Actual result

Only showing spell check red underline and no CKEditor underline

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

IE11

#14318 Image browse button not working in Mozilla firefox43 Bug Normal General
Description

Steps to reproduce

1.click on the "Browse server" button 2.click on the "upload" button 3.then try to browse images by clicking "browse" button.

Expected result

it should should show the browse window to select image

Actual result

its not showing up the browse window after clicking on the button

Other details

browser mozilla firefox 43

#14320 BIDI: When locale is set to Arabic, NumberedList icon in toolbar menu displays Arabic-European digits Bug Normal General
Description

Steps to reproduce

Change the browser local to Arabic and reload CKEditor.

Expected result

In the toolbar menu, the NumberedList icon should display Arabic-Indic digits

Actual result

In the toolbar menu, the NumberedList icon displays Arabic-European digits

#14322 Table styles in ckeditor config files only loads in Firefox Bug Normal General
Description

Steps to reproduce

  1. Edited CRSource (table.js) with new parameters for table classes
  2. Should set a table class (ie <table class="myclass"...></table>
  3. Works in Firefox only

Expected result

Table classes

  • Table class 1
  • Table class 2

Actual result

  • undefined
  • undefined

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

#14323 Cancel the Bold Style, there is redundancy html "<strong></strong>" left before the text Bug Normal General
Description

Steps to reproduce

  1. Open the web page in browser (http://ckeditor.com/demo).
  2. In the Standard editor, select "Armstrong" the second paragraph, click the Bold button. Then "Armstrong" will be in <strong></strong>.
  3. select "Arms" , reclick the Bold button. Then "Arms" will not be strong.
  4. Don't change selection and reclick the Bold button. Then "Arms" will be in <strong></strong> again.
  5. Don't change selection and reclick the Bold button. Then "Arms" will not be strong. But there is a "<strong></strong>" before "Arms".

Expected result

"Arms"

Actual result

<strong></strong>"Arms"

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

#14325 Formatted text doesn't save in my form Bug Normal General
Description

Steps to reproduce

  1. I'm using Contact Form 7 on my Wordpress site.
  2. When somebody input text to textarea with choosing font and click SEND FORM, it isn't appear in delivered email in MS Outlook.

Expected result

Formatted text and sended with form appear in email.

Actual result

Isn't appear.

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

CMS- wordpress, form plugin: Contact Form 7.

#14326 The Text not retaining the Tabs while pasting the content in Text Editor Bug Normal General
Description

Steps to reproduce

  1. copy the text which i given below
  2. paste in Text editor
  3. Tabs not retaining

Test data:

1tab

2tab

3tab

3tab

2tab

1tab

Expected result

Tabs has to be retained

Actual result

Not retaining

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

#14327 Add Swiss German as a new localization New Feature Normal CKEditor 4.5.7 UI : Language
Description

The new German (Switzerland) localization was created in Transifex and is now ready to be added to the official build.

Thanks to Miro Grenda for providing it!

#14328 "Strike" button vs. ACF Bug Normal Core : Styles
Description

Steps to reproduce

  1. toolbar (...) ,['Bold','Italic','Underline','Strike','Superscript','-','RemoveSpan','RemoveFormat'], (...)
  1. config.allowedContent = 'script(*)[*]{*}; *(*); td th[colspan]{border,border-width,vertical-align,width}; table[align, cellpadding, cellspacing, border]{border,border-width,width,margin}; img[alt,!src, border, title, contenteditable]{width,height,float,margin,margin-left,margin-right,margin-top,margin-bottom,border-width}; span iframe embed object param form input select textarea[*]; article{display}; div sup sub header footer section article span table tr td th ol li p h1 h2 h3 h4 h5{font-weight,text-align,text-decoration}; a[*]{font-weight,text-decoration}; *[id]; *[contenteditable,data-animspeedid,data-autostartid,data-openonclickid,data-pictheightid,data-showcontrolid,data-showtitleid,data-slideshowid,data-speedid,data-transitiontypeid]; b i u div blockquote strong hr th em ol ul;';
  1. Strike button is not present (but there is still "text-decoration" in lot of tags). W3 is: text-decoration: line-through;

Expected result

Stike button should be shown.

Actual result

Not showing STRIKE :) The way to make it visible is adding to ACF rule: strike(*)[*]{*};

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

latest Chrome (47...)

#14330 [IE11] Highlight Shift with Japanese IME when converting to Kanji on CKEditor Bug Normal General
Description

This is customer reported issues & high priority for IBM

Steps to reproduce

* install Japanese IME first

  1. Open ckeditor demo page http://ckeditor.com/demo#full
  1. Input two lines of sample text, e.g.

(line 1) watasinonamaehanakanodesu (line 2) watasinonamaehanakanodesu

  1. Go to end of first line, type <Enter> key to go to new line
  1. Turn on IME (select Hiragana)
  1. Type "watasinonamaehanakanodesu" and press <space bar> to trigger converting the input texts to clauses
  1. Press <right> arrow key
  1. Press <right> arrow key again
  1. Blue highlight "area" and "underline" will shuffle around as we key in <left> or <right> arrow keys.

Pls see attached screenshots for references

Expected result

After Step 5, The area should not be highlighted when user uses Left or Right arrow keys. It should only move the cursor

Actual result

After Step 5, Area is highlighted when user uses <left> or <right> arrow keys. It should only move the cursor.

#14332 Conflict with Grammarly Spell Checker & Grammar Checker Extension in Chrome Browser Bug Normal General
Description

Steps to reproduce

  1. Add config.fullPage = true; in config file
  2. Install Grammarly Spell Checker & Grammar Checker Extension in chrome extension
  3. Run the Editor

Expected result

<html> <body> hi </body> </html>

Actual result

contains lots of additional fields before body tag like this

.gr-grammar-card_content {

padding: 0 28px !important; padding-bottom: 10px !important; counter-reset: defs;

} .gr-grammar-card_content:empty {

padding-bottom: 46px !important;

} .gr-grammar-card_item {

color: #666; font-size: 14px !important; line-height: 20px; margin-bottom: 10px !important; padding-left: 15px !important;

}

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

#14333 Wrong alignment for Hebrew text pasted with "Paste from Word" plugin Bug Normal Plugin : Paste from Word
Description

Steps to reproduce

  1. Paste Hewbrew text from the attached Word file to CKEditor via "Paste from Word" plugin (icon)
  2. Save

Expected result

On the 3rd line chars "[!]" (without quotes) should be at the begining of the line, but are at the end of line. Same for apostrophe on the 8th line.

Actual result

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

Drupal 7 CKEditor module 7.x - 1.16 CKEditor library from cdn.ckeditor.com/4.4.3/full-all CKEditor Paste from Word plugin


When you paste the text to the CKEditor window it is shown on the left side before save. But when you switch to plain text editor you can see source is already broken:

<p align="center" style="text-align:center;"><span dir="RTL"><span style="font-size:10.0pt;">יראת אלהיב</span></span><span dir="RTL"><span style="font-size:10.0pt;">[!]</span></span></p>

, switching back to the CKEditor shows the text in original pasted format - all before the first node save. After saving the node CKEditor show the text same as the source code.

It is also different when you open the document with Word 2010 and OpenOffice Writer.

#14335 IE11 & EDGE: Pasting Numbered list with diff start value from word doc not shown correctly Marek Lewandowski Bug Normal CKEditor 4.6.0 Plugin : Paste from Word
Description

Steps to reproduce

  1. Open attached word doc which has numbered list with start value of 6
  2. Copy & paste the list using Paste from Word dialog

Expected result

List copied & pasted properly & shows start value correctly

Actual result

List pasted ok but start value shown as incorrect it shows start value as 1

#14336 [Urgent] Ckeditor4 is loading too slow at first instance, can't able to preload Bug Normal General
Description

Steps to reproduce

  1. Replace Textarea with ckeditor4 for first time in the page

Expected result

  1. Wanted to load ckeditor4 fast, atleast by preloading it

Actual result

  1. Takes more time to load at first
  2. can't able to preload, as some of the request like content.css,editor.js,and some icons loads only when it is visible

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

  1. I am using Jquery templates for my website, and the editor loads dynamically on request to that template page.
  2. Really urgent.
#14338 CKEditor anchor tag floats Bug Normal General
Description

Steps to reproduce

  1. open CKEditor in Firefox
  2. create a link using "Link" icon/button.
  3. In edit mode click on the space right after the "link text"
  4. add your text - note it is highlighted blue (part of the link text) the ancher tag seems to be fluid.
  5. Also if you carriage return from the "link text" line it will continue to be "link text."
  6. This will also happen if you create a new link

Expected result

Should be able to insert plain text after a link in Firefox browser.

Actual result

Unable to insert plain text after a link in Firefox browser.

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

Browser: Firefox 37.0.2 CKEditor version: CKEditor 4.5.6

#14339 Drag and Drop sample does not work after the editor is destroyed and recreated. Tade0 Bug Normal CKEditor 4.6.2 General
Description

And it looks like a bug in the CKEditor, not a core.

Steps to reproduce

  1. http://sdk.ckeditor.com/samples/draganddrop.html
  2. In the console: CKEDITOR.instances.editor1.destroy();
  3. In the console: CKEDITOR.inline( 'editor1', { extraPlugins: 'hcard,sourcedialog,justify' } );
  4. Drag any "Contact" to the editor.

Expected result

Drag and drop will work in the normal way, Contact will be inserted.

Actual result

Nothing happen.

In fact, after destroy and recreate, the dragstart event on the contact list is not fired, what is weird, because that event should not be related to the editor instance. What is also interesting I can not attach listener to that event if the editor is not created, because the CKEDITOR.plugins.clipboard is undefined and CKEDITOR.plugins.clipboard.initDragDataTransfer causes error. Also if I add dragstart event on the plugin initialisation it is executed twice.

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

http://stackoverflow.com/questions/34899462/ckeditor-drag-and-drop-plugin-integration-stops-working-after-editor-instance-is

#14341 TypeError in InsertText with MS Word Tags Bug Normal General
Description

Steps to reproduce

  1. Create editor
  2. execute
    CKEDITOR.instances.editor.setData('<html><head></head><body><o:p><FONT face=Calibri>&nbsp;</FONT></o:p></body></html>')
  3. click in the font tag ( <FONT face=Calibri>|&nbsp;</FONT> )
  4. then CKEDITOR.instances.editor.insertText('hi')

Expected result

text 'hi' has been inserted

<o:p>
<FONT face=Calibri>hi</FONT>
</o:p>

Actual result

  • TypeError: w is undefined
  • two font tags created

<o:p>
<FONT face=Calibri></FONT>
<FONT face=Calibri></FONT>
</o:p>

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

  • Browser : Xulrunner/Gecko 29 - Firefox 43
  • OS : Windows 7,8,10
  • CKEDITOR : 4.5.2 / 4.5.6
#14342 Accessibility button when ckeditor is in a bootstrap modal Bug Normal Accessibility
Description

Steps to reproduce

  1. Embed textarea with CKEditor in a bootstrap 3.x modal

Expected result

Accessibility Checker launches, checking content and allows fixes

Actual result

AC launches and checks all content, but text fields and select boxes cannot get focus in Firefox. Select boxes work in Chrome, but text fields do not. Both work in IE 10

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

Using CKEditor 4.5.6. This issue does not appear when editor is not launched in a modal (normal use).

#14343 Inline style doesn't support background-image Bug Normal General
Description

Steps to reproduce

  1. Create link with the following content in full featured editor http://ckeditor.com/demo#full:
<a href="http://google.com" style="background-image: url('http://example.com')">Example</a>
  1. Try to edit the link in "Link" toolbar button
  2. When you click Ok, you will get the following message:

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

Expected result

The inline style is valid and should be accepted.

Actual result

You can't edit the link unless the background-image is removed.

#14344 Add a plugin to view actual content on Website New Feature Normal General
Description

I want a plugin so the i can view contents on website before saving the data inside Plugin

#14345 AVT: FF-Keyboard Navigation between Toolbar groups not working properly Bug Normal General
Description

Steps to reproduce

  1. Open nightly build http://nightly.ckeditor.com/16-01-25-07-07/full/samples/
  2. Navigate to editor body & press Alt + F10 to access toolbar
  3. Focus goes to first toolbar group.
  4. Press TAB key

Expected result

Focus goes to next toolbar group and focus should saty in toolbar until user press ESC to navigate to editor body

Actual result

Focus going to editor body. when user tried again, this time after second TAB focus going to editor body

Only happening in Firefox & it works properly in IE, Chrome. Tested on FF 43.0.4

#14347 How to allow soft hypens in HTML Bug Normal General
Description

CK editor deletes soft hypen markup in the HTML source after save. Adding "allowcontent = true" to CKEDITOR.editorConfig function doesn't work.

Steps to reproduce

  1. HTML source: this is a long&shy;word

Expected result

  1. HTML source: this is a long&shy;word

Actual result

  1. HTML source: this is a longword

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

#14350 Browser Edge (windows 10) - after a "CTRL + ENTER" in the CK Editor the keyboard up/down doesn't work anymore Bug Normal General
Description

Steps to reproduce

Go to the demo of CKEditor in browser Edge (25.10586.0.0) on Windows 10

  1. Type some text
  2. click CTRL+ENTER
  3. Type some text
  4. click on the keyboard arrows up or down

Expected result

When clicking up the cursor goes up and when clicking down the cursor goes down.

Actual result

After clicking the up button the cursor goes to the begin of the paragraph and clicking down the cursor goes to the end of the paragraph

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

This behavior is standard available on the CKEditor ENTER Ker >> "Produce <br> on ENTER" on the demo page http://ckeditor.com/demo#enter

#14351 Browser Edge (windows 10) - after a "CTRL + ENTER" in the CK Editor the keyboard up/down doesn't work anymore Bug Normal General
Description

Steps to reproduce

Go to the demo of CKEditor in browser Edge (25.10586.0.0) on Windows 10

  1. Type some text
  2. click CTRL+ENTER
  3. Type some text
  4. click on the keyboard arrows up or down

Expected result

When clicking up the cursor goes up and when clicking down the cursor goes down.

Actual result

After clicking the up button the cursor goes to the begin of the paragraph and clicking down the cursor goes to the end of the paragraph

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

This behavior is standard available on the CKEditor ENTER Ker >> "Produce <br> on ENTER" on the demo page http://ckeditor.com/demo#enter

#14352 Browser Edge (windows 10) - after a "CTRL + ENTER" in the CK Editor the keyboard up/down doesn't work anymore Bug Normal General
Description

Steps to reproduce

Go to the demo of CKEditor in browser Edge (25.10586.0.0) on Windows 10

  1. Type some text
  2. click CTRL+ENTER
  3. Type some text
  4. click on the keyboard arrows up or down

Expected result

When clicking up the cursor goes up and when clicking down the cursor goes down.

Actual result

After clicking the up button the cursor goes to the begin of the paragraph and clicking down the cursor goes to the end of the paragraph

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

This behavior is standard available on the CKEditor ENTER Ker >> "Produce <br> on ENTER" on the demo page http://ckeditor.com/demo#enter

#14355 CKEditor adds div tag in between caption tag of table when left aligned. Bug Normal General
Description

I am from Oracle Corporation and our customers are facing below issue:

Steps to reproduce

  1. Click on 'Table' button in the CKEditor.
  2. Enter caption as 'Test' and click OK.
  3. Left align the Caption 'Test' by clicking 'Alien Left' button.
  4. Go to source mode and check the content.

a 'Div' tag is added between caption tag. This is not in standard with HTML. When this html content is validated an warning is generated that "Warning: missing </caption> before <div> ".

To adhere to html standards on Left align click, CKEditor should add style attribute to caption tag rather then adding div tag.

Expected result

<caption style="text-align:left">

test

</caption>

Actual result

<caption>

<div style="text-align:left">test</div>

</caption>

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

#14356 style type="text/css" in System.Windows.Forms.WebBrowser loses "/css" Bug Normal General
Description

Steps to reproduce

  1. Include CkEditor in Visual studio 2013 in a System.Windows.Forms.WebBrowser;

Config.js has:

config.fullPage = true; config.allowedContent = true; config.extraAllowedContent = 'html;head;body;span;ul;li;table;td;style;*[id];*(*);*{*}';

  1. Used setHtml or Source Code Buttom to fill the content that includes <style type="text/css">
  1. Edit Code Source or get the content with getHtml

Expected result

Keep the tag: <style type="text/css">

Actual result

The tag loses "/css" : <style type="text">

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

browser = System.Windows.Forms.WebBrowser OS = Windows 8.1 Version = 4.5.6 Full

#14357 How to add tool bar to enable find and replace feature in source view Bug Normal General
Description

Steps to reproduce

Can i add find and replace feature in source view??

Is there any plugin or any kind of configuration available which can enable me to add find and replace feature in source view.

Any help is appreciated.

#14359 Custom css classes does not appear in WYSIWYG editor Bug Normal General
Description

Steps to reproduce

  1. Create a style class in a css file

.example {

background-color:#FAFAFA; border:1px solid #DDD; font-family:courier new; margin:0.6em; padding:0.8em;

}

  1. Create a new style in config.stylesSet:

{ name: 'Example', element: 'div', attributes: { 'class': 'example' } }

  1. In the editor, select a paragraph, and select the newly created style Example in the styles set

Expected result

The text should be formatted as the style class is defined, with the background color as grey.

Actual result

In editor mode there is no change, but when I save the html and displays it in the browser, I get the wanted formatting. If I try to edit the text, the formatting is not showing.

If I use styles it works fine, but I would like to avoid using styles hardcoded on the elements int the html document, because I want to be able to change the formatting without editing all the instances in all the documents. If I can use css class, I just edit it once in the style sheet

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

IE 11, Chrome 48 Windows 7 CKEditor 4.5.4 standard editor

  • image2
  • imageuploader
#14360 CheckBox RadioButton and Select not selectable in Firefox with CK 4.5.3 -> 4.5.6 Bug Normal General
Description

Steps to reproduce

  1. Insert a Checkbox, RadioButton or Select
  1. Try to Re-Edit the item inserted

DblClick on it, Right click, zone cursor select

Expected result

Re-open edit box of selected item

Actual result

NOTHING

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

Tested with

  • CKEditor 4.5.3 and 4.5.6 (don't know before)
  • Firefox 43.x & 44.0, Windows and OsX

Works fine with Chrome, IE & Safari

#14361 smile :) get bug with BBCODE Bug Normal Core : Editable
Description

Steps to reproduce

  1. put ":)" in textarea
  2. switch to sousce code
  3. swicth from source code

Expected result

Actual result

no text in textarea

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

#14362 Iterator breaks blocks nested within inline widget Bug Normal General
Description

If inline widget has some block elements iterator will move them out of the widget. It can be observed using indentation on a paragraph that contains such a widget.

Indenting block with inline widget

Use manual test from branch:t/14362.

  1. Put the selection before ^ character in the first paragraph.
  2. Press indent button.

Expected:

Widget structure should remain untouched, within the current paragraph.

Actual:

Parts of the inline widget are extracted.

#14363 Which latest CKEdtitor version is compatible with GWT 2.7.0 Task Normal General
Description

Can anyone tell me which latest version of CKEditor is compatible with GWT 2.7.0?

#14364 Upgrade steps to upgrade/update v3.6 to v4.5 Task Normal General
Description

Can anyone provide the steps to upgrade/update the CKEditor version from 3.6.6 to 4.5.6?

#14366 Table height resize using mouse properly not working on chrome browser Bug Normal Core : Tables
Description

Steps to reproduce

  1. I have use ck editor on asp.net web application.
  2. I use ck editor 4.5.6 version and I have already add plugin.js and config.js
  3. Table height resize properly working on Firefox browser and IE browser.
  4. But not working on Chrome Browser.

Please find out this issue

Expected result

Actual result

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

#14368 change text background twice, cause the color to be lost Bug Normal General
Description

Steps to reproduce

Simplified the test case:

  1. Open the editor and set the following source:
<p><span style="color:#00FF00">Sample line</span></p>
  1. Put the selection in the middle of line: Sample ^line.
  2. Apply red font color using the "Text Color" button.

Expected:

Red font color should be applied only to what you're about to write.

Actual:

Text color of the paragraph is removed.

Additional notes:

  1. Interesting note is that span[style="color:#FF0000;"] has been created for the red font color, but the selection is not placed within that span (that's the case at least for Chrome, because IE11 is able to put the selection correctly).
  2. This issue might be similar to #13821.
  3. Could be reproduced with Chrome, Firefox and IE11.

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

Chrome Version 48.0.2564.97 m Win 8.1 CKEditor version 4.5.5 (also active on the live website and the nightly build). You can use the default config on the website demo, also i Attached is my build-config.js.

#14369 Inline Widget - Downcast/Upcast errors Bug Normal UI : Widgets
Description

Steps to reproduce

  1. Go to https://jsfiddle.net/zkv6pme3/3/
  2. Place cursor within text.
  3. Click empty button on the left (note the red bordered box that appears)
  4. Click the Source button

Expected result

  1. All <span class="test"></span> blocks to be upcasted and converted into widgets.
  2. When clicking Source after adding a widget to the editor, it should show the source code.

Actual result

  1. Existing <span class="test"></span> blocks are removed.
  2. Throws Uncaught TypeError: Cannot read property 'attributes' of null

Stacktrace:

Uncaught TypeError: Cannot read property 'attributes' of null
    (anonymous function) @ plugin.js?t=FB99:2699
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.htmlParser.fragment.forEach @ ckeditor.js:260
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.htmlParser.fragment.forEach @ ckeditor.js:260
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.htmlParser.fragment.forEach @ ckeditor.js:260
    (anonymous function) @ plugin.js?t=FB99:2680
    h @ ckeditor.js:10
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.event.CKEDITOR.event.fire @ ckeditor.js:11
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editor.CKEDITOR.editor.fire @ ckeditor.js:13
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.htmlDataProcessor.toDataFormat @ ckeditor.js:281
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.tools.createClass.proto.getData @ ckeditor.js:992
    (anonymous function) @ ckeditor.js:327
    h @ ckeditor.js:10
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.event.CKEDITOR.event.fire @ ckeditor.js:11
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editor.CKEDITOR.editor.fire @ ckeditor.js:13
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.tools.extend.getData @ ckeditor.js:237
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editable.CKEDITOR.tools.createClass._.detach @ ckeditor.js:339
    (anonymous function) @ ckeditor.js:28
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editable.CKEDITOR.tools.createClass.proto.detach @ ckeditor.js:321
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.tools.createClass.proto.detach @ ckeditor.js:992
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editor.editable @ ckeditor.js:340
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.editor.setMode @ ckeditor.js:307
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.plugins.sourcearea.commands.source.exec @ ckeditor.js:900
    exec @ ckeditor.js:174
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.tools.extend.execCommand @ ckeditor.js:236
    CKEDITOR.tools.extend.click @ ckeditor.js:742
    n.execute @ ckeditor.js:743
    (anonymous function) @ ckeditor.js:744
    (anonymous function) @ ckeditor.js:29
    window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.tools.callFunction @ ckeditor.js:29
    onclick @ (index):1

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

Chrome, OS X, 4.5.6 and custom plugin - All code contained within https://jsfiddle.net/zkv6pme3/3/

#14370 Table row hegiht resize not working on chrome browser Bug Normal General
Description

Steps to reproduce

  1. I have use ck editor in asp.net web application. and use ck editor 4.5.6 version
  2. Already working on firefox browser and internet explorer browser. But properly not working on chrome browser.
  3. I have add plugin.js and config.js.
  4. I attach fire foxb rowser screen shot, Internet explorer browser screen shot and chrome browser screen shot, Config.js and plugin.js file.
  5. Please check attach file.

Expected result

Actual result

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

#14373 Help to resolve the issue Bug Normal General
Description

Hi,

I have faced some issue to use CK Editor in my popup window. To create CK Editor in popup it will created successfully. When switch it into full screen mode content div height assigned as "height: 0;" height not calculated. I try older version 4.5 (beta) it calculated the height and produce required output.

#14374 Link to anchor in document not finding anchors Bug Normal General
Description

Steps to reproduce

We have multiple instances on a page of ckeditor. In previous versions we were able to link to an anchor in a different instance. Now we can only view anchors in the instance we are trying to link to.

  1. Create anchor in one instance.
  2. In another instance on the page link to anchor.
  3. No anchors are found to link to.

Expected result

All anchors would be found in each instance.

Actual result

Only anchors in the instance are found

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

#14375 No progress bar, notifications in uploadwidget. Tade0 Bug Normal CKEditor 4.5.10 General
Description

Steps to reproduce

  1. Open http://tests.ckeditor.dev:1030/tests/plugins/uploadwidget/manual/image
  2. Drag and drop an image from the file system.

Expected result

There should appear a progress bar, and after the upload is done a success notification should be displayed.

Actual result

There are no notifications and the image is "uploaded" almost immediately(no artificial delay - which should be present).

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

IE, Chrome, Firefox.

Bug appeared along with commit d691b1a152cae852f1165b78a46133f9875e7c44.

#14376 Clean-up of HTML when text is pasted into CKEditor Bug Normal General
Description

Steps to reproduce

  1. Copy content from web source containing html
  2. Paste content into Ckeditor in our application

Expected result

Expect Ckeditor to prompt user to clean the Html

Actual result

If a text is copied from word and Ckeditor doesnt clean it and there is a span attribute lang="EN" then the style changes to italics in ckeditor.

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

#14377 If a text is copied from word and we dont clean it and there is a span attribute lang="EN" then the style changes to italics in ckeditor Bug Normal General
Description

Steps to reproduce

  1. If a text is copied from word and we dont clean it and there is a span attribute lang="EN" then the style changes to italics in ckeditor.

Expected result

The expected result is if there is a span attribute lang = EN then the style changes to italics.

Actual result

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

FYI – if we clean it loses the formatting so we should not clean it.

#14378 The style changes to italics in ckeditor. Bug Normal General
Description

Steps to reproduce

1.If a text is copied from word and we dont clean it and there is a span attribute lang="EN" then the style changes to italics in ckeditor.

Expected result

The expected result is if there is a span attribute lang = EN then the style changes to italics.

Actual result

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

FYI – if we clean it loses the formatting so we should not clean it

#14379 Windows Chrome > Removing Space between Words, then Re-inserting space creates unwanted non-breaking space Bug Normal General
Description

Steps to reproduce

  1. Using current version of Windows Chrome. Type a phrase: Apollo 11 was the spaceflight that landed the first humans.
  1. Using the backspace or delete key remove the space between 'Apollo' and '11'
  1. Then using the spacebar, re-insert the space.
  1. CkEditor will insert an unwanted non-breaking space character (&nbsp;)

Expected result

A normal space

Actual result

A non-breaking space (&nbsp;)

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

Problem only seems to happen on Chrome browser. Tested on 2 computers both with Chrome browser Version 48.0.2564.103 m (verified problem also occurs in incognito mode). Tested on both a Windows 7 and a Windows 8.1 machine.

Firefox 44.0 & IE11 on same computer insert a normal space as expected.

#14380 XSS Vulnerability bug report Bug Normal General
Description

Steps to reproduce

  1. Go to the Blog link http://ckeditor.com/blog/CKEditor-4.5.7-Released . well you can choose any blog from your website.
  1. Go to the comment box. And type XSS payload as follows:

"/><svg/onload=prompt(1);> in Name and comment box area and store it.

  1. After stored comment you will see the Stored based XSS is popped up.
  1. This is so much risk which stored the malicious code over the website using this editor. Now whoever come to this page those people will become victim of XSS attack, May be attacker can steal User account details or other techniques he use.

Expected result

Actual result

POC = http://prntscr.com/a0762w

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

#14383 Ckeditor don't work with firefox mobile Bug Normal General
Description

Steps to reproduce

Hi, i reocrd this in video you can see my test made on google chrome for android (works perfectly) and on a firefox mobile (formatting and new line has a bug and don't work) i use CKeditor on IPS4 link of video http://dev.invisionita.com/2016_02_03_21_35_55.mp4 i don't use plugin installed and test this bug in many place :( Tahnks in advance

Expected result

Actual result

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

#14384 Table cell resizing unaccessible Bug Normal General
Description

dears,

I'm using the general CKEditor with default property in fire fox. the issue appear when I want to insert a table in editor. because, I don't access to cell resize property. I can just resize the table not a specific row or column. please assist me to resolve this issue. thanks.

#14385 Cursor Moves that the End with Inline Editor Bug Normal General
Description

Steps to reproduce

  1. When I click on the customize CK Editor it gives me exception
  2. And when I edit text it moves the mouse cursor at the End of the Editor

I should allow to Edit/Modify text where I move the cursor

When I click on the Middle of the text and try to Edit it takes me at the End

Other details (Internet/Chtome any version, Windows 10,LATEST FROM cdN, installed plugins)

#14388 Selecting new font color changes changed existing non-black font color to black Bug Normal UI : Toolbar
Description

Steps to reproduce

  1. Highlight text
  2. Change color to red
  3. Click on space between any letter and select new font color

Expected result

All text is red, cursor turns new color

Actual result

All text turn black, cursor turns new color

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

#14389 url anchor/bookmark not working after ckeditor replace Bug Normal Core : Focus
Description

Steps to reproduce

  1. Create a page with several text areas
  2. Use a script at the end of the html page to run CKEDITOR.replace('mytextarea') to turn the areas into editor blocks
  3. Link to that page (or have a Save function that refreshes the page) with a anchor tag at one of the editor blocks ("www.mysite.com/mypage#mybookmarkid")

Expected result

Page refreshes with cursor at the bookmarked item

Actual result

Page refreshes at the top of the page, ignoring the bookmark

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

Same results with Chrome/Firefox/Safari, Linux Fedora or Mac. Our page created via CakePHP 3.1 framework. Moving the script from the end to the beginning of the html makes no difference. The anchor tags work as expected if the Replace is not run. We can see the screen flicker as the Replaces are done. From that, we suspect that they are losing either the ID of the bookmark or that fact that the url requested a bookmark.

#14396 Copy and paste from Word into CKEditor 4.5.5 incomplete on Mac / Firefox Bug Normal General
Description

Steps to reproduce

Copy and paste from MS Word to CKEditor works fine in all browsers on the PC. But in Firefox on a Mac, headings in bullets disappear and some other style issues are also ripped.

My config is like this:

CKEDITOR.editorConfig = function( config ) {

config.format_tags = 'h1;h2;h3;h4'; config.toolbarGroups = [

{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, { name: 'styles', groups : [ 'format', 'insert' ] }, { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align'] }, { name: 'links', groups: [ 'link' ] }, { name: 'about' }, { name: 'document', groups: [ 'mode' ] }

]; config.removeButtons = 'Undo,Redo,Image,Flash,Smiley,PageBreak,Iframe,SpecialChar,HorizontalRule,Cut,Copy,Anchor,Strike,Subscript,Superscript,Save,Newpage,Preview,Print,Templates,About,Help,Document,Language,Blockquote,Indent,Outdent,CreateDiv,NewPage,Styles,Font,FontSize'; config.removeDialogTabs = 'link:advanced'; config.extraPlugins = 'autogrow'; config.autoGrow_minHeight = 250; config.autoGrow_maxHeight = 600;

};

Expected result

Actual result

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

#14400 Docs need to mention that widgets don't support compatibility and quirks mode in IE. Bug Normal General
Description

Widgets don't work in Compatibility mode. The widget plugin uses JSON object not available in IE7 mode.

WE should update our docs with that info - http://docs.ckeditor.com/#!/guide/dev_browsers

#14402 Google Chrome - Added Unexpected <i> When Give Space after Comma.Added unexpected <b> when remove <strong> content. Bug Normal General
Description

Steps to reproduce

  1. Select an word in italics from CkEditor

ex: (<em>ckEditor, </em>FckEditor)

  1. Select Comma Alone and remove the italics

ex: (<em>ckEditor</em>,<em> </em>FckEditor)

  1. Select the Empty italic space and give backspace, then Just give space now we can see the <i> <i> tag added.

ex: (<em>ckEditor</em>,<i> </i>FckEditor)

  1. How to remove this <i> / how to avoid <i> to be added.
  2. Note:This can be reproduce in Google chrome browser in Ckeritor Demo Page(http://ckeditor.com/demo). This can not be reproduce with IE.

6.I attached the Video for Reproduce.

Expected result

<em>CkEditor, </em>Fckeditor

<em>Ckeditor</em>,<em> </em>FckEditor

When we select <em> </em> and give backspace and giving space it should Only the Empty space.

<em>Ckeditor</em>, FckEditor

Actual result

<em>CkEditor, </em>Fckeditor

<em>Ckeditor</em>,<em> </em>FckEditor

When we select <em> </em> and give backspace and giving space it should Only the Empty space but the actual result is add the <i> tag unexpectedly.

<em>CkEditor</em>,<i> <i>FckEditor.

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

This can not be reproduce with IE, It can Reproduce with Chorme.

#14403 Google Chrome - Added Unexpected <i> When Give Space after Comma.Added unexpected <b> when remove <strong> content. Bug Normal General
Description

Steps to reproduce

  1. Select an word in italics from CkEditor

ex: (<em>ckEditor, </em>FckEditor)

  1. Select Comma Alone and remove the italics

ex: (<em>ckEditor</em>,<em> </em>FckEditor)

  1. Select the Empty italic space and give backspace, then Just give space now we can see the <i> <i> tag added.

ex: (<em>ckEditor</em>,<i> </i>FckEditor)

  1. How to remove this <i> / how to avoid <i> to be added.
  2. Note:This can be reproduce in Google chrome browser in Ckeritor Demo Page(http://ckeditor.com/demo). This can not be reproduce with IE.

6.I attached the Video for Reproduce.

Expected result

<em>CkEditor, </em>Fckeditor

<em>Ckeditor</em>,<em> </em>FckEditor

When we select <em> </em> and give backspace and giving space it should Only the Empty space.

<em>Ckeditor</em>, FckEditor

Actual result

<em>CkEditor, </em>Fckeditor

<em>Ckeditor</em>,<em> </em>FckEditor

When we select <em> </em> and give backspace and giving space it should Only the Empty space but the actual result is add the <i> tag unexpectedly.

<em>CkEditor</em>,<i> <i>FckEditor.

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

This can not be reproduce with IE, It can Reproduce with Chorme.

#14404 cmd+A with widgets Bug Normal General
Description

Steps to reproduce

  1. Go to http://ckeditor.com/demo#widgets
  2. Clear out the contents of the first editor
  3. Insert a "Simple Text Box"
  4. Click below it
  5. Press cmd+A on the keyboard

Expected result

The entire contents of the editor should highlight.

Actual result

Nothing happens.

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

Tested on Safari 9.0.3 on Mac OS X 10.11.3 (latest versions at time of report)

#14405 Removing Widgets Bug Normal General
Description

Steps to reproduce

  1. Go to http://ckeditor.com/demo#widgets
  2. Clear out the contents of the first editor
  3. Insert a "Simple Text Box"
  4. Highlight the entire contents of the editor using your mouse (note cmd+A doesn't work as per ticket 14404)
  5. Hit backspace on the keyboard

Expected result

The widget should be removed (this behaviour can be observed if there is content above it)

Actual result

The "Content..." is removed and the cursor moved inside that box, but the widget remains.

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

Tested on Safari 9.0.3 on Mac OS X 10.11.3 (latest versions at time of report)

#14407 Non-editable widgets can be edited in IE Tade0 Bug Normal CKEditor 4.7.0 General
Description

Steps to reproduce

  1. Add custom table widget as attached.
  2. In editor add table.
  3. Click on the bottom border of the widget and type.

Expected result

The text should be added underneath the widget.

Actual result

The text is added in the widget.

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

Observed in IE 11. Using CKEditor 4.5.3. Windows 10.

#14409 format lost when using ckeditor Bug Normal General
Description

Steps to reproduce

  1. using your demo site http://ckeditor.com/demo
  2. switch to html source
  3. paste the text in attached file

Expected result

same as open the attached html file in browser

Actual result

format lost , the "new question * " part in bottom , it should in middle

Other details (browser, OS, CKEditor version, installed plugins) ==tested with firefox , chrome and IE , latest version as your demo site

#14410 For all browsers, make table cells selection working just like in Firefox Bug Normal General
Description

Open CKeditor (any version) in IE (any version) Create a small table Left or right drag down a column -- selects everything Note: This works correctly in FF (where only the column cells dragged over are selected)

#14413 Autogrow does not work in tabs Tade0 Bug Normal CKEditor 4.5.10 General
Description

Steps to reproduce

  1. Set up multiple CKEditors in tabs.
  2. Turn on AutoGrow plugin.
  3. Switch tab.

Expected result

All CKEditors to be the correct height to fit the content.

Actual result

In Chrome: the editor expands MASSIVELY to be > 32000px tall. In Firefox: the editor does not expand at all.

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

Demo: http://85.159.215.184/cke-grow/

Latest CKEditor, 4.5.7. Tabs are using latest Twitter Bootstrap, 3.3.6. CKE config file is here: http://85.159.215.184/cke-grow/static/js/ckeditor-config.js

#14415 <summary> not handled correctly — incorrect DTD? Bug Normal General
Description

Steps to reproduce

Originally reported at https://www.drupal.org/node/2656566.

  1. Disable ACF.
  2. Enter source mode and paste
    <details>
    	<summary>
    		<div>summary</div>
    	</summary>
    	<div>content</div>
    </details>
    
  3. Exit source mode.
  4. Enter source mode again.

Expected result

Markup is identical to the pasted markup.

Actual result

<details><summary></summary>

<div>summary</div>

<div>content</div>
</details>

Note how <summary> is empty.

Suspected cause: <summary> incorrectly defined in CKEditor's DTD?

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

Drupal 8 (8.0.3 or 8.1.x). Go to /node/add/article, choose the "Full HTML" text format (to disable ACF) and then apply the STR above.

#14416 WCAG 2.0 violation reported on the page that contains CK Editor Bug Normal General
Description

Following violation is reported on a page that contains CK Editor - The page must provide a link to skip directly to the main page content as the first link on each page or use WAI-ARIA landmarks.

We have scanned the page using IBM Rational Policy Tester. You can find more details about the error on the following link - http://ausgsa.ibm.com/projects/h/haactools/w3/magicbutton/plugincfg/rulepack/help/idhi_accessibility_check_g1046.html

#14417 Missing functionality to pass custom title attribute when using menugroups New Feature Normal General
Description

Hello,

I need the option to pass the title of the menu created by the menubutton. Currently all such menus has title's value editor.lang.common.options.

Here is the source code: https://github.com/ckeditor/ckeditor-dev/blob/master/plugins/menubutton/plugin.js#L26

I am using the following functions: editor.addMenuGroup(menuGroup); editor.ui.add('Button', CKEDITOR.UI_MENUBUTTON ...

Is there way to pass it from the outside? If not please make sure to include it in the feature releases or tell me what is the workflow to contribute this implementation?

I look forward to receiving your reply. Thank you in advance!

#14418 config.allowedContent = true inserts blank paragraphs after any custom tag Bug Normal General
Description

I need to allow a large number of custom tags in my code that are not html.

I have config.allowedContent = true in Config.js

In the source view, I add a custom tag as follows:

<cf_protip>some text here</cf_protip>

If I switch to the visual editor and then back to the source view, I get the following:

<cf_protip>some text here</cf_protip> <p>&nbsp;</p>

Further, each time I toggle the source view it adds more and more <p>&nbsp;</p>. The growth of these is exponential.

<cf_protip>some text here</cf_protip> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p>

This oddness makes it completely unusable with my custom tags.

Steps to reproduce

  1. set config.allowedContent = true in Config.js
  2. add any non-standard html tag <mytag>xxxx</mytag>
  3. toggle the source view a few times

Expected result

Ignore my custom tag code with no other additions.

Actual result

watch the whitespace grow!

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

Chrome, Windows 7, standard CKEditor downloaded 2/19/2016

#14419 How can I skip already loaded ckeditor.js and create a new editor instance by loading newer version of ckEditor.js? Bug Normal General
Description

Steps to reproduce

  1. Create a plugin for webPages which uses ckeditor(latest version and office skin).
  1. Try using this plugin on a webPage (Some product on which I cannot modify the source code) which already has ckEditor.js (some older version probably with mono skin and different toolbar config)

Expected result

It should load the editor embed in the plugin

Actual result

Th loads the already available editor

Or anyone can please respond here :

http://stackoverflow.com/questions/35533417/how-can-i-skip-already-loaded-ckeditor-js-and-create-a-new-editor-instance-by-lo?noredirect=1#comment58756853_35533417

#14421 Cell/column insertion in header cell with nested tables Bug Normal Core : Tables
Description

Steps to reproduce

  1. Create table
  2. Create table with header on first line into any of the first table's cells
  3. Put the focus in any of the header cells and try to add a column/cell

Expected result

Cell/column added in the current table

Actual result

Cell/column added to the parent table

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

Reproduced on the demo on the website

#14422 Cannot modify multiple table cells in Firefox with Inline Editing mode Bug Normal Core : Tables
Description

I am not able to perform certain actions on multiple table cells in Firefox (44.0.1). For example, I cannot apply the same background color to multiple table cells at once. This problem only occurs when using CKEditor in Inline Editing mode.

Here is a simple fiddle that can be used to reproduce the problem:

https://jsfiddle.net/rhavill/rvwky3xy/

The problem can be reproduced with these steps:

  1. Load the URL above in Firefox.
  2. Click somewhere in the content to bring up the CKEditor toolbar.
  3. Click the table icon to insert a table and click OK to accept defaults.
  4. Click the first table cell and the shift/click the second table cell to highlight the first two table cells.
  5. Right click the first table cell and then click Cell/Cell Properties.
  6. Enter #cccccc as a value for background color and click OK.

The expected result is to see both of the first two cells with a new background color, but the background color is only applied to the first cell. This problem does not seem to occur when the editor is in Classic Editing mode.

#14423 cursor seems to be fixed at this position while pressing the arrow key Bug Normal General
Description

Steps to reproduce

  1. insert following HTML Code to the CKEditor
  2. click at the end of 'test'
  3. press the arrow up key twice

Expected result

cursor in the table

Actual result

cursor is placed at the start of the word 'test' and seems to be fixed at this position while pressing the arrow key

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

<html lang="de"> <head>

<title></title>

</head> <body> <div> <table>

<tbody>

<tr>

<td>&nbsp;</td>

</tr>

</tbody>

</table> <a href="#">test</a></div> </body> </html>

#14425 Enter Key Jumps to Begining of TextArea Bug Normal General
Description

I have a textarea that is being replaced with a CKEditor instance. I've set some default text and every time a user tries to add/edit text and hit return/enter to make a new line the cursor jumps to the beginning of the textarea. It could be adding text to a line that already has content, it can be a trying to create a line break to start a new paragraph, etc. It makes the WYSIWYG (CK) editor useless.

I've reviewed other tickets related to this and have just upgraded to the newest version of CKEditor 4.5.7 which was supposed to resolve this issue and the problem still persists.

I'm having the issue with Safari 9.0.3 on OSX 10.11.3. I've seen other comments with continued issues with other versions of Safari, as well, since the supposed bug fix if you go back and review the comments on your other tickets related to this problem. It works fine in Firefox and Chrome on OSX 10.11.3 just not Safari.

How can I get this resolved? Please advise.

#14426 image2 plugin should have a way to allow for custom image tags that won't be upcast New Feature Normal UI : Widgets
Description

Steps to reproduce

I have a plugin that generates <img> placeholders and when image2 is installed it's causing a number of errors because upcastWidgetElement is attempting to convert it to a widget. There is already a special case in here to avoid the 'data-cke-realelement' but it would be nice if there was also a way to specify a editor.config property for additional class(es) (or attributes) that could be used to flag other <img> that we also didn't want to be processed by this method. This would avoid modification of this method.

I could possibly add the data-cke-realelement attribute to the img but that would still not fix any previous placed images.

Thanks!

Expected result

Only image tags not part of this list are upcast

Actual result

All image tags are upcast

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

#14431 Image2 Image Alignment Bug Normal UI : Widgets
Description

Steps to reproduce

  1. Add image2 plugin.
  1. Add config setting:
 config.image2_alignClasses = ['left-image', 'center-image', 'right-image'];

  1. custom css file with
img.left-image, .left-image img {
  float: left;
  margin-right:10px;
  display: block;
}


img.right-image, .right-image img {
  float:right;
  margin-left: 10px;
  display: block;
}

img.center-image, .center-image img {
  margin: 0 auto;
  display: block;
}

  1. Add an image in the editor, set to right aligned.

Expected result

Image should be floating to the right.

Actual result

Image is not floating to the right.

The CSS in the editor around the image is as follows:

<p><span tabindex="-1" contenteditable="false" data-cke-widget-wrapper="1" data-cke-filter="off" class="cke_widget_wrapper cke_widget_inline cke_image_nocaption right-image cke_widget_selected" data-cke-display-name="afbeelding" data-cke-widget-id="0"><img alt="" class="cke_widget_element" data-cke-saved-src="https://pbs.twimg.com/profile_images/604644048/sign051.gif" src="https://pbs.twimg.com/profile_images/604644048/sign051.gif" data-cke-widget-data="%7B%22hasCaption%22%3Afalse%2C%22src%22%3A%22https%3A%2F%2Fpbs.twimg.com%2Fprofile_images%2F604644048%2Fsign051.gif%22%2C%22alt%22%3A%22%22%2C%22width%22%3A%22%22%2C%22height%22%3A%22%22%2C%22lock%22%3Atrue%2C%22align%22%3A%22right%22%2C%22classes%22%3Anull%7D" data-cke-widget-upcasted="1" data-cke-widget-keep-attr="0" data-widget="image"><span class="cke_reset cke_widget_drag_handler_container" style="top: -15px; left: 10px; display: block; background: url(&quot;http://domain.com/assets/components/ckeditor/plugins/widget/images/handle.png&quot;) rgba(220, 220, 220, 0.498039);"><img class="cke_reset cke_widget_drag_handler" data-cke-widget-drag-handler="1" src="data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==" width="15" title="Klik en sleep om te verplaatsen" height="15" draggable="true"></span></span></p>

The important thing is the class cke_widget_inline.

This has display:inline-block and this does not work well together with float:right in the .right-image class.

  1. Fix

To fix it, I had to add this code to my CSS:

But I don't think any user knows to do that..

span.cke_widget_inline.right-image, span.cke_widget_inline.left-image, span.cke_widget_inline.center-image {
  display: block;
}

Am I doing anything wrong, or is there a bug with this plugin?

#14433 The CKEditor4.5.6 is changing the HTML source code Bug Normal Server : ASP.Net
Description

Currently we have upgraded ckEditor from 3.3.1 to 4.5.6 . The ckEditor4.5.6 is changing the HTML source code .

1.Paste the below HTML in source

<table border="1" cellpadding="1" cellspacing="0" style="width: 50%">
                <tbody>   
                                      <tr>
                                                <th align="left" width="40%"> Name</th>
                                                <th align="left" width="35%"> Dates</th>
                                     </tr>
                                         [[FORALL]]
                                      <tr>
                                                <td>[[NAME]]</td>
                                                <td>[[DATE]]</td>
                                      </tr>
                                         [[LOOP]]
                </tbody>
          </table>

2.Switch to WYSIWYG mode.

3.Come back to source mode, ckEditor4.5.6 changes the HTML source code.

Expected result

Source Mode :

<table border="1" cellpadding="1" cellspacing="0" style="width: 50%">
                <tbody>   
                                      <tr>
                                                <th align="left" width="40%"> Name</th>
                                                <th align="left" width="35%"> Dates</th>
                                     </tr>
                                         [[FORALL]]
                                      <tr>
                                                <td>[[NAME]]</td>
                                                <td>[[DATE]]</td>
                                      </tr>
                                         [[LOOP]]
                </tbody>
</table>

Actual result

Source Mode :

[[FORALL]] [[LOOP]]
<table border="1" cellpadding="1" cellspacing="0" style="width: 50%;">
	<tbody>
		<tr>
			<th align="left" width="40%">Name</th>
			<th align="left" width="35%">Dates</th>
		</tr>
		<tr>
			<td>[[NAME]]</td>
			<td>[[DATE]]</td>
		</tr>
	</tbody>
</table>

Other details

Browser – IE 11 OS – Windows 7 ckEditor – 4.5.6 Application – ASP.Net (Visual Studio 2013)

Issue

The tags FORALL? & LOOP? tags gets automatically move above the table tag in source mode. We don’t want these tags to be moved above the table element in source mode. These tags should stay at the same position inside table element in source mode. We tried with config.protectedSource.push property but then these tags gets invisible on WYSIWYG Mode. We actually want these tags to be visible above the table element in WYSIWYG Mode.

Could you please guide how can we achieve this ?

#14437 Error in Safari: this.$.document is undefined (evaluating doc.compatMode) Bug Normal General
Description

Our ErrorReporting tool reports a lot of errors of this kind, which seem to occur only in Safari after working the editor for a while. The problem seems to be that in the lineUtils Plugin Line 328 this.win.getViewPaneSize() is called, and in dom/window.js on line 51 doc is not defined.

Exact error message is: TypeError: undefined is not an object (evaluating 'a.compatMode')
1 File "(unknown)" line (unknown) in getViewPaneSize
2 File ..ckeditor/plugins/lineutils/plugin.js line 21 col 185 in queryViewport

We're using 4.5.7 and it only occurs in Safari on Mac.

#14448 Bulleted list and Numbered list are not aligned Bug Normal General
Description

Steps to reproduce

  1. In Inline CKEditor, Enter text as below
    1. Test1
    2. Test2
    
  2. Put cursor in any above two line and apply any alignment. Check Numbered list is aligned with Text. Refer Fig 1.
  3. Remove all entered Text.
  4. Enter Text in two lines as below:
    Test1
    Test2
    
  5. Click on "Numbered List" option from CKEditor toolbar. Numbered list is applied.
  6. Now apply any alignment and check Numbered list is not aligned along with text. Refer fig 2.

Expected result

Bullet/Numbered list should aligned as we set alignment i.e Left, Right, Center, Justify.

Actual result

Bulleted/Numbered List are not aligned.

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

Browser : Google Chrome,Mozilla Firefox, Internet Explorer

CKEditor version : 4.5.7

installed plugins : dragresize, imageresize

#14449 New Balloon Panel plugin Tade0 New Feature Normal CKEditor 4.6.0 General
Description

The Balloon Panel plugin used by Accessibility Checker needs to be added to CKEditor core repository. It will be available as an official optional plugin, under the same licenses as CKEditor.

Things to check:

  1. Code quality.
  2. Test coverage.
  3. License and copyright headers.
  4. API docs.
  5. Language strings (if any).
  6. Manual test.
  7. Move active balloonpanel issues to Trac.
#14450 Font and Color picker is getting reset when user hits enter or clicks Bug Normal General
Description

Steps to reproduce

  1. In CKEditor toolbar, select any Font from Font Family drop-down, Select any Text color and background color.
  2. Enter some Text, Check entered text shows all selected properties.

Refer Fig 1.

  1. Now hit Enter from Keyboard and enter some text.
  2. All selected properties are set to default. Refer Fig 2.

Expected result

Font and Color picker should not get reset when user hits enter or clicks in CKEditor.

Actual result

Font and Color picker is getting reset when user hits enter or clicks

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

Browser : Google Chrome,Mozilla Firefox, Internet Explorer

CKEditor version : 4.5.7

installed plugins : dragresize, imageresize

#14451 Widget crashes if editable region has a numeric ID Tomasz Jakut Bug Normal CKEditor 4.5.10 General
Description

CKEditor throws an error if a valid widget has an editable element with a numeric ID (or any ID that needs escaped/serialized).

Underlying cause is getContextualizedSelector() in CKEDITOR.dom.element not escaping/serializing IDs when converting to a CSS selector, resulting in an invalid query passed to querySelectorAll() inside of CKEDITOR.dom.element.find(). Something akin to CSS.escape() is needed to correctly format the ID.

Steps to reproduce

  1. Navigate to "Enhanced Image" example on http://ckeditor.com/demo#widgets
  2. Go into source mode
  3. Add a numeric id to the figcaption element (say, id="100")
  4. Exit source mode

Expected result

CKEditor successfully returns to WYSIWYG mode; Widget and CKEditor continue to function normally.

Actual result

Everything is terrible. A JavaScript error is thrown. Editing area returns to WYSIWYG, but buttons are not re-enabled. Tons of CKEditor features don't work. Double clicking on widget does not bring up the editor dialog. Image in widget cannot be resized.

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

Only tested on CKEditor 4.5.7, but getContextualizedSelector is unchanged since it was added in 4.3.

Issue occurs in every browser I tested:

  • Chrome 48.0.2564.116 (64-bit) on both Mac and Linux
  • Safari 9.0.3 (11601.4.4) on OS X 10.11.3
#14452 CKEditor not support XHTML Bug Normal General
Description

Demonstration: http://ckeditor.sy24.ru/

Error in console: ckeditor.js:762 Uncaught SyntaxError: Failed to set the 'innerHTML' property on 'Element': The provided markup is invalid XML, and therefore cannot be inserted into an XML document.

#14453 HTML form in edited text destroys the CKEditor form Bug Normal General
Description

Steps to reproduce

  1. define a html form in CKEditor source mode
  2. save the edited text with the contained HTML form
  3. open the website with embedded CKEditor again

Expected result

In source mode: The HTML source code including the complete source code of the form should be visible inside the CKEditor "window" (form textarea). In render mode: The contained form should be displayed like on a website.

Actual result

The forms within the edited text and the surrounding CKEditor form are both interpreted by browser as active elements - and the result is undefined.

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

CKEditor 4.5.6 embedded in Shop software Gambio GX2 v2.7.1.2 Browser: Firefox 44.0.2

In older versions of (Gambio + CKEditor) did it work, if we wrote a HTML form into CKEditor window. It was correct interpreted and displayed on the website and if the sourcecode was opened in CKEditor again, it was correct diplayed and stayed editable.

This behavior is now destroyed ... but we have many forms in our Gambio shop integrated. They all are not longer editable.

We had contact with Gambio in this issue but they said the mistake is in the newer CKEditor version.

#14454 Editable widget in readonly mode is editable Bug Normal UI : Widgets
Description

Steps to reproduce

  1. Open widget/dev/nestedwidgets
  2. Add the following code in the body:
<button onclick="setReadOnly()">SetReadOnly</button>

Add the following in the script tags:

function setReadOnly() {
		var editor1 = CKEDITOR.instances.editor1;
		editor1.setReadOnly(!editor1.readOnly);
	}

Expected result == Editor1 (the iframe sample) should be in readOnly mode and the editable widget should not be editable

Actual result == The widget is editable

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

#14456 Source download is missing dialogCommand Bug Normal Project : CKBuilder
Description

Steps to reproduce

  1. Go to http://ckeditor.com/builder/8113734128b5f12afd08bfc5d12ce228
  2. Download source (big n'slow) and unzip
  3. Open ckeditor.js and search for dialogCommand. Not found. With big n'slow build I won't be able to call CKEDITOR.dialogCommand.

Repeat the above but download optimized build. dialogCommand is in ckeditor.js.

#14503 Image2 widget upcasts and enables editing of images with contentEditable=false Bug Normal UI : Widgets
Description

Steps to reproduce

  1. Add an image with contentEditable=false in a normal editor, then the image can't be edited (context menu, toolbar)
  1. Enable Image2 and try again

Expected result

The image remains "static"

Actual result

It's converted into a widget and can be edited.

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

#14504 Ckeditor event handler issue Bug Normal General
Description

I have a table, I want each cell can be editable when user click on a cell.

My code can done the job well, I want the updated data can be upload to server database when the editing complete, so I capture the blur event to do so, the problem is when I select text color in toolbar, the blur event is triggered also.

Here is my code:

<html>
            <head>
                <script type="text/javascript" language="javascript" src="http://code.jquery.com/jquery-1.12.0.min.js"></script>
                <script language="javascript" src="ckeditor/ckeditor.js"></script>
                <script language="javascript" src="ckeditor/adapters/jquery.js"></script>
                <script language="javascript">
                    $(document).ready(function() {
                        $("[id^='editor']").ckeditor().on("blur",function(){alert($(this).ckeditor().editor.getData());return false;});                                                             </script>   
            </head>
            <body>
                <table border=1>
                    <tr>
                        <td>
                            <div id="editor1" contenteditable="true">
                                <h1>Inline Editing in Action!</h1>
                                <p>The "div" element that contains this text is now editable.</p>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <div id="editor2" contenteditable="true">
                                <h1>Inline Editing in Action!</h1>
                                <p>The "div" element that contains this text is now editable.
                            </div>
                        </td>
                    </tr>           
                </table>
            </body>
        </html>

Here is my config.js

CKEDITOR.editorConfig = function( config ) {
	// Define changes to default configuration here.
	// For complete reference see:
	// http://docs.ckeditor.com/#!/api/CKEDITOR.config

	// The toolbar groups arrangement, optimized for a single toolbar row.
	config.toolbarGroups = [
		{ name: 'document',	   groups: [ 'mode', 'document', 'doctools' ] },
		{ name: 'clipboard',   groups: [ 'clipboard', 'undo' ] },
		{ name: 'editing',     groups: [ 'find', 'selection', 'spellchecker' ] },
		{ name: 'forms' },
		{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
		{ name: 'paragraph',   groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
		{ name: 'links' },
		{ name: 'insert' },
		{ name: 'styles' },
		{ name: 'colors' },
		{ name: 'tools' },
		{ name: 'others' },
		{ name: 'about' }
	];

	// The default plugins included in the basic setup define some buttons that
	// are not needed in a basic editor. They are removed here.
	config.removeButtons = 'Anchor,Underline,Strike,Subscript,Superscript,Link,Unlink,Styles,About,HorizontalRule,Blockquote,Italic,SpellChecker,SpecialChar,Format';

	// Dialog windows are also simplified.
	config.removeDialogTabs = 'link:advanced';
	
	config.extraPlugins = 'onchange';
};

Here is my build-config.js

var CKBUILDER_CONFIG = {
	skin: 'office2013',
	preset: 'standard',
	ignore: [
		'.bender',
		'bender.js',
		'bender-err.log',
		'bender-out.log',
		'dev',
		'.DS_Store',
		'.editorconfig',
		'.gitattributes',
		'.gitignore',
		'gruntfile.js',
		'.idea',
		'.jscsrc',
		'.jshintignore',
		'.jshintrc',
		'less',
		'.mailmap',
		'node_modules',
		'package.json',
		'README.md',
		'tests'
	],
	plugins : {
		'a11yhelp' : 1,
		'about' : 1,
		'basicstyles' : 1,
		'blockquote' : 1,
		'clipboard' : 1,
		'colorbutton' : 1,
		'contextmenu' : 1,
		'elementspath' : 1,
		'enterkey' : 1,
		'entities' : 1,
		'filebrowser' : 1,
		'floatingspace' : 1,
		'format' : 1,
		'horizontalrule' : 1,
		'htmlwriter' : 1,
		'indentlist' : 1,
		'list' : 1,
		'magicline' : 1,
		'onchange' : 1,
		'panelbutton' : 1,
		'pastefromword' : 1,
		'pastetext' : 1,
		'removeformat' : 1,
		'resize' : 1,
		'specialchar' : 1,
		'stylescombo' : 1,
		'tab' : 1,
		'toolbar' : 1,
		'undo' : 1,
		'uploadwidget' : 1,
		'wsc' : 1
	},
	languages : {
		'en' : 1,
		'zh' : 1,
		'zh-cn' : 1
	}
};
#14505 Embedding widgets possible even widget editable allowedContent filter does not allow this. Bug Normal General
Description

I was able to reproduce this on latest http://ckeditor.com/demo#widgets and "Simple Sample Box", but this apply also when I'm trying to write my custom widget.

Widget editable content is defined like this: content: {

selector: '.simplebox-content', allowedContent: 'p br ul ol li strong em'

}

When cursor is inside this editable, "Create a Simple Box" button is not active, which is correct, according to allowedContent filter.

Unfortunately, I'm able to select "Sample Box" widget, copy it, put the cursor inside the content editable of this widget, and paste all widget there. This causes that widgets are embedded, even this should be not allowed. Same situation happen when I have two widgets, I will select and cut one of them. I'm able to paste just cut widget, into second widget's content editable.

Looks like widget's editable filter is not applied during paste for widgets.

Steps to reproduce

  1. Click "Create a Simple Box" button, to add widget
  2. Select and copy widget "Simple Box" widget
  3. Place cursor in "Simple Box" widget content editable
  4. Paste (Ctrl+V)

Expected result

AllowedContent filter for content editable is applied, not allowed HTML elements (e.g. <div>) are removed before insert. As a result, there is no possibility to embed "Simple Box" widgets, one inside another.

Actual result

"Simple Box" widget is embed inside another.

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

FF 38.6.1 Windows 7 CKEditor (latest): http://ckeditor.com/demo#widgets

#14506 IE: Cursor moves outside of the anchor when space is entered Bug Normal General
Description

Steps to reproduce

  1. Insert following into the console tab in the dev tools:
CKEDITOR.instances.editor.document.on("keypress", function(ev){
   var key = ev.data.getKey();
   if (key == 64) { // '@'
      ev.data.preventDefault();
      CKEDITOR.instances.editor.insertHtml('<a href="">@</a>');
   }
})
  1. Input some text in the instance of the ckeditor such as "hey @amy jones"
  2. In the console you can see how "@amy" is within the anchor element whereas "jones" was moved outside.

Expected result

The "jones" should be appearing in blue as part of the link.

Actual result

The "jones" gets moved outside of the link.

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

Tested in IE11 & MS Edge.

Note: you might need to disable automatic hyperlinking in IE11 for testing.

#14508 Widget editable region clobbered by Format dropdown when autoParagraph is disabled Bug Normal UI : Widgets
Description

Because there can be an editable region with no paragraph wrap around contents, format dropdown can have the undesired effect of modifying the editable region element itself, potentially resulting in data loss.

Steps to reproduce

  1. Navigate to https://jsfiddle.net/tm4sjuzq/2/ (a reduced case using a modified simplebox widget)
  2. Move text insertion point into the "Content" editable region
  3. Choose "Heading 1" from the format dropdown

For data loss:

  1. Switch to source mode
  2. Switch back to WYSIWYG

Expected result

All changes are contained within the editable region. The widget template remains intact with an H1 tag contained inside div.simplebox-content.

Actual result

The changes have leaked out to the editable region element itself, with its tag name changed to H1. This is extremely undesirable because:

  1. The editable region selector no longer matches the editable region. If the data is stored and reloaded this element will no longer be editable.
  2. If user goes engages source mode, content of editable region is completely destroyed.

As mentioned in point b, this problem can result in additional data loss if the user toggles source mode. At step 4 we lose the content of the editable region. At step five we also lose the attributes of the editable region tag.

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

Tested CKEditor versions:

  • 4.5.4
  • 4.5.7

Tested browsers:

  • Chrome 48.0.2564.116 (64-bit) on Linux
  • Safari 9.0.3 (11601.4.4) on Mac OS X 10.11.3
#14509 Editor appears to remove hand-coded styles in span in Chrome Bug Normal General
Description

While in editor instance, I use the source view to add span styling to create a drop cap at the beginning of a paragraph. In Chrome, saving the contents to the database removes key parts of the style, but in Firefox, saving retains this code.

Steps to reproduce

  1. Select source view
  2. Add <span id="dropCap" style="float: left; width: 0.7em; font-size: 400%; line-height: 80%;">T</span> to first character of a paragraph.
  3. Close source view
  4. Execute save to database

Expected result

A reasonably formatted DropCap.

Actual result

In Firefox, this works well ... In Chrome, *--id="dropCap" style="float: left; width: 0.7em;--* portions get removed on save.

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

Chrome v49.0.26 Firefox 44.0.2

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