Opened 16 years ago
Last modified 13 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 13 years ago by
| Status: | new → confirmed |
|---|---|
| Version: | SVN (CKEditor) - OLD → 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.