Cmd+Scroll
.editorCallback
or editorCheckCallback
in a command that will register your command as an editor command, which will allow it to be added to the editor toolbar on mobile.Adapter
now has a stat
function.Platform
object that can be used to determine whether the app is on mobile, along with some other platform information.