[wp-trac] [WordPress Trac] #27174: Deprecated JS method warnings in tinymce editor
WordPress Trac
noreply at wordpress.org
Tue Feb 25 21:37:55 UTC 2014
#27174: Deprecated JS method warnings in tinymce editor
--------------------------+-------------------------
Reporter: Marventus | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: TinyMCE | Version: 3.8.1
Severity: normal | Resolution: worksforme
Keywords: | Focuses:
--------------------------+-------------------------
Changes (by SergeyBiryukov):
* milestone: Awaiting Review =>
Old description:
> 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.
New description:
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
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
body.scrollTop is deprecated in strict mode. Please use
'documentElement.scrollTop' if in strict mode and 'body.scrollTop' only if
in quirks mode.
}}}
'''While creating new posts:'''
{{{
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
'KeyboardEvent.keyLocation' is deprecated. Please use
'KeyboardEvent.location' instead.
}}}
--
Comment:
Related: #24067
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27174#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list