Opened 6 years ago

Last modified 6 years ago

#10490 confirmed Bug

Cannot create two 'textColor' button in toolbar

Reported by: jianghongfei Owned by:
Priority: Normal Milestone:
Component: General Version: 3.0
Keywords: Cc:

Description (last modified by Jakub Ś)

CKEditor version: 4.1.1 Browser: Chrome 27.0.1453.94 m Repro steps:

  1. configure CKEditor like this:
    CKEDITOR.replace( 'editor1', {
    	toolbar: [['TextColor', 'TextColor' ]]
    } );
    
  2. Click the second TextColor button

Desc:

this first button works fine, but error raised when click the second one.

I was trying to add textColor button in floating-tools, and got this error. I thought this is a bug of floating-tools at first, then I found two textColor button don't work on normal toolbar. I tried comboboxs like style, font, they work fine.

Change History (2)

comment:1 Changed 6 years ago by Jakub Ś

Description: modified (diff)

comment:2 Changed 6 years ago by Jakub Ś

Status: newconfirmed
Version: 3.0

Problem can be reproduced from CKEditor 3.0 but from CKE 3.0 till CKE 4.0 beta editor didn't load at all. From CKE 4.0 editor loads but clicking second menu button causes JS error.

This is happening for 'text color" and "backbround color" menu buttons. It doesn't happen for scayt menu button.

Message: this.attributes is undefined
Code: aria-label': this.attributes[ 'aria-label' ],
Line: 285
URI: ckeditor/plugins/panel/plugin.js

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy