coping the url if usefull for adding an image in the body field, whenever you use a wysiwyg or not, there is always the risk to not selecting correctly the url and then coping the wrong code.

Sometime you can even select extra html without even know it.

A simple "copy url" button or link could be useful...

Comments

iva2k’s picture

Status: Active » Postponed (maintainer needs more info)

Will a right-click on the file link in the browser give a menu where selecting "Copy URL"/"Copy link address" will do what you ask for?

pitxels’s picture

That is very easy for me but not obvious for final users, so I think that single button is a usability improvement, but i may be wrong.

iva2k’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

Given neither you or I know such users, I say "won't fix". I see no point of replicating the functionality that is already present in great majority of desktop browsers, and cluttering the output in the process. For mobile devices - that should be a theme override if it needs fixing.

I would still entertain reviewing a patch, which should be a configurable setting and be off by default.

pitxels’s picture

I understand what you say, the point is to make easier the placing of the attached image on the body field, I guess that this issue should be asked in a different module instead, perhaps a solution in one of the wysigyg.

For clarifying my point you just have to check youtube embed code field, once you click the field all the code gets selected and you can copy the code easily, that is a friendly approach.

I will continue my efforts for making straightforward placing attached images on the body field. Sadly I don't have the php, nor the drupal api knowledge to make simple modules yet...

Thanks for your module contribution!, keep up the good work.

iva2k’s picture

For what you want to do - try other modules, such as:
http://drupal.org/project/imce
http://drupal.org/project/imce_wysiwyg
http://drupal.org/project/img_assist

I personally prefer IMCE + wysiwyg. That creates a button on the toolbar to upload and insert images into the body text. But it is separate from file uploads and itweak_upload.