Exemple #1
0
        public override void LoadingFinished(UIWebView webView)
        {
            _richTextEditor.EditorLoaded = true;
            _richTextEditor.SetPlatformAsIos();
            if (string.IsNullOrEmpty(_richTextEditor.InternalHtml))
            {
                _richTextEditor.InternalHtml = "";
            }
            _richTextEditor.UpdateHtml();

            /*if (_richTextEditor.AutoFocusInput)*/
            _richTextEditor.Focus();
        }
        public override void OnPageFinished(WebView view, string url)
        {
            _richTextEditor.EditorLoaded = true;
            _richTextEditor.SetPlatformAsDroid();
            if (string.IsNullOrEmpty(_richTextEditor.InternalHtml))
            {
                _richTextEditor.InternalHtml = "";
            }
            _richTextEditor.UpdateHtml();

            if (_richTextEditor.AutoFocusInput)
            {
                _richTextEditor.Focus();
            }

            base.OnPageFinished(view, url);
        }