I found that there's a plugin for that:
https://www.mobileread.com/forums/sh...d.php?t=332317
I find this function quite essential, so it would be great if it was integrated into Sigil directly. I remember that Calibre has such a function, but I switched to Sigil due to its ability to use a WYSIWYG editor.