Opened 11 years ago

Last modified 11 years ago

#10660 confirmed Bug

Menu Button may be missing default mode

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

Description

  1. Please insert attached file into plugins folder
  2. On sample page please specify
    extraPlugins:'tracking',
    toolbar_Basic : [['Accept' ]]
    
  3. Open sample, open menu button and click any option.

Problem: button gets disabled.

This is happening because plugin doesn't use modes: { wysiwyg: 1 }, (If you set it there is no problem). When I was looking through code of button.js plugin I haven't found any lines that sets modes, only lines that use mode property.
This is quite different from command.js which for example set default mode.

I believe that either there should be default mode for menu button or this property should be made required.

Problem can be reproduced in both CKEditor 4.x and 3.x

Attachments (1)

tracking.zip (1.3 KB) - added by Jakub Ś 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by Jakub Ś

Attachment: tracking.zip added

comment:1 Changed 11 years ago by Jakub Ś

Status: newconfirmed
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