Skip to main content
johnrellis
Legend
April 17, 2009
Question

Blank lines deleted from pasted text

  • April 17, 2009
  • 2 replies
  • 1170 views

Blank lines in text pasted from the clipboard into a message get deleted when the message is posted (at least with IE 7 and 8).  Some use cases in which this is quite annoying:

- Copying text from some other Web page, e.g. a FAQ.

- Composing your message in another, more civilized text editor.

    This topic has been closed for replies.

    2 replies

    April 17, 2009

    Same pasted into the HTML editor:

    Did you know... Creative Suite 4 delivers dramatic productivity improvements  Adjust images in half the time with the new Adjustments panel in Adobe Photoshop® CS4 Extended. Find and fix production errors twice as fast with Live Preflight in Adobe InDesign® CS4. Take advantage of simplified workflows that will save you time every day. See productivity resources for Design Premium It's now easier to work with HTML, animation, 3D, and video  Prototype a website with Adobe Fireworks® CS4, discover how easy it is to animate objects with Adobe Flash® CS4 Professional, or enhance video and 3D objects with Photoshop Extended. It's now easier than ever to create rich, compelling content and achieve results you never thought possible. See top new features Getting client feedback is now quicker than ever  Work interactively with clients and colleagues, sharing screens and hosting live reviews across the hall or around the world without ever having to leave your desk. Learn from an extensive community of Adobe experts by accessing technical content online — directly from inside your design software. See all features

    I'm thinking the difference is the window you are pasting it into? I'm using Firefox, btw, tho I don't think that is the difference. Also manually added < P > tags for my top and bottom lines.

    johnrellis
    Legend
    April 17, 2009

    Hmm, just did some more tests:

    • With IE 8, the rich-text editor eats blank lines of text pasted from Word 2007, Outlook 2007 (Word as editor), Notepad, and Textpad.

    • With Firefox 3.0.1, the rich-text editor eats blank lines of text pasted from Outlook 2007 (Word as editor).  It doesn't eat blank lines from Word 2007, Notepad, and Textpad.

    Other forum software, e.g. that used at ElementsVillage.com, handles pastes from IE 8 just fine.

    Here's an example of pasting 3 lines of text separated by blank lines from Word 2007 into IE 8:

    Line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1 line1

    Line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2 line2

    Line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3 line3

    April 17, 2009

    That will happen if you paste text into the HTML editor, but shouldn't if you're pasting into the Rich Text editor. Grabbing some stuff from the Adobe site to test pasting into the RT editor:

    Did you know...

    Creative Suite 4 delivers dramatic productivity improvements

    Adjust images in half the time with the new Adjustments panel in Adobe Photoshop® CS4 Extended. Find and fix production errors twice as fast with Live Preflight in Adobe InDesign® CS4. Take advantage of simplified workflows that will save you time every day.
    See productivity resources for Design Premium

    It's now easier to work with HTML, animation, 3D, and video

    Prototype a website with Adobe Fireworks® CS4, discover how easy it is to animate objects with Adobe Flash® CS4 Professional, or enhance video and 3D objects with Photoshop Extended. It's now easier than ever to create rich, compelling content and achieve results you never thought possible.
    See top new features

    Getting client feedback is now quicker than ever

    Work interactively with clients and colleagues, sharing screens and hosting live reviews across the hall or around the world without ever having to leave your desk. Learn from an extensive community of Adobe experts by accessing technical content online — directly from inside your design software.
    See all features