I think it's easy to forget that authors had to bear in mind attitudes of the time, if they wanted to be published - and be paid for it!
Re the clergyman - St John Rivers - in Jane Eyre, who wanted to cart Jane off to India as a missionary's wife , and told her it was her duty, she shouldn't expect love, etc. - I swear CB thought he was a fanatic that no sane woman should ever hook up with, but given general religious feeling at the time, esp. that making Christians out of 'heathens' could only be a Good Thing - she had to imply it very subtly, which IMO she did very cleverly.
As it was, there were strong criticisms at the time, to the effect that it was very wrong of JE to have sought to move out of the sphere of life in which it had pleased God to place her! Though having said that, there were a lot of enthusiastic comments, too. And of course she had to make Mr Rochester suffer horribly before his happy ending - given popular morality at the time, , heaven forbid that he should get away with having tried to commit bigamy.
OTOH Jane Austen was able to ridicule the clergy, but she was able to do it with a very light and humorous touch, in altogether lighter novels.
The first publication of Thomas Hardy's Far From The Madding Crowd was as a serial in a monthly magazine, IIRC edited by Virginia Woolf's father. Hardy was obliged to rewrite or remove certain sections, or tone them right down, for fear of shocking or wrongly influencing the nice young M or UC class ladies who might read it. (The mag was probably too expensive for the likes of servants anyway).
When it was later published in book form, he was able to add the 'shocking' elements, e.g. Bathsheba opening the coffin to find the unmarried mother and her baby. It was reasoned that anyone who could afford to buy novels, which were very expensive at the time, could be trusted not to have a fit of the vapours or descend at once into immorality.
As a pp said, autre temps...