Question
insert_tag callback not called (on time) on link tags if DLM enabled
Hiya,
Does anyone know of a way to work around this limitation? I want to
suppress a Dynamic Link Manager (DLM) insert link dialog from opening when
a particular element is inserted that I want to manage and not let DLM
manage it.
Although Help says the insert_tag callback will not fire if DLM is enabled,
it does in fact fire, it just fires late (at least for my purposes ...
after I cancel/escape the insert link dialog). Although Help doesn't say
anything about the insert_tag_after callback, this callback does NOT fire
after inserting a link.
I tried both the link and linkto callback and neither fires.
If DLM is disabled, then the insert_tag callback fires before the element
is inserted and the insert_tag_after callback fires after the element is
inserted. This allows me to set requireattrs=off before the element is
inserted so no link dialog opens and set requireattrs=on after the element
is inserted so other elements I am not worried about will launch the modify
attributes dialog on insertion if required attributes exist.
--
Paul Nagai
Does anyone know of a way to work around this limitation? I want to
suppress a Dynamic Link Manager (DLM) insert link dialog from opening when
a particular element is inserted that I want to manage and not let DLM
manage it.
Although Help says the insert_tag callback will not fire if DLM is enabled,
it does in fact fire, it just fires late (at least for my purposes ...
after I cancel/escape the insert link dialog). Although Help doesn't say
anything about the insert_tag_after callback, this callback does NOT fire
after inserting a link.
I tried both the link and linkto callback and neither fires.
If DLM is disabled, then the insert_tag callback fires before the element
is inserted and the insert_tag_after callback fires after the element is
inserted. This allows me to set requireattrs=off before the element is
inserted so no link dialog opens and set requireattrs=on after the element
is inserted so other elements I am not worried about will launch the modify
attributes dialog on insertion if required attributes exist.
--
Paul Nagai

