// Internet Duct Tape

WordPress Tips – Alt-V

Posted in Technology, WordPress.com Tips by engtech on September 03, 2006

This is why I read the WordPress.com forums: pressing Alt-B Alt-V in the Rich Text Editor brings up a second menu with advanced options.

UPDATE 2006/09/22: The keystroke has changed to Alt-V. Alt-E can be used to switch between Compose and HTML mode.

UPDATE 2006/09/23: Mr. Matt of WordPress points out that you can insert page breaks instead of paragraphs in the Rich Text Editor using Shift-Enter.

UPDATE 2007/01/10: If you’re having trouble getting it to work, make sure you click in the text entry box first. Also try Alt-Shift-V instead of Alt-V� (if Alt-V is bringing up the View menu in your web browser).

The biggest surprise was that you can cut-and-paste from Microsoft Word to WordPress and have it generate good HTML!

It has options for

  • selecting text and applying formatting
    • paragraph
    • address
    • preformatted
    • heading 1-6
  • underline (also Ctrl-U)
  • align full (full justification, IE: text is fully justified on the left and right columns with extra spaces between words)
  • text colour
  • paste as plain text (instead of doing an OLE paste that will retain formatting)
  • paste from Word (haven’t tried it, but I assume it correct some of the HTML cruft from Word)
  • remove formatting eraser (leave text content, but remove and of the HTML around it, useful for correcting a messed up section)
  • clean-up messy code (HTML auto-correction)
  • insert custom characters (accents, special characters like copyright and trademark)
  • undo (Ctrl-Z) and redo (Ctrl-Y)

After the break, formatting examples.

wordpress alt-b

Formatting Examples

This is preformatted text.
It will look like however it is typed.
This is an address.
123 Road Street
City, State
YOYOYOOY

Standard Headers H6

underline

Full text justification will expand the text so it fills the entire line. This will make it look more like a newspaper column. Personally, I don’t like the way fully-justified text looks on the computer.

Add colours to text to make it pretty (ugly).

Paste Examples

This is what the original MS Word text converts to when cutting and pasting from Word to WordPress.

<p class=”MsoNormal” style=”margin-left: 36pt”><b>This</b> <i>is</i> an <u>example </u>of horrible Microsoft Word OLE <span style=”font-family: “Arial Black””>cut-and-paste</span> to <span style=”font-size: 22pt”>HTML</span>.</p>

paste as plaintext (pops up a window)

<p>This is an example of horrible Microsoft Word OLE cut-and-paste to HTML.</p>

paste from Word (pops up a window)

<p><b>This</b> <i>is</i> an <u>example </u>of horrible Microsoft Word OLE cut-and-paste to HTML.</p>

pasting from Word and then selecting text and using the remove formatting tool

<p class=”MsoNormal” style=”margin-left: 36pt”>This is an example of horrible Microsoft Word OLE cut-and-paste to HTML.</p>

pasting from Word and then selecting text and using the clean-up messy code tool

<p class=”MsoNormal” style=”margin-left: 36pt”><b>This</b> <i>is</i> an <u>example </u>of horrible Microsoft Word OLE <span>cut-and-paste</span> to <span style=”font-size: 22pt”>HTML</span>.</p>

Related Links

28 Responses

Subscribe to comments with RSS.

  1. ptolemayos said, on September 04, 2006 at 2:15 am

    Oh my god! They haven’t told us anything! :-)

  2. britgirl said, on September 04, 2006 at 8:34 pm

    this is brill… how did you discover this?

  3. engtech said, on September 04, 2006 at 9:14 pm

    Someone else found it and mentioned it in a forum post.

  4. EclecticGeek said, on September 05, 2006 at 12:36 am

    Yes, many tasty tidbits are found in the forum.

    Been trying to figure out an easy way to paste and insert special characters forever. Thanks for the informative post.

  5. livingjourney said, on September 05, 2006 at 4:52 am

    Yeah… I was shocked when I read that for the first time.

    Well, there you go, you learn something new everyday with WordPress.

    by the way good blog entech

  6. engtech said, on September 05, 2006 at 5:02 am

    thanks livingjourney.

  7. CAPitalZ said, on September 08, 2006 at 8:41 pm

    Wow.. man thank you so much

  8. Neeraj said, on September 11, 2006 at 11:26 am

    Maybe I’m doing something wrong !! But Alt-B invokes “Bookmark” menu in Firefox [though it works in IE]. Any alternates in Firefox of invoking advanced tinyMCE ?

  9. engtech said, on September 11, 2006 at 6:14 pm

    Hi Neeraj,

    In FireFox you have to click inside the Rich Text Editor / TinyMCE window before hitting Alt-B.

  10. michael said, on September 12, 2006 at 11:32 pm

    Ok, I have tried this in Firefox and IE and cannot get this too come up.

    I know I have version 2.0.4 installed on my hosting account, I didnt ad any other plugins besides the basics, am I missing something here?

    Or am I just up a creek?

  11. engtech said, on September 13, 2006 at 12:06 am

    This is probably only available in the latests and greatest that is installed on WordPress.com

    Sorry mang.

  12. UrmiSaagar said, on September 13, 2006 at 11:35 pm

    Great feature!!!!!!!!
    just wondering… why isn’t wordpress is telling everyone??

    engtech, Thanks a lot!!!!!! great blog…. i just bookmarked it!!

  13. engtech said, on September 22, 2006 at 7:41 pm

    It looks like this feature went missing with the Compose/HTML switch update on 2006/09/22. I’ve put in Feedback asking for it to be reinstated.

    It’s Alt-V now. Thanks podz.

  14. hadi farnoud said, on September 25, 2006 at 8:15 pm

    can i have this in my own WP? (not wp.com)

  15. engtech said, on September 25, 2006 at 8:22 pm

    Don’t think so.

  16. Uncle Su said, on December 19, 2006 at 7:07 am

    engtech, I was the guy who found out about alt + b.

    Thanks for preading the word, though.

  17. Uncle Su said, on December 19, 2006 at 7:09 am

    and for firefox 2.0 users, the shortcut is now

    alt + shift + v.

    the “add a post page” is now alt + shift + g

  18. TaruN said, on December 26, 2006 at 2:56 pm

    I uses firefox 2.0, and i tried
    alt + shift +v
    it always opens view drop down menu.. any clue.. ??

  19. engtech said, on December 26, 2006 at 11:42 pm

    @tarun:

    click your mouse in the text entry box first.

  20. TaruN said, on December 27, 2006 at 3:34 pm

    ya got it engtech.. i had not enabled “rich text editing” .. thats y that combination of keys were not working…

  21. Dave said, on January 11, 2007 at 6:27 pm

    I’m also having trouble getting this to work. I’m using Firefox, but have also tried in IE and I always get the same result. When I do Alt-V, Ctrl-Alt-V, or what ever other combination has been recommended above the “View” menu always pops up. Yes, I make sure to click in the text field and I have checked the box in the “Options > Writing” section that says “Users should use the visual rich editor by default”.

    Any ideas? I would so love to get this working!

    Thanks

  22. engtech said, on January 11, 2007 at 7:22 pm

    Try Alt-Shift-V :)

  23. Dave said, on January 11, 2007 at 7:50 pm

    Same thing… pops the “View” menu. Urgh!!

  24. engtech said, on January 11, 2007 at 8:48 pm

    Really? Weird. This is what I do in Firefox 2.

    - edit/create a new post
    - click in the text entry box and type something
    - press and hold alt-shift-v

  25. engtech said, on January 12, 2007 at 2:05 am

    David, you might be running an older version of WordPress that still uses Alt-B or Alt-Shift-B.

    Sorry I didn’t think of that sooner.

  26. TaruN said, on January 16, 2007 at 9:01 am

    Dave,
    Select visual while editing then press alt+shift+v
    there are two kind editors. One is visual other one is code.. if your all settings are correct then while posting you will see two tabs.. If you select the visual tab then definitely alt+shift+v will work..
    http://www.4freeimagehost.com/show.php?i=4902951868a3.jpg

  27. Arkhitekton said, on April 22, 2007 at 6:17 am

    I’ve tried ALL the keyboard shortcuts suggested above but none seem to activate the advanced (second) menu. Would the fact I’m running OS X make any difference? On a Mac, the shortcuts don’t seem to work in Firefox, Camino, or even Safari.

    Any suggestions?

  28. engtech said, on April 22, 2007 at 7:24 am

    @arkhitekton: sorry I can’t be of more help. I haven’t tried it out on a mac.


Comments are closed.

Follow

Get every new post delivered to your Inbox.

Join 286 other followers

%d bloggers like this: