Mercurial Hosting > sceditor
comparison src/changes.txt @ 22:499f38b5eeff
remove DOMPurify
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 08 Aug 2022 23:41:05 -0600 |
parents | 8bd52902156a |
children | db061869f28f |
comparison
equal
deleted
inserted
replaced
21:2edd68951454 | 22:499f38b5eeff |
---|---|
1 changes, most recent at top | 1 changes, most recent at top |
2 | 2 |
3 | |
4 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. | |
3 | 5 |
4 Removed "this" from command functions and instead pass "editor" as first arg. Javascript's object-oriented features are a disgusting hack and should never be used. I will remove uses of this as I encounter them. | 6 Removed "this" from command functions and instead pass "editor" as first arg. Javascript's object-oriented features are a disgusting hack and should never be used. I will remove uses of this as I encounter them. |
5 | 7 |
6 Add optional "icon" to command spec. | 8 Add optional "icon" to command spec. |
7 | 9 |