Skip to main content
Participant
October 18, 2022
Question

Drag and dropping files into code view should populate page title not filename

  • October 18, 2022
  • 1 reply
  • 229 views

There is no option in prefernces to switch back to drag and drop populating the title tag as opposed to the filename. There should also be this option in the insert menu at least. I've seen a previous thread that is old but offered no solution other than open the file we want to link to and manually copy/pasting the title. This is too time-consuming and opens the door for error. Is there a way to automatically populate the title of a linked page? Thanks.

This topic has been closed for replies.

1 reply

Nancy OShea
Community Expert
Community Expert
October 18, 2022

No.  Dreamweaver has never done that.  Sorry. 

 

Dragging a file from Files panel (F8) and dropping into DESIGN view adds a hyperlink to that file.  It works with:

  • PDF (filename.pdf),
  • Images (filename.jpg),
  • HTML pages (filename.html) or
  • Scripts (filename.js.) 

That's how Dreamweaver has always worked since it was first released. 

 

If you wish to scrape and display page TITLES or other meta data from files, you need another approach.

 

Nancy O'Shea— Product User & Community Expert
Participant
October 18, 2022

Thank you for the input! Indeed, that is true for Design view, even today. It populates the filename. Not useful to us, as Dreamweaver prior to CC always had the option of dragging an HTML file from the Files pane into Code view and it would populate a relative link with the full title of the page from the <title> tag. This is how I have done this for several years until today, having to upgrade to CC at one workplace. 

Do you know of a way to do this?

Jon Fritz
Community Expert
Community Expert
October 18, 2022

From at least CS4 through CC2015, dragging and dropping an html file into Code View would create a link, and then use the title tag contents of a dragged .html file as the text of the link, for example...

<a href="somepagehere.html">The Some Page Here HTML File Title</a>

Adobe replaced DW's Code View with an incomplete version of Brackets after CC2015. We lost a few drag and drop functions when Brackets was bolted onto DW, that was one of them.

CC2015 is still available, though you have to download the installer in a round-about way, it can live on the same system as the most recent version, it just won't run at the same time.

If you're interested, I can give you a link.

If you're stuck with only the current version of DW, you have my sympathies.