Completed
Last Updated: 16 Dec 2024 14:03 by ADMIN
ADMIN
Marin Bratanov
Created on: 16 May 2017 11:15
Category: Editor
Type: Bug Report
1
RadEditor in RadWindow ContentTemplate throws error under Safari (TypeError: 'undefined' is not an object (evaluating 'k.defaultView'))
Workaround is to add the following function override at the end of the page (a sample is attached below)
				Telerik.Web.UI.Editor.Utils.isWindowDestroyed = function (window) {
					var doc;
					try{
						doc = window.document;
					} catch (e) {
						return true;
					}
					if(Telerik.Web.Browser.safari && !doc){
						return true;
					}
					return !doc.defaultView && !doc.parentWindow;
				}
Attached Files:
1 comment
ADMIN
Rumen
Posted on: 16 Dec 2024 14:03
You can switch the RadEditor ContentAreaMode to DIV or use the JS solution override provided by Marin.