Handle situations where the user switches between content formats
Goal
When switching between Content Editor format and other formats (like Markdown, Rdoc) must caution the user about compatibility issues.
-
If the content of the page is empty, switching format should not caution/show a message to the user. -
If the page has some content, regardless of whether editing an existing page or creating a new page, switching between formats might not be the best thing to do, so we should show a warning to the user about incompatibility.
Edited by Himanshu Kapoor