Search code examples
extjsaloha-editor

Blocker Bug with Aloha Editor / ExtJS, We Need Your Help


We have a blocker bug with Aloha Editor which is holding back the 0.10 release. I've been at it all day, and cannot figure it out. So I'm opening it up to you guys.

See the error report here: https://github.com/alohaeditor/Aloha-Editor/issues#issue/75

Thanks. I will award a 200 reputation bounty to whoever solves this.


Solution

  • It looks like it's trying to initialise the buttons twice.

    If you put a breakpoint on floatingmenu.js#436 when scopeObject.buttons.length > 6 you can see it trying to add a second bold button to the buttonGroup. It succeeds; I can only assume it's not supposed to.

    The ids of the two bold buttons are suspiciously similar.

    I haven't tracked down just why it's initialising them twice, but hopefully that's a start.