JBIDE-17886 Visual Editor: Links is not blocked when page content is fulfilled with javascript
JBIDE-18237 NPE when editing HTML page in VPE

while setting source editor documentListener was added. It is needed for visual/source tab but not needed for Preview tab