[wp-trac] [WordPress Trac] #37805: Enhancement: TinyMCE - Add ability to detect www links

WordPress Trac noreply at wordpress.org
Wed Aug 24 09:58:00 UTC 2016


#37805: Enhancement: TinyMCE - Add ability to detect www links
-------------------------------+--------------------------------
 Reporter:  lunacodes          |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  TinyMCE            |     Version:  4.6
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:  ui, accessibility
-------------------------------+--------------------------------

Comment (by lunacodes):

 Hi - thanks for the welcome, and sorry if my initial post was unclear.
 Essentially what I'm getting at is this:

 If I've already got a link inside of TinyMCE, say for example {{{
 http://www.url.com }}} and I select the text and hit {{{ Ctrl+k }}}, the
 input field that pops up will automatically fill in {{{
 http://www.url.com}}} and I can press Enter and move on with my life.

 If, instead I have {{{www.url.com}}} without the {{{http://}}} and I press
 {{{Ctrl+k}}}, then the input field won't fill in anything at all. My
 suggestion is that the result of pressing {{{Ctrl+k}}} should be the same
 for the {{{http://}}} url and the {{{www}}} url


 Example Use Cases:
 1. I am a developer who has c/p'd a block of text, from outside WordPress,
 that has multiple unprefixed www links
 2. I am a user who has typed an unprefixed www link out (because that is
 how I want it to appear on the rendered page)

 Reason for the suggestion:
 In both example cases above, I have to go through the extra step of
 pasting or retyping the {{{www.url.com}}} into the input field. In both
 cases this slows down my workflow. In example 1, it introduces more
 possibility for error (since I might space out and accidentally paste the
 previous link's address into the new one). In example two, it's a less
 friendly experience - if I'm a user with low tech literacy or poor
 memory/focus, its an extra unnecessary step that's probably going to throw
 me off or frustrate me (especially if WordPress is new and confusing to me
 in the first place).

 Since {{{http://url.com}}} and {{{www.url.com}}} are essentially
 equivalent, it makes sense for the {{{Ctrl+k}}} behavior to be equivalent
 too.

 Hope that helps clarify!

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37805#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list