Ticket #4250 (confirmed Bug)

Opened 5 years ago

Last modified 23 months ago

Fails to warn on usage of non-existing command

Reported by: alfonsoml Owned by:
Priority: Normal Milestone:
Component: UI : Toolbar Version: 3.0
Keywords: Cc:

Description

Edit a sample and change the toolbar so it uses a non existing command:

var editor = CKEDITOR.replace( 'editor1',
	{
		toolbar : [ [ 'Source', '-', 'Bold', 'Italic', 'Underline', 'Strike','-','Link', '-', 'not existing' ] ]
	});

Load now the sample in the browser:

No warning, no error, no button. Nothing shows that there's an attempt to use a non-existing command.

People are gonna waste a lot of time trying to understand why their changes doesn't work if they don't have any clue about the problem.

Change History

comment:1 Changed 23 months ago by j.swiderski

  • Status changed from new to confirmed
  • Version changed from SVN (CKEditor) - OLD to 3.0

Agreed this can be very annoying E.g. in case of a simple typo.

There should some console log warning/error. Definitely not an alert if it happens to regular user silent fail is better than alert.

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