<p> to <br> in Dreamweaver

  • Shattered Plastic
  • Student
  • Student
  • Shattered Plastic
  • Posts: 66

Post 3+ Months Ago

I'm not a big user of the Dreamweaver WYSIWYG editor, one reason being that it has <p> as the default for pressing Enter. Is there a way to change that default to put in <br> or <br /> instead?

Thanks!
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Use code view and manually do it?
  • Shattered Plastic
  • Student
  • Student
  • Shattered Plastic
  • Posts: 66

Post 3+ Months Ago

Thanks... That's what I normally do. I like to use the design view to quickly throw a simple table together sometimes, and I find it a big inconvenience to change a lot of <p> tags.

TinyMCE has an option to use <br> instead, I'd be surprised if Dreamweaver doesn't.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Doesn't look like it does. I just checked every possible preference. Line breaks are established by default (apparently) in Edit>Preferences (CTRL+U) under "code format>line break type". All three (Windows, Mac and Linux) appear to default to <p>
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

instead of hitting enter use shift+enter to get a <br> tag.
  • Shattered Plastic
  • Student
  • Student
  • Shattered Plastic
  • Posts: 66

Post 3+ Months Ago

That's.. really too bad. Thanks a lot though, I'm glad I didn't have to go through Preferences for hours trying to find it.
  • Shattered Plastic
  • Student
  • Student
  • Shattered Plastic
  • Posts: 66

Post 3+ Months Ago

SpooF wrote:
instead of hitting enter use shift+enter to get a <br> tag.


Ohh, awesome! That solves the problem well enough, thanks so much!
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

lol gotta love keyboard shortcuts. That's one I didnt know
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

Doesn't Dreamweaver has something like search/replace function? I don't really know as I don't have a Dreamweave but every HTML Editor has one... and Dreamweaver is a big program...
  • suzie
  • Guru
  • Guru
  • User avatar
  • Posts: 1134
  • Loc: England

Post 3+ Months Ago

Quote:
Doesn't Dreamweaver has something like search/replace function? I don't really know as I don't have a Dreamweave but every HTML Editor has one... and Dreamweaver is a big program...

Yes it has Bogey.

Great shortcut spoof - thanks!

:mrgreen: :mrgreen:

Some more shortcuts for Dreamweaver:

http://www.nooti.com/design/dw-shortcuts.php
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

suzie wrote:
Quote:
Doesn't Dreamweaver has something like search/replace function? I don't really know as I don't have a Dreamweave but every HTML Editor has one... and Dreamweaver is a big program...

Yes it has Bogey.

Great shortcut spoof - thanks!

:mrgreen: :mrgreen:

Some more shortcuts for Dreamweaver:

http://www.nooti.com/design/dw-shortcuts.php

I misread the question anyway... oh well
  • aja72
  • Newbie
  • Newbie
  • aja72
  • Posts: 7

Post 3+ Months Ago

Great find. Good short cut.

Post Information

  • Total Posts in this topic: 12 posts
  • Users browsing this forum: No registered users and 80 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.