﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
14761	"Missing ""`startDisabled: 1`"" in table-related commands definition"	Valerij Ivashchanka		"== Steps to reproduce ==

1. Add button to toolbar with any command from plugin 'table' or 'tabletools';

For example:

{{{
CKEDITOR.replace( 'editor1',{
    on: {
        pluginsLoaded: function( evt ) {
            var ed = evt.editor;
	    ed.ui.addButton( 'tableDelete', {
                label: ed.lang.table.deleteTable,
                icon: 'tests/tickets/279/tabledelete.png',
                command: 'tableDelete'
	    });
        }
    }
});
}}}

== Expected result ==
Table-related buttons must be disabled by default when editor is ready. And enabled when cursor placed inside table.

== Actual result ==
Table-related buttons enabled when editor is ready.

== Other details (browser, OS, CKEditor version, installed plugins) ==
Plugins: wysiwygarea, toolbar, table.

Commands provided by plugins 'table', 'tabletools' is context-sensitive, therefore they must need have add `startDisabled: 1` in definition

I'll make pull-request with changes and test based on https://github.com/ckeditor/ckeditor-dev/pull/279 after create this issue.

This issue related to:
* #4717 - Remove Link and Outdent buttons should be disabled before editor gets focus.
* #10439 - Initial command states are naive, biased and buggy
"	Bug	confirmed	Normal		General	4.0			
