Opened 10 years ago

Closed 10 years ago

#12661 closed Bug (duplicate)

Table header drop down "First column" is incorrectly capitalised

Reported by: Mark Kenny Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

When you create a new table, you are presented with a dialog with all the table properties. One of these is "Headers".

The options are:

None First Row First column Both

The third option should be "First Column" not "First column".

Hacky workaround:

CKEDITOR.editorConfig = function( config ) {

    CKEDITOR.on('dialogDefinition', function(ev) {

            var dialogName = ev.data.name;
            var dialogDefinition = ev.data.definition;

            if (dialogName == 'table' || dialogName == 'tableProperties') {

            var infoTab = dialogDefinition.getContents('info');

            // hack to make the drop down element have proper capitals!
            infoTab.elements[0].children[0].children[3].items[2][0] = "First Column";

        }

    }

}

Attachments (1)

FirstColumn.png (201.7 KB) - added by Mark Kenny 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by Mark Kenny

Attachment: FirstColumn.png added

comment:1 Changed 10 years ago by Piotrek Koszuliński

Resolution: duplicate
Status: newclosed
Version: 4.4.3

I reported a more general #12662, because the problem occurs in more places.

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