Made chanes to table style , Added logic to redirect the pages to editpa and publishpa.html after publishing the article

Also fixed the saving the modified text into the div