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

Clicking Source doesn't display the current paragraph from WYSIWYG

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 9.4
    • WYSIWYG Editor
    • None
    • Unknown
    • N/A
    • N/A

    Description

      Steps to reproduce:

      1. Edit Sandbox.WebHome in WYSIWYG -> http://localhost:8080/xwiki/bin/edit/Sandbox/WebHome
      2. Scroll down to the bottom of the page
      3. Click on the Source button
      4. Click again on Source to go back to WYSIWYG

      Expected result: When switching between Source and WYSIWYG I see the same paragraph (not always the first one).

      Actual result: Whenever I switch between Source and WYSIWYG the page is scrolled to the top.

      My use case is that I am working on a large page and I want to switch to Source to check or modify something in the Wiki editor.
      Scrolling the page to the top is counter productive.

      Attachments

        1. Screenshot_1.png
          47 kB
          Manuel Smeria
        2. Screenshot_2.png
          45 kB
          Manuel Smeria
        3. Screenshot_3.png
          62 kB
          Manuel Smeria

        Issue Links

          Activity

            People

              surli Simon Urli
              msmeria Manuel Smeria
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: