[wp-trac] [WordPress Trac] #41962: Editor: Keep text selection between Visual and Text modes
WordPress Trac
noreply at wordpress.org
Tue Sep 26 13:30:02 UTC 2017
#41962: Editor: Keep text selection between Visual and Text modes
-------------------------------------+-------------------------
Reporter: biskobe | Owner: biskobe
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.9
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: javascript
-------------------------------------+-------------------------
Changes (by biskobe):
* keywords: => has-patch needs-testing
Comment:
Attached the patch for the change.
The code is ready for more general testing.
I have two bigger things left on my Todo list for it:
* Test if there will be any conflict between this patch and CodeMirror
for syntax highlighting
* Decide if the scrolling should be kept as is:
* Fast animated scroll for Visual mode
* Instant scroll for Text mode
There is a possibility of bugs arising from the code and how the selection
is tracked, but things should be pretty minor in terms of fixing them.
I'd love more eyes on this, so we can clear out hidden bugs.
cc @azaozz
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41962#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list