Shift+Enter → <br>

Hello guys,

is it possible to set a shortcut for the br-Element in Webstorm?
Its stressful to write <br>-Elements by hand if you have to do this by yourself.

Generally, how do you prepare text for HTML?

I tried to convert my text source rtf-File to html, but the result is messy.
I also tried it from inDesign, but the result wasn’t much better.

I miss my WYSIWYG-Editor.

2 comments
Comment actions Permalink

Hi there,

is it possible to set a shortcut for the br-Element in Webstorm?

Use macros functionality (Edit | Macros) -- you can assign any shortcut to any macros (Settings | Keymap).

0
Comment actions Permalink

Generally, how do you prepare text for HTML?

Did you try Emmet?

Enter :
table>tr.row*5>td.cell*3
and hit TAB

You'll get a full HTML table without having to enter each tag manually.

0

Please sign in to leave a comment.