Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Community Beginner ,
Jan 03, 2024 Jan 03, 2024

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.

TOPICS
Code
226
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 03, 2024 Jan 03, 2024

@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

 

 

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 04, 2024 Jan 04, 2024
LATEST

Thank you for your help, and for the info!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 03, 2024 Jan 03, 2024

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

 

Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 04, 2024 Jan 04, 2024

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines