Mercurial Hosting > sceditor
diff src/changes.txt @ 35:cd02cd04bc9d
fix [img]
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 15 Aug 2022 22:57:06 -0600 |
parents | db061869f28f |
children |
line wrap: on
line diff
--- a/src/changes.txt Mon Aug 15 21:35:44 2022 -0600 +++ b/src/changes.txt Mon Aug 15 22:57:06 2022 -0600 @@ -1,6 +1,8 @@ changes, most recent at top +Removed complex parameterized tags: [tag value1=”xxx” value2=”yyy”]something[/tag] This is over-engineering and shouldn't be in BBCode. + Removed sceditor.command with its get(), set(), and remove(). It is better to work with sceditor.commands directly. I also added an options.onCreate callback which lets one work with the final editor.commands . Remove DOMPurify. This was a huge amount of incomprehensible code that adds little value. XSS should basically be handled on the server side, and if one is using bbcode then it isn't an issue anyway.