Skip to main content
Participant
Jan 3, 2024 9:29 PM UTC
Question

Feature Request: Start Anchor tag on it's own line.

Feature request: when formatting code, allow the <a> tag to begin on its own line, since HTML5 allows "block level links" where the <a> tag can enclose other tags like <div>s, <figure>s, etc. Thank you.

This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Jon Fritz
Community Expert
Community Expert
Jan 4, 2024 1:34 PM UTC

If DW did that for all <a> tags, your code could get pretty sloppy pretty fast, especially if you have multiple text links throughout a paragraph of text.

That being said, you can make DW do what you want either by manually coding, as Nancy said, or you can make your <a> tags do what you like in your Tag Library.

1. Go to Tools > Tag Library
2. Under HTML tags, highlight "a"
3. Under Tag Format, choose "Before and After Tag" for Line Breaks
4. Hit "OK"

From there on out, your <a> tags will act like block level elements.

Translate
Nancy OShea
Community Expert
Community Expert
Jan 4, 2024 1:57 AM UTC

In answer to your question, use CODE View and manually code your anchor tags as required.

 

Translate
Nancy O'Shea— Product User & Community Expert
Nancy OShea
Community Expert
Community Expert
Jan 4, 2024 1:53 AM UTC

@tracem,

You resurrected a very old topic from 2019.  I'm moving it to a new one for you.

 

No feature requests are being accepted for Dreamweaver. It's in minimal maintenance status.

See below for more details:

https://community.adobe.com/t5/dreamweaver-discussions/bootstrap-5/m-p/14046967#M225831

 

 

 

Translate
Nancy O'Shea— Product User & Community Expert
tracemAuthor
Participant
Jan 4, 2024 1:44 PM UTC

Thank you for your help, and for the info!

Translate