 core/modules/editor/js/editor.js | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/core/modules/editor/js/editor.js b/core/modules/editor/js/editor.js
index fba4cc9..eab310f 100644
--- a/core/modules/editor/js/editor.js
+++ b/core/modules/editor/js/editor.js
@@ -69,6 +69,13 @@
       return;
     }
 
+    // If there is no content yet, it's always safe to change the text format.
+    var field = findFieldForFormatSelector($select);
+    if (field.value === '') {
+      changeTextEditor($select, activeFormatID, newFormatID);
+      return;
+    }
+
     // When changing to a text format that has a text editor associated
     // with it that supports content filtering, then first ask for
     // confirmation, because switching text formats might cause certain
