Opened 5 years ago

Closed 5 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 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by Mark Kenny

Attachment: FirstColumn.png added

comment:1 Changed 5 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 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy