This is a migrated thread and some comments may be shown as answers.

Remove/Hide the "Remove Element" in the Node inspctor

3 Answers 169 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Hariharan
Top achievements
Rank 1
Hariharan asked on 15 Nov 2011, 08:01 AM
Hi telerik team,

Is any possible to Remove/Hide the "Remove Element" in the Node inspector.

For E.g

div>ul>li>Remove ELement

Instead of we need only

div>ul>li

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 15 Nov 2011, 08:59 AM
Hello,

You can try the following CSS.

CSS:
.reModule_domlink
{
    display:none !important;
}

Thanks,
Princy.
0
Hariharan
Top achievements
Rank 1
answered on 15 Nov 2011, 09:11 AM
Hi Princy,

Thanks for your suggesstions.

But when i apply the styles all the link under the class were display none.except the .reModule_domlink_selected.

Is anoy other possible to change the last element styles in a div ?

Other wise any other way to do?
0
Rumen
Telerik team
answered on 15 Nov 2011, 11:33 AM
Hello Hariharan,

You can hide the removeElement link using the following code:

<telerik:RadEditor ID="RadEditor1" runat="server"></telerik:RadEditor>
<script type="text/javascript">
    Telerik.Web.UI.Editor.Modules.RadEditorDomInspector.prototype._createRemoveLink = function () {}
</script>


Best wishes,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
Editor
Asked by
Hariharan
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Hariharan
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or