[wp-trac] [WordPress Trac] #27174: Deprecated JS method warnings in tinymce editor

WordPress Trac noreply at wordpress.org
Fri Feb 21 18:10:25 UTC 2014


#27174: Deprecated JS method warnings in tinymce editor
--------------------------+-----------------------------
 Reporter:  Marventus     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  TinyMCE       |    Version:  3.8.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hello, guys. I wanted to bring everyone's attention to the fact there
 seems to be several deprecated methods being used in the editor. This is
 not a problem ''per se'', since everything works fo rnow, but it become
 one in the future if deprecated method calls are not updated.
 [[BR]]

 '''While editing existing posts:'''[[BR]]

 event.returnValue is deprecated. Please use the standard
 event.preventDefault() instead. load-scripts.php?c=0&load%5B%5D=jquery-
 core,jquery-migrate,utils,plupload,plupload-html5,plupload-f…:4[[BR]]

 body.scrollLeft is deprecated in strict mode. Please use
 'documentElement.scrollLeft' if in strict mode and 'body.scrollLeft' only
 if in quirks mode. tiny_mce.js?ver=359-20131026:1
 [[BR]]
 body.scrollTop is deprecated in strict mode. Please use
 'documentElement.scrollTop' if in strict mode and 'body.scrollTop' only if
 in quirks mode.
 [[BR]]

 '''While creating new posts:'''
 [[BR]]
 event.returnValue is deprecated. Please use the standard
 event.preventDefault() instead. load-scripts.php?c=0&load%5B%5D=jquery-
 core,jquery-migrate,utils,plupload,plupload-html5,plupload-f…:4
 [[BR]]
 'KeyboardEvent.keyLocation' is deprecated. Please use
 'KeyboardEvent.location' instead.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27174>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list