Page 1 of 2

Cannot reset css/html source

Posted: Fri Jun 28, 2013 3:37 pm
by Shuang Liu

Hi max,

I have sent several emails to you, but I think it is also good to post the problem here.

Here is the problem for me:
After changing something in the souce code CSS/html, it stop updating CSS with new changes from the UI builder, including front size, align, visible...

The detail would be:
I just changed one line(to change the front size bigger then 60) in CSS of my page in the source, then the css file turn to the blue color.
Then I found, no matter how I change the builder, the css file will not update by itself, I have to do everything by coding. The most important thing is that ‘undo all source changes’ is not working.

I test it with enable/disable ‘rander all pages in one html file’, the problem is not solved.

So a simple version of this question would be:
how to make all source file back to default, the ‘undo all source changes’ does’t work right now.


Cannot reset css/html source

Posted: Fri Jun 28, 2013 5:17 pm
by maxkatz

When you switch to source editing, the changes you make are not yet reflected in the visual builder (as mentioned here).

As for "Undo all source changes" -- that should be working. Can you show me the exact steps to reproduce the problem?


Cannot reset css/html source

Posted: Fri Jun 28, 2013 5:29 pm
by Shuang Liu

Hi Max,

I know the changes will not reflect in the builder, what I mean is that the changes I made in the builder not reflect in the css.(again, the css not update anymore, not the builder)

my exact steps is very simple, I just changed some lines in the css and press save.
then everything just stop updating. when I press the 'undo..', it shows some process in doing that, but nothing changes at last.


Cannot reset css/html source

Posted: Fri Jun 28, 2013 5:38 pm
by maxkatz

When you clicked "Undo all source change", the file stays blue and the changes you made are still there?


Cannot reset css/html source

Posted: Fri Jun 28, 2013 6:24 pm
by Shuang Liu

yes


Cannot reset css/html source

Posted: Fri Jun 28, 2013 7:54 pm
by maxkatz

I can now reproduce it. We'll get it fixed.


Cannot reset css/html source

Posted: Fri Jun 28, 2013 11:47 pm
by maxkatz

Here is workaround. To roll back source changes, delete the file in which you made the changes. Then run "Undo all source changes".


Cannot reset css/html source

Posted: Mon Sep 16, 2013 1:44 pm
by Brian6028327

Hi, I see this topic is a little old, but I'm having the same issue. For example, the border around a grid is showing in design mode, but not when testing. In fact, if I add new elements to the screen, they are not added to the CSS at all. Was a solution ever worked out?
-thanks


Cannot reset css/html source

Posted: Mon Sep 16, 2013 1:54 pm
by Kateryna Grynko

Hi Brian,

As Max advised above, to revert your changes, you should first delete the file, and then click "Undo all source changes".
http://docs.appery.io/tutorials/sourc...


Cannot reset css/html source

Posted: Mon Sep 16, 2013 1:58 pm
by Kateryna Grynko

Delete the highlighted, click Undo.
Image