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

fixed bug for external file opened with wtp editor + html preview
is this change intentional ? dont we need to be able to edit ?