code: function (editor, clientX, clientY) {
        var bodyElm = Element.fromDom(editor.getBody());
        var targetElm = editor.inline ? bodyElm : Traverse.documentElement(bodyElm);
        var transposedPoint = transpose(editor.inline, targetElm, clientX, clientY);
  
        return isInsideElementContentArea(targetElm, transposedPoint.x, transposedPoint.y);
      }
docs: Checks if the specified coordinate is within the visual content area excluding the scrollbars