How to Prevent Content Loss While Editing

added by mynetnuke
1/31/2010 4:18:29 AM


I write a lot of content using DotNetNuke and sometimes i accidentaly press on Backspace button on my keyboard while cursor focused at outside of HTML area. This causes losing content and it is a very bad moment when you have a lot of text inside this HTML area. I had to apply a workaround to prevent content loss when i press on Backspace button. First of all create a javascript file (e.g PreventReturn) under JS directory of your DotNetNuke installation.