tinymce.full.js
function restoreFocusOnKeyDown() {
        if (!editor.inline) {
          editor.on('keydown', function () {
            if (document.activeElement == document.body) {
              editor.getWin().focus();
            }
          });
        }
      }
function restoreFocusOnKeyDown() {
        if (!editor.inline) {
          editor.on('keydown', function () {
            if (document.activeElement == document.body) {
              editor.getWin().focus();
            }
          });
        }
      }
function restoreFocusOnKeyDown ( ) { if ( ! editor . inline ) { editor . on ( 'keydown' , function ( ) { if ( document . activeElement == document . body ) { editor . getWin ( ) . focus ( ) ; } } ) ; } }
iOS has a bug where it's impossible to type if the document has a touchstart event
bound and the user touches the document while having the on screen keyboard visible.

The touch event moves the focus to the parent document while having the caret inside the iframe
this fix moves the focus back into the iframe document.
iOS has a bug where it s impossible to type if the document has a touchstart event bound and the user touches the document while having the on screen keyboard visible .