Prevent client/editor from editing specific elements

Is there a way I can restrict editing on specific fields for someone with an Editor role. A good example: I have an artworked large text element which is a Basic Text field. If they edit that title the design breaks. I don’t want to disable editing of all Basic Text fields on the site, just that specific one.

I also have Advanced Themer, but I don’t see a way to have level of granular control (only hiding the controls). That was one of the main reasons I bought it, so I’m a little annoyed as it seemed that would do the job, unless I’m missing something obvious…

Anyway, is there any way to achieve that ability to target a specific field and remove its on-page editor? Feels like there should be. Maybe an action I can hook in to? I’m coming up blank so far.

Thanks in advance!

Ben

Make sure to watch this video from 50:14: https://youtu.be/AyF1NL63WT8?si=KgWRWK2r4VJKpjcy it explains how to hide specific controls to your editors.

Hi Maxime. Thank you for the response. Sorry for the delay coming back to you; I ended up postponing this part of my build in order to get the site live.

I’ve now had a chance to look a bit deeper at this and understand the problem.

Although I hadn’t seen that video before, I believe I was using it the way you had intended; that wasn’t the problem.

The issue arises with the ability to edit text in the central canvas view, which it appears can’t be made editable on an individual basis.

To recreate the problem:

  1. make a new blank page, create two Basic Text fields and in the Strict Editor Settings for each element, make the first editable and second not
  2. In AT - Theme Settings, set Strict Editor View > Elements > Basic Text to enabled
  3. Now log in as an Editor view and try selecting each on the canvas; both will be editable
  4. Repeat step 2; but disable Basic Text. Log in as Editor again, and neither can be selected on the canvas, but if you dig around for them in the structure panel – not ideal from a client’s perspective – the text can be changed in the properties panel correctly (ie first will be editable and the second won’t).

So this is the problem. I want the client to be able to click on a piece of text on the canvas and for it to either be editable or not depending on the individual option I’ve set in the element’s Strict Editor Settings on the page. At present it appears that this is an all-or-nothing setting per element.

Is this the correct behaviour? Have I done something wrong? Or have a found a bug or workflow issue that needs correcting?

Thanks in advance!

Ben

Is it possible to block the editing on text element with dynamic data

1 Like