tinymce.Env

This class contains various environment constants like browser versions etc. Normally you don't want to sniff specific browser versions but sometimes you have to when it's impossible to feature detect. So use this with care.

Properties

Property Defined By
android static
Constant that is true if the os is android
tinymce.Env
Constant that is true if the browser supports editing
tinymce.Env
Returns the IE document mode for non IE browsers this will fake IE 10
tinymce.Env
fileApi static
Constant that is true if the browser has a modern file api
tinymce.Env
gecko static
Constant that is true if the browser is Gecko
tinymce.Env
iOS static
Constant that is true if the os is iOS
tinymce.Env
ie static
Constant that is more than zero if the browser is IE
tinymce.Env
mac static
Constant that is true if the os is Mac OS
tinymce.Env
Returns true/false if the browser can or can't place the caret after a inline block like an image
tinymce.Env
opera static
Constant that is true if the browser is Opera
tinymce.Env
range static
Constant that is true if the browser supports native DOM Ranges
tinymce.Env
Transparent image data url
tinymce.Env
webKit static
Constant that is true if the browser is WebKit (Safari/Chrome)
tinymce.Env