Mercurial Hosting > sceditor
comparison 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 |
comparison
equal
deleted
inserted
replaced
24:80a86fb8f2b7 | 25:80bf0adc9efd |
---|---|
4492 | 4492 |
4493 isRequired = original.required; | 4493 isRequired = original.required; |
4494 original.required = false; | 4494 original.required = false; |
4495 | 4495 |
4496 var FormatCtor = _formats[options.format]; | 4496 var FormatCtor = _formats[options.format]; |
4497 format = FormatCtor ? new FormatCtor() : {}; | 4497 format = FormatCtor ? FormatCtor() : {}; |
4498 /* | 4498 /* |
4499 * Plugins should be initialized before the formatters since | 4499 * Plugins should be initialized before the formatters since |
4500 * they may wish to add or change formatting handlers and | 4500 * they may wish to add or change formatting handlers and |
4501 * since the bbcode format caches its handlers, | 4501 * since the bbcode format caches its handlers, |
4502 * such changes must be done first. | 4502 * such changes must be done first. |