Reviewed & tested by the community
Project:
Wysiwyg
Version:
7.x-2.x-dev
Component:
Plugins
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2009 at 03:58 UTC
Updated:
5 Mar 2019 at 00:48 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sunLooks like all we'd have to do is to have Drupal plugins return their (own) plugin name instead of
true? Or similar?If the editor supports onDoubleClick, we just invoke all of our plugins' .isNode() methods, break if one returns true, check whether that one implements a dialog (edit method?), and invoke that if so.
Comment #2
twodSounds simple enough. Maybe we could even add our own double click handler for those editors normally not supporting it. I won't be back on my dev machine until after the weekend so I can't test this on myself yet.
Comment #3
jmuzz commentedIt didn't seem to work when I tried to do it by setting evt.data.dialog like the common examples show.
Comment #4
das-peter commentedThat seems to work nicely.