I want to be able to hide certain bodycopy fields from being editable in the Easy Edit Suite interface that we are using (have not upgraded yet).
The reason for this is because we have some framework HTML that I have setup in the bodycopies that is modularized so that only one bodycopy area is as a WYSIWYG field that will be used for editors to go in and change.
When using the /_edit interface, I want to abstract the other "bodycopyContainerCell" so they cannot access them and only get access to the WYSIWYG editable field.
Currently I am doing this with CSS that is applied to only EES interface, like so:
[data-containerid="284114"] { display:none!important; } [data-containerid="284983"] { display:none!important; } [data-containerid="288081"] { display:none!important; } [data-containerid="284404"] { display:none!important; }
but there is obviously issues with this approach as it's going to involve a helluva lot of css code and everytime a new page is created the css will need to have more lines added to it.
I'm looking for a way I can 'tag' the editable fields when they are created so only the Easy Edit interface picks up on them. Is there a way to do that? (i.e. adding an extra class to <td class="bodycopyContainerCell"></td>?