Opened 2 weeks ago

Last modified 2 weeks ago

#16849 pending Bug

Cannot use Paste From Word on numbered lists with parens around number/letter

Reported by: mike_chq Owned by:
Priority: Normal Milestone:
Component: Plugin : Paste from Word Version:
Keywords: Cc:

Description

Steps to reproduce

  1. Go to http://ckeditor.com/features and click on Accessibility Checker demo
  2. Click on the Paste From Word button
  3. Paste in the following from Word (formatted in Word as a numbered list with the parens) and press OK:

(a). This will not work.

Expected result

Same output as copied from Word (formatted as a numbered list)

Actual result

Nothing gets pasted. Error in console:

Uncaught TypeError: f.getSubsectionSymbol(...).match is not a function
    at Object.setListSymbol (default.js?t=H0CI:23)
    at Object.createLists (default.js?t=H0CI:29)
    at root (default.js?t=H0CI:6)
    at a.exec (ckeditor.js?oksklt:284)
    at $.onRoot (ckeditor.js?oksklt:282)
    at window.CKEDITOR.window.CKEDITOR.dom.CKEDITOR.htmlParser.fragment.filter (ckeditor.js?oksklt:278)
    at $.applyTo (ckeditor.js?oksklt:281)
    at Object.CKEDITOR.cleanWord (default.js?t=H0CI:14)
    at ckeditor.js?oksklt:1093
    at a (ckeditor.js?oksklt:1091)

Same result if I try (1). or (A). etc.

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

Note that this appears to be a regression from version 4.5.11 to 4.6

OS: macOS Sierra Version 10.12.2

Browser: Chrome Version 56.0.2924.87 (64-bit)

Word: Word for Mac Version 15.30

CKEDITOR: 4.6.2 (standard)

Attachments (1)

2017-02-10_1347.swf (2.1 MB) - added by j.swiderski 2 weeks ago.

Change History (4)

Changed 2 weeks ago by j.swiderski

comment:1 Changed 2 weeks ago by j.swiderski

  • Status changed from new to pending
  • Version 4.6.2 deleted

Could you check out my recoded attempt of reproducing the problem and tell me where did I make a mistake?

Basically I have created text (a) test, changed it into list and pasted it into CKEditor. I had to use context menus because Jing was blocking shortcuts on my VM but results are the same when using keyboard.

comment:2 Changed 2 weeks ago by j.swiderski

We have checked this issue on two different computers and didn't get error in any of them?

Could you tell me if by any chance you have some third-party Chrome plugins installed and if so, could you disable all of them, clear browser's cache according to http://www.wikihow.com/Clear-Your-Browser's-Cache and recheck this problem?

comment:3 Changed 2 weeks ago by mike_chq

Hi,

Thank you for your response. When I try your specific test, everything is functioning normally (without having to turn off plugins or clear the cache).

After a little bit of testing, I realized that the problem is actually when there are parens AND a period surrounding the list number/letter (which happened to be the case in the document I was testing out).

For clarification, the following work fine for me:

(a) I work.
a. I work, too.

But I am still seeing an error with:

(a). I am not working.

Happy to provide any additional information - just let me know!

Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy