Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-4100

Splitting a linked URL, create 2 links, but their text change when switching to Source

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 2.0 M1, 1.9.1
    • WYSIWYG Editor
    • None
    • Firefox 3 (not checked on other browser)
      HEAD of 1.9 branch

    Description

      Steps to reproduce:

      1) in a new document, in Source, type an URL (starting from a link created in WYSIWYG works differently)
      2) in Wysiwyg, put the cursor in the middle of the link (this also happened putting the cursor at the end, check that underline button is pushed)
      3) hit ENTER to split the link (or return than add some text if you were at the end)
      4) go to Source or save or preview

      Both parts of the link is show as complete URL (or the text added is replace by the URL). You now have to identical URL in place of two half one (or you have lost the text added).

      I feel personnaly that hitting ENTER should end the link and not create another one. I also wonder how to append text after a link without having that text part of the link (any kind of link).

      This lead me to another reproductible test, just change 3 by:

      3) type some text in the middle (or at the end) of the link

      All you typed is lost.

      Trying with links to created in WIYSIWIG or to WikiPage ([[...>>...]]) does not have the same behaviour.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              softec Denis Gervalle
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: