diff src/formats/xhtml.js @ 14:0cb206904499

formats set default format
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 07 Aug 2022 14:58:42 -0600
parents b7725dab7482
children a199722647d0
line wrap: on
line diff
--- a/src/formats/xhtml.js	Sun Aug 07 14:28:14 2022 -0600
+++ b/src/formats/xhtml.js	Sun Aug 07 14:58:42 2022 -0600
@@ -1266,4 +1266,5 @@
 	xhtmlFormat.allowedEmptyTags = [];
 
 	sceditor.formats.xhtml = xhtmlFormat;
+	sceditor.defaultOptions.format = 'xhtml';
 }(sceditor));