https://bugzilla.wikimedia.org/show_bug.cgi?id=52410

       Web browser: ---
            Bug ID: 52410
           Summary: VisualEditor: Undoing a larger cut restores selection
                    incorrectly
           Product: VisualEditor
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: ContentEditable
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

- Chrome 30 (canary)
-
https://en.wikipedia.org/w/index.php?title=Narayana_Gosain_Temple&oldid=565414421&veaction=edit


When selecting the following:

> <selected>
> h2.Transport
> p.It is situated within 20km from NH5 running between Chennai and Howrah. 
> Nearest railhead is Jajpur Keonjhar Road or Byasanagar.
> h2.References
> references.
> \n
> </selected>
> \n
> h2.External links

.. and cutting it, and then ctrl-Z. It restores both content and selection
properly 



When selecting the following:

> 
> h2.Transport
> p.It is situated within 20km from <selected>NH5 running between Chennai and 
> Howrah. Nearest railhead is Jajpur Keonjhar Road or Byasanagar.
> h2.References
> references.
> \n
> \n
> h2.External</selected> links

.. and cutting it and then ctrl-Z. It restores the content properly, but the
selection is restored only within the first paragraph:

> 
> h2.Transport
> p.It is situated within 20km from <selected>NH5 running between Chennai and 
> Howrah. Nearest railhead is Jajpur Keonjhar Road or Byasanagar.</selected>
> h2.References
> references.
> \n
> \n
> h2.External links

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to