Hello,

When you're typing a text and you use the node picker button to insert a link:

* in IE, it's added at the beginning of the text;
* but in FF it's added on the position of the cursus.

I've been searching for a while now, without results.

I had the old version, but also tried with the newest version.

Simon

Comments

peter törnstrand’s picture

Assigned: Unassigned » peter törnstrand

This sounds like a old bug that should not be present in BETA4. I have tried but was not able to reproduce this error in IE6 or 7.

harrrrrrr’s picture

Just updating the files in the module wasn't enough, I had to activate the (new) button in the wysiwyg-profile. Nice new icon btw ;)

I used this module to insert a code with the selected nodes nid so it would be picked up by a custom filter who made a link towards the file attached to that node. If there are more files attached to the node, it simply links to the node. With the previous version of node-linkpicker, i simply changed that in the view-templates.

In the beta4-version you have to select text in order to create a link, so I guess I can't use the beta4.

I think I have to follow the function in that template file to fix my problem :

var insertText = ' [TITEL:'+ title + '#NID:' + nid + ']';
tinyMCE.execCommand("mceInsertContent", false, insertText);

Thx anyway and congrats with the nice work on this module.

peter törnstrand’s picture

Status: Active » Closed (fixed)

In HEAD we have changed so that you don't have to select text, the nodes title gets inserted if no text is selected. New release coming soon.