Design View When opening file without extension

So… I’m super excited, having just got my Black Friday Wappler today…

… I go out shopping for a few hours, come home…

… and now my Design View has vapourised!

All I have is code… which was nicely coloured for a while, and has now just gone white…

How do I get my nice Design View back?

1 Like

Well, your file has no extension :slight_smile:
You must save it as .html or .php

Thank you @Teodor, that was the solution.

But I’m confused as to how that came about… I had just created it within Wappler, and then saved it within Wappler a few times… and it was a .html during that time with a nice design view. Is it possible that Wappler somehow managed to drop the extension, or I did something in Wappler to do that by accident? :thinking:
I didn’t do anything to the file to remove the extension in Windows Explorer…

Maybe you just choose save as and type the name only.

But I agree we should give a warning about that.

Yes, I am just playing with it… so you create an empty html file, then do save as, and it does not default to .html or even give you the option to choose that… so not knowing the need to call it “test1.html” you just type “test1”. The Design view stays there though… until you close and re-open, and then you are just left with some white code!

For it to automatically save to .html in that scenario would be much more helpful to newbies like me! :slight_smile:

1 Like

Oh, and @George, I’ve changed the title back to what it was, as this is what people will seach for before they know their extension is missing! :slight_smile:

1 Like