Opened 15 years ago

Last modified 12 years ago

#4250 confirmed Bug

Fails to warn on usage of non-existing command

Reported by: Alfonso Martínez de Lizarrondo 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 (1)

comment:1 Changed 12 years ago by Jakub Ś

Status: newconfirmed
Version: SVN (CKEditor) - OLD3.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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy