Won't Fix
Last Updated: 11 Jul 2016 17:22 by ADMIN
Marin Bratanov
Created on: 17 Oct 2013 10:08
Category: Editor
Type: Bug Report
FIX The advanced mode textbox in the Insert External Video dialog is always readonly
The Advanced Mode (embed code) textbox in the Insert External Video dialog is always readonly and you cannot put the code in it.

In the meantime you can use the following workaround that will access the textbox and remove the readonly attribute:

	<telerik:RadEditor ID="RadEditor1" runat="server" OnClientCommandExecuted="OnClientCommandExecuted">
				<telerik:EditorTool Name="InsertExternalVideo" />
	<script type="text/javascript">
		function OnClientCommandExecuted(sender, args)
			if (args.get_commandName() == "InsertExternalVideo")
				var extVideoDialog = sender.get_dialogOpener()._dialogContainers["InsertExternalVideo"];

		function editTextbox(sender, args)
1 comment
Posted on: 11 Jul 2016 17:22
This textbox demonstrates the code that will be pasted in the editor content. It is deliberately made read-only, because there is no 2-way binding between its content and the rest of the UI elements in the dialog. Allowing editing will lead to changes between the video settings and the code, which may result it unexpected code added as content. That is why we have decided to leave the readonly attribute as is.