Declined
Last Updated: 02 Oct 2015 15:10 by ADMIN
ADMIN
Ianko
Created on: 15 Apr 2014 07:27
Category: UI for ASP.NET AJAX
Type: Bug Report
0
Links in content are being opened in the iframe when only the Preview mode is set
The links in Preview mode should not be opened at all or at least opened automatically in a new window, so that user could preserve its content.

Possible resolution is to invoke the setTargetsForPreview method on the OnClientLoad event of the editor:

<telerik:RadEditor runat="server" ID="RadEditor1"
	 EditModes="Preview" OnClientLoad="OnClientLoad">
	<Content>
		<a href="http://www.telerik.com">Link</a>
	</Content>
</telerik:RadEditor>

<script type="text/javascript">
	function OnClientLoad(editor, args) {
		Telerik.Web.UI.Editor.Utils.setTargetsForPreview(editor);
	}
</script>
1 comment
ADMIN
Nikolay
Posted on: 02 Oct 2015 15:10
This behavior is expected