comparison 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
comparison
equal deleted inserted replaced
13:8d32537e0ca7 14:0cb206904499
1264 * @since v2.0.0 1264 * @since v2.0.0
1265 */ 1265 */
1266 xhtmlFormat.allowedEmptyTags = []; 1266 xhtmlFormat.allowedEmptyTags = [];
1267 1267
1268 sceditor.formats.xhtml = xhtmlFormat; 1268 sceditor.formats.xhtml = xhtmlFormat;
1269 sceditor.defaultOptions.format = 'xhtml';
1269 }(sceditor)); 1270 }(sceditor));