I have seen many similar issues but none that are quite the same.
You should be able to do this because placing other blocks replaces the light, including if it is in your off hand. In the case where a block is in your off-hand and a shovel or hoe is in your main hand, it doesn't make sense for it to perform the off-hand action when the main hand action is possible.
While this seems most like a bug to me, I'm not entirely sure if this is a bug, intended functionality or something of a feature request, but due to some right-click actions which invalidate the placement of the light still functioning, why shouldn't using a shovel or hoe?
Linked issues
Comments 2
Thank you for your report!
We're tracking this issue in MC-222484, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
๐ Bug Tracker Guidelines โ ๐ฌ Community Support โ ๐ง Mojang Support
๐ Project Summary โ โ๏ธ Feedback and Suggestions โ ๐ Game Wiki
-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit
Ah, this is a duplicate ofย MC-222484. I searched with very different search terms because I was originally reporting this about a very specific instance of this bug.