LearnAngular icon indicating copy to clipboard operation
LearnAngular copied to clipboard

Don't clear code when switching pages

Open tcosprojects opened this issue 11 years ago • 4 comments

On one of the lessons I started writing my solution and then wanted to go back and review one of the previous lessons. When I went back to my code it was all gone. It would be nice if this state wasn't cleared.

tcosprojects avatar May 18 '14 05:05 tcosprojects

I think that this would be a good feature to add. I'll have to take a look and try to figure out what the best way to implement this would be (I have an idea off the top of my head), but I definitely think that it could be a worthwhile feature to add to the site.

levibotelho avatar May 18 '14 07:05 levibotelho

The sample code in The first lesson like as a cut in my Phone of 5 inch

jheorge avatar Aug 02 '14 19:08 jheorge

Yes, that would be a good feature. Also, it would be great if links open in new tab instead of same window.

aggarwalankush avatar Apr 25 '15 07:04 aggarwalankush

Additionally, save the code in a cookie so upon return, all the user's previous entries are still in place.

erikeckhardt avatar Feb 25 '16 03:02 erikeckhardt