silexlabs / Silex

Silex live web creation, free/libre no-code website builder, next gen Webflow for the static web

Home Page:http://www.silex.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I found a bug: Incorrect File Linking

GetLikha opened this issue · comments

Salut, @lexoyo!

I successfully exported my file using ZIP, but then I encountered some errors when I opened the file.
image
This is how the page looked like, it's not styled. I looked further into it and I noticed something.
image
It isn't linked properly. Using /css/index.css links it to a folder called css in the root of the drive. Using css/index.css works just fine.
image
Then now I'm encountering a new problem, it isn't styled correctly.
image
That is how it's supposed to be styled.

Ok
Did you try to put it online somewhere ?
I am not sure it can be seen judt by clicking on it
What files are missing in the browser network console?

I haven't put it online yet, but it still shouldn't be that way shouldn't it?
And pardon me but, what do you mean by the browser network console? What info do I provide from there?

What was the url of your page when you opened it?

It should be something with localhost

Or maybe I should write relative paths in the html (./css/style.css)

Or maybe I should write relative paths in the html (./css/style.css)

Yeah just using relative paths is the recommended path, especially when there's different folders.

So relative path should work

Hello @GetLikha
This bug is fixed with this commit: silexlabs/editor.silex.me@b7af66b
Can you confirm it is fixed when you have a moment please?

Yep it works in v117!

Cool !