Closed (fixed)
Project:
Linkit
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
11 Nov 2011 at 17:16 UTC
Updated:
29 Nov 2011 at 00:41 UTC
When using Linkit to insert a file, is there an option to rename the link? Right now when you use Linkit to insert a file the link has the following name:
/sites/default/files/myfile.pdf
Granted, you can edit the name of that link in the text editor, but it would be nice if there was an option in the Linkit window to have a field where you can type in your own name for the link. Or am I missing a setting somewhere that allows you to do this already?
Comments
Comment #1
betamos commentedThe functionality that we have come to embrace in 7.x-2.x regarding the practical linking part in the editor is that you first select text (or image) and then click the Linkit button to create an A-tag around the selection. This went back and fourth a few times but we finally came to the conclusion that the selection should be made before clicking the link button. However, CKEditor doesn't seem to support disabling the button so it's always enabled there (currently). See #1334526: Disable Linkit button when no selection CKEditor.
Marking as fixed, please change if you're not happy with the answer.
Comment #2
bobthebuilder commentedI'll sit on the fence on this one, since I think each way of thinking has valid arguments. However, the organization I'm building a Drupal site for, their current CMS allows them to name the link when they select a file in the file browser before inserting it. So I was simply trying to duplicate what they're use to. But I'm fine telling them to type and select the text first before using the Linkit option.
Thanks.