Telerik RadEditor 控件在内联编辑模式下被禁用
我在 RadEditor 的 EditorToolGroup 下有一些自定义下拉菜单。我想在内联 html 编辑模式下启用下拉菜单。怎么做呢?
<telerik:RadEditor Skin="Metro" ID="HTMLEditor"
OnClientLoad="OnClientLoad"
OnClientSelectionChange="OnClientSelectionChange"
OnClientCommandExecuting="OnClientCommandExecutingHTML"
NewLineMode="Br"
EditModes="Design,Html"
ContentAreaMode="Iframe"
OnClientModeChange="OnClientModeChange"
Height="680px" Width="100%"
runat="server" EnableResize="false" ExternalDialogsPath="~/EditorDialogs"
ContentFilters="IECleanAnchors,FixEnclosingP,FixUlBoldItalic,MottEmStrong,RemoveScripts,ConvertToXhtml,ConvertInlineStylesToAttributes"
DialogsCssFile="~/styles/Editor_LinkManagerMetro.css">
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="SaveDesign" Text="Save" />
<telerik:EditorTool Name="SaveAs" Text="Save As My Template" ShowText="false" ShowIcon="true" />
<telerik:EditorTool Name="Undo" ShowIcon="true" />
<telerik:EditorTool Name="Redo" ShowIcon="true" />
<telerik:EditorSeparator Visible="true" />
<telerik:EditorDropDown Name="EnableThisDropdown" Width="125px" Text="Select" RenderMode="Lightweight" />
I have some custom drop downs under EditorToolGroup in RadEditor. I wanted to enable a drop down when I am in inline html editing mode. How to do it?
<telerik:RadEditor Skin="Metro" ID="HTMLEditor"
OnClientLoad="OnClientLoad"
OnClientSelectionChange="OnClientSelectionChange"
OnClientCommandExecuting="OnClientCommandExecutingHTML"
NewLineMode="Br"
EditModes="Design,Html"
ContentAreaMode="Iframe"
OnClientModeChange="OnClientModeChange"
Height="680px" Width="100%"
runat="server" EnableResize="false" ExternalDialogsPath="~/EditorDialogs"
ContentFilters="IECleanAnchors,FixEnclosingP,FixUlBoldItalic,MottEmStrong,RemoveScripts,ConvertToXhtml,ConvertInlineStylesToAttributes"
DialogsCssFile="~/styles/Editor_LinkManagerMetro.css">
<Tools>
<telerik:EditorToolGroup>
<telerik:EditorTool Name="SaveDesign" Text="Save" />
<telerik:EditorTool Name="SaveAs" Text="Save As My Template" ShowText="false" ShowIcon="true" />
<telerik:EditorTool Name="Undo" ShowIcon="true" />
<telerik:EditorTool Name="Redo" ShowIcon="true" />
<telerik:EditorSeparator Visible="true" />
<telerik:EditorDropDown Name="EnableThisDropdown" Width="125px" Text="Select" RenderMode="Lightweight" />
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论