Not sure if your talking about the blue border around properties or the tinymce editor.
If it's the first one you should be able to use the @Html.DisplayFor instead of @Html.PropertyFor method if you do not wish to get the blue border for a specific prop.
If it's the later you could change what buttions to show by going to admin - config tab - Edit Property Types - scroll down to XHTML string (>255) and then drag and drop what options to use.
Do you want to disable DOPE (direct on page edit) functionality?
Intead of using
@Html.PropertyFor(x => x.CurrentPage.SomeProperty)
you can use
@Html.DisplayFor(x => x.CurrentPage.SomeProperty)
edit: Wrote at the same time as Petter, sorry :)
Hi guys, thanks for the quick response.
I'm after the ability to remove the blue border around a specific prop, that's right. Sorry about the confusion!
Unfortunatly, we're using Web Forms, not MVC. Is there a way of achieving this using web forms?
If you can control this on the model class it's just to add the ScaffoldColumn attribute to your property:
[ScaffoldColumn(false)]
public string Whatever { get; set; }
There is actually a bug fix that's been done recently that still creates an overlay (the blue border) even though the property has been marked as non-editable but this should be released within a week or two.
Since we've updated our site to 7.1.4, the [ScaffoldColumn(false)] has stopped working?
Is this a known issue?
Thanks in advance!
Hi all,
I've been looking into ways of removing a specific blue, clickable box from the visual editor on a standard page and can't seem to find a way of doing using any method.
Does anyone have any ideas if this is possible?
Thanks in advance!