[annotator-dev] Allow doubleclick events to pass through
Mike Potter
mike at potterfamily.ca
Wed Feb 18 02:32:06 UTC 2015
Thanks Randall. I had another look and it does appear that the double-click events are being passed - there was a separate issue in my code.
The problem with my code is that it’s doing exactly what I wrote :)
At the moment I still get the annotator image on double click - is there a way to prevent the annotator from invoking? I saw an email on the list a few months ago asking this question but without reply. I can hide the -adder easily, which is what I’m doing, but then if someone clicks in the editable text area, the -adder pops up again. I’d prefer to turn off the annotator until they’re done editing the text.
Thank you.
Mike
> On Feb 17, 2015, at 9:13 PM, Mike Potter <mike at potterfamily.ca> wrote:
>
> Yes, that’s the issue. The double click events that I was capturing before are no longer being passed to my code, from what I can tell. I assumed that Annotator was capturing them - are you saying they should be passed through?
>
> Mike
>
>> On Feb 17, 2015, at 9:12 PM, Randall Leeds <tilgovi at hypothes.is <mailto:tilgovi at hypothes.is>> wrote:
>>
>> Annotator does nothing special with double clicks. Do you find that you're unable to capture them when you have annotator enabled?
>>
>> On Tue, Feb 17, 2015 at 6:11 PM, Mike Potter <mike at potterfamily.ca <mailto:mike at potterfamily.ca>> wrote:
>> Hi all:
>> First of all, thanks for such a great project. A friend and I are working on a website editor / review application, and this fits in perfectly with what we're building.
>>
>> I have run into an issue though. In our application I would like single click / select text to pull up the annotator, but on double click I'd like the user to be able to edit the text on the page (functionality that we already have developed). I've looked through the code and the archives, but haven't found anyone with this same usecase. I'm wondering what the opinion is on the best way to enable this? Should I write a plugin that captures the double click event? Can I edit the code to not capture double clicks? What's the best way to handle this?
>>
>> Thank you very much.
>>
>> Mike
>>
>> --
>> Mike Potter
>> mike at potterfamily.ca <mailto:mike at potterfamily.ca>
>> _______________________________________________
>> annotator-dev mailing list
>> annotator-dev at lists.okfn.org <mailto:annotator-dev at lists.okfn.org>
>> https://lists.okfn.org/mailman/listinfo/annotator-dev <https://lists.okfn.org/mailman/listinfo/annotator-dev>
>> Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev <https://lists.okfn.org/mailman/options/annotator-dev>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20150217/9dc07d1c/attachment-0004.html>
More information about the annotator-dev
mailing list