Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-24095

Safari 5 support broken in new editor: cut and paste inside macro blocks is unusable

    XMLWordPrintable

Details

    Description

      The RTE is still badly broken when it comes to operating on content inside nested block macros with Safari. In these scenarios, cut and paste produces bizarre and nearly-impossible-to-fix results. We have a lot of content inside section macros, and editing is really painful.

      As an example, install v1.7.0 of the Adaptavist Content Formatting macros. (Yes, they're marked as compatible with Conf 3.5.x, but the rendering of the macros in the plugin works fine--it's the editor that is broken! It also breaks using, for example, the

      {info}

      macro.)

      In the editor, create a new page and then

      • type "{section"
      • click the "Section" macro
      • type "{column"
      • click the "Column" macro
      • type "This is a test."

      At this point, the screen should look as shown in step1.png.

      • use your mouse to select the recently-entered text "is"
      • press command-X to cut
      • press command-V to paste

      The system then duplicates the entire set of section and column macros, as shown in step2.png.

      The end result is that it's practically impossible to move any content around inside a block macro. The only workaround I've found is to cut the text out of Confluence, paste it into an external app (like TextEdit), and then hit command-C in the external app (which seems to remove any embedded markup) and then paste it back into the editor...it works, but it's a big time sink.

      Tested using Safari 5.1.2 on OS X 10.7.2.

      Attachments

        1. step1.png
          step1.png
          30 kB
        2. step2.png
          step2.png
          33 kB

        Issue Links

          Activity

            People

              shaffenden Steve Haffenden (Inactive)
              7c60ab039b09 Scott Dudley [Inactive]
              Votes:
              6 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: