Quick edit destroys CKEditor formatting... any way to avoid it?
If you want to switch between text formats and not have your code erased go to: 

/admin/config/content/ckeditor/edit/Advanced (for Filter HTML)

/admin/config/content/ckeditor/edit/Full (for Full HTML)

Then under Advanced Content Filter, select disabled.