Shuang Liu
Posts: 0
Joined: Wed Jun 26, 2013 2:31 pm

Cannot reset css/html source

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Cannot reset css/html source

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?

Shuang Liu
Posts: 0
Joined: Wed Jun 26, 2013 2:31 pm

Cannot reset css/html source

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Cannot reset css/html source

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

Shuang Liu
Posts: 0
Joined: Wed Jun 26, 2013 2:31 pm

Cannot reset css/html source

yes

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Cannot reset css/html source

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Cannot reset css/html source

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

Brian6028327
Posts: 0
Joined: Tue Jul 09, 2013 1:21 pm

Cannot reset css/html source

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

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Cannot reset css/html source

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...

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Cannot reset css/html source

Delete the highlighted, click Undo.
Image

Return to “Issues”