Opened 7 years ago

Last modified 7 years ago

#16722 confirmed Bug

Number of rows must be a number greater than 0

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: Cc:


Steps to reproduce

Based on comment -

  1. Put attached script into your editor folder
  2. Assign it to one of samples like replacebycode.html <script src="../../myscript.js"></script>
  3. Load the page, open table dialog and press OK to insert default table

Expected result

Table gets inserted.

Actual result

Dialog shows up saying "Number of rows must be a number greater than 0". The global function from custom script gets called.

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

Problem can be reproduced in all browsers from CKEditor 4.0 at least.

To solve this we would probably need to rename core.dom.element.getValue() or plugins.dialog.plugin.getValue or plugins.dialogui.plugin.getValue.

Attachments (1)

myscript.js (80 bytes) - added by Jakub Ś 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by Jakub Ś

Attachment: myscript.js added

comment:1 Changed 7 years ago by Jakub Ś

Status: newconfirmed
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy