Aloha 编辑器/ExtJS 的拦截错误,我们需要您的帮助
我们的 Aloha Editor 存在一个阻止程序错误,该错误阻碍了 0.10 版本的发布。我已经研究了一整天了,还是无法弄清楚。所以我向你们开放。
请参阅此处的错误报告: https://github.com/alohaeditor/Aloha-Editor/issues#issue/75谢谢
。 解决这个问题的人我将奖励 200 声望奖励。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来它正在尝试初始化按钮两次。
如果在
scopeObject.buttons.length > 时在
您可以看到它尝试向 ButtonGroup 添加第二个粗体按钮。它成功了;我只能假设这是不应该的。floatingmenu.js#436
上放置断点6这两个粗体按钮的 id 非常相似。
我还没有弄清楚为什么它会初始化它们两次,但希望这是一个开始。
It looks like it's trying to initialise the buttons twice.
If you put a breakpoint on
floatingmenu.js#436
whenscopeObject.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.