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

After creating link in editor the backspace removes paragraph text after the cursor in editor 4.0.3

    XMLWordPrintable

Details

    Description

      Pressing the backspace key immediately after inserting a link causes undesirable behaviour.

      Chrome 13 and 14:
      After selecting some text (double-click a word), then adding a link with insert link, pressing backspace to remove the trailing link underscore actually causes all text after the cursor (up to the end of the paragraph) to disappear.

      Firefox 6 and 7:
      After selecting some text (double-click a word), then adding a link with insert link, pressing backspace to remove the trailing link underscore actually causes the cursor to move to the end of the paragraph.

      Internet Explorer 8:
      After selecting some text (double-click a word), then adding a link with insert link, pressing backspace to remove the trailing link underscore actually does nothing until you click it again and then it removes the entire link underline.

      I often select entire words by double clicking them. This highlights the entire word (and, unfortunately the space following the word). Inserting a link into the selection causes the trailing space to also have a link underline. I found that when I press backspace to remove the underscore that the remaining paragraph to the right of the cursor disappears (Chome 14).

      Reproduce:

      1. Edit a page in Chrome 13 or 14
      2. Select a word in the middle of a plain text paragraph by double-clicking the word
      3. Select Insert->Link and choose another page in confluence, click Insert
        • Note that an extra space following the word is underlined
      4. Press backspace to remove the space
        • Note that the paragraph following the cursor has vanished
      1. Edit a page in Firefox 6 or 7
      2. Select a word in the middle of a plain text paragraph by double-clicking the word
      3. Select Insert->Link and choose another page in confluence, click Insert
        • Note that an extra space following the word is underlined
      4. Press backspace to remove the space
        • Note that the cursor has jumped to the end of the paragraph and backspaced the last character in the paragraph.
      1. Edit a page in Internet Explorer 8
      2. Select a word in the middle of a plain text paragraph by double-clicking the word
      3. Select Insert->Link and choose another page in confluence, click Insert
        • Note that an extra space following the word is underlined
      4. Press backspace to remove the space
        • Note that the cursor doesn't move
      5. Press backspace again
        • Note that the entire link underline is removed
      6. Press backspace again
        • Note the space is removed

      Attachments

        Activity

          People

            Unassigned Unassigned
            cschedler Carlos Alberto Feijo Schedler [Atlassian]
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: