Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Medium Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: (server) RHEL 6.2, (host) Ubuntu 11.10 Natty Narwhal
      PHP Version: 5.3.3
      Database and version:
      Browser (and version): Firefox 11.0, Google Chrome 18.0.1~, Chromium 18.0.1~ Dev Build

      Description

      Copying and pasting a line from OpenOffice (or LibreOffice) to the editor where there is a soft carriage return(Shift+Enter) may cause the line after said carriage return to disappear.

      For example, given this input, the second line will disappear on Firefox:

      Foo{soft-return}
      Bar
      

      Similarly, the second line will disappear for the following, on Google Chrome & Chromium:

      Foo{soft-return}
      Bar{soft-return}
      
      

      There seem to be other combinations of content+soft returns that will cause some content to disappear. Disabling the editor and looking at the plain textarea shows that the content is really removed, and not just chewed up between other markup.

      The issue was reproduced both in eZFlow and the admin interface. The issue does not appear to be present if text is copied from MS Word.

      Steps to reproduce

      1. Edit an article
      2. Type the following into OpenOffice or LibreOffice, but note that the separations between lines should be soft carriage returns, using Shift+Enter; also note that to reproduce this issue in Chrome there should be a soft return after the second line.

      Magic vanishing line:
      Line
      
      

      3. Copy everything (including the empty line at the end) and paste it in the editor
      4. The second line ("Line") is no longer present

        Activity

        No workflow transitions have been executed yet.

          People

          • Assignee:
            unknown
            Reporter:
            Filipe Dobreira
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: