WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#30106 closed feature request (invalid)

Text editor, highlighted words (by clicking on them): Select preceding instead of trailing space

Reported by: let me see... Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.0
Component: Editor Keywords:
Focuses: Cc:

Description

#If this is not an issue which can be solved by Wordpress, but only on browser level, please advise where to apply with this.#

When I edit my texts, I oft want to put words to another place in my sentence. To highlight them, I can double click on these words, and then, the word plus the trailing space will be selected for C&P or drag'n'drop.

However, that makes my work more tedious. Since oftenly after copying, the trailing space is not needed any more, while it is missing right before the word. Two examples with German punctuation rules applied:

Example 1: The grey dog was barking. -> The dog was barkinggrey . (After copying and moving "grey", and before any other change is made to the sentence. Exactly the wrong space was selected: The trailing one. Making two additional changes necessary.)

Example 2: The dog, which barked, was grey. -> Thegrey dog, which barked, was . (After copying "grey": foregoing space missing, making another manual space necessary between grey and dog, and removing it and the end of the sentence - again, two completely unnecessary steps of work.)

This costs me a lot of time, since I really juggle words. Therefore, I would like to suggest: When highlighting a word in the editors by clicking on it, the foregoing space (if available) should be selected, instead of the trailing one.

This will have no downside, since punctuation always follows words, and never comes before them (except in spanish). So always selecting the foregoing space is almost always the more intelligent choice.

Change History (1)

#1 @johnbillion
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

This behaviour is usually down to your OS. For example, this behaviour differs when you're using iOS, OS X, or Windows, and what key you press after double-clicking a word (eg. backspace or inserting a different character).

Out of scope for WordPress to deal with.

Note: See TracTickets for help on using tickets.