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

fixed bug for external file opened with wtp editor + html preview
yes, we do not need to edit model.