Make WordPress Core

Opened 15 years ago

Closed 14 years ago

Last modified 14 years ago

#18514 closed defect (bug) (wontfix)

WPautoP via AJAX

Reported by: WraithKenny Owned by: WraithKenny
Priority: normal Milestone:
Component: Editor Version: 3.2
Severity: normal Keywords:
Cc: Focuses:

Description

Investing doing wpautop as an ajax request (see ​http://core.trac.wordpress.org/ticket/17144#comment:9 ).

At the cost of slower tab switching, several bugs could be resolved (and end much complaining about "TinyMCE mangled my code" and "Disable autop" requests).

Patch and/or Proof-of-Concept plugin incoming.

Change History (9)

#1 @WraithKenny
15 years ago

  • Status new → accepted

related #17537 which was closed as "maybelater"

#3 @WraithKenny
15 years ago

Simple plugin available to test the concept:
​http://github.com/WraithKenny/ajax-autop

Tested #11947 an #17537 which are fixed by calling autop via ajax.

#4 @WraithKenny
15 years ago

The delay caused by the ajax is < 200ms for my tests (from firebug)

#5 @scribu
15 years ago

That's totally dependant on the network connection. The delay will naturally be lower when testing on localhost.

Trolling: If WordPress was written in Javascript (node.js), we wouldn't have this problem. :P

Last edited 15 years ago by scribu (previous) (diff)

#6 @nacin
15 years ago

  • Version 3.3 → 3.2

#7 @WraithKenny
14 years ago

I had forgotten about this ticket. I deleted the test plugin unfortunately.

Yeah, the test was definitely localhost; I didn't consider that it'd be considerably longer live (which it really would be significantly longer).

Nevertheless, Tab switching is generally considered to be a rare event and one that users shouldn't do very often at all, so the length of delay could be acceptable at much longer times I think.

I still think these many months later that this is a good idea... If there's any interest I'll rebuilt the testing plugin...

#8 @WraithKenny
14 years ago

  • Resolution → wontfix
  • Status accepted → closed

Not worth working on.

#9 @helenyhou
14 years ago

  • Milestone Awaiting Review
Note: See TracTickets for help on using tickets.