Mercurial Hosting > sceditor
diff src/sceditor.js @ 25:80bf0adc9efd
remove format oo
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 09 Aug 2022 23:15:58 -0600 |
parents | 80a86fb8f2b7 |
children | 8165b83907af |
line wrap: on
line diff
--- a/src/sceditor.js Tue Aug 09 22:49:59 2022 -0600 +++ b/src/sceditor.js Tue Aug 09 23:15:58 2022 -0600 @@ -4494,7 +4494,7 @@ original.required = false; var FormatCtor = _formats[options.format]; - format = FormatCtor ? new FormatCtor() : {}; + format = FormatCtor ? FormatCtor() : {}; /* * Plugins should be initialized before the formatters since * they may wish to add or change formatting handlers and