Make modal backdrop usable for inline edit

J
J
Vote:
 

Hello!

I am using the plugin Blockenhancements inline edit functionality and trying to make the background usable whilst the modal is open. This can be done via css and make the backdrop useable for all modals, however i only want it usable for a specific modal whilst inline editing a block. I know you can use an editor descriptor for a property to do this, can you do something similar for blocks aswell? Or is there another solution i should go by?

All the best

J

#236692
Dec 09, 2020 9:32
Ted
Vote:
 

Please vote for this issue on GitHub: Blocking overlay when using the "inline create" functionality · Issue #63 · episerver/EPiServer.Labs.BlockEnhancements (github.com)

You could also use dojo/aspect to add a CSS class in postMixInProperties (see form-dialog.jsto hide the overlay specifically for the editing dialog without affecting other dialogs.

Otherwise the simplest solution is to add display: none to the overlay element.

#245631
Dec 16, 2020 15:51
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.