Applying different for format for edit mode and pre-edit mode

Hi App Builders,

is there a way to apply different style on a same table element, but depending on whether the user is in edit mode or not?

In our case we have following example that we could reproduce using custom_cell_highlighting, but it applies same format for edit and non-edit mode. We have specific rows that are for editing.