Opened 3 years ago

Last modified 3 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:

Description

Steps to reproduce

Based on comment - http://dev.ckeditor.com/ticket/11644#comment:6

  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 Ś 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by Jakub Ś

Attachment: myscript.js added

comment:1 Changed 3 years ago by Jakub Ś

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