0

In Quill, I prepared a special span (just changing the background color) of some text. Now I would like to fire up a popup when a user clicks or double-clicks on that span. Doing that, it seems that Quill intercepts the event (which is not unexpected) but probably stops the propagation. Is there a way to make Quill not stop the propagation and allow for remaining click handlers to be called ?

I tried a

$("#idOfMySpan").unbind('click');

before binding with my handler but it doesn't work.

Thanks !

Damir

4

2 回答 2

0

这有点古怪,但是您是否尝试过隐藏真正的按钮,并使用诱饵按钮来:

  1. 首先触发您的自定义事件。
  2. 然后,触发原始的隐藏按钮。
于 2015-06-22T15:08:13.620 回答
0

我刚刚调试了这个东西,Quill 完美地传输了事件,我能够做我想做的事。但我保留你的想法,以防万一...... :-) 谢谢!

于 2015-06-22T15:59:00.370 回答