JBIDE-17818 Visual Editor: Need to handle external html / htm files

@maxandersen @dgolovin @fbricon @alexeykazakov - I need +1 to push it into X branch
My fault, will fix