annotate src/changes.txt @ 37:0c4e4b5ef40d

remove fragmentToHtml
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 17 Aug 2022 12:00:57 -0600
parents cd02cd04bc9d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
2366f2960d2e add serve.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
1 changes, most recent at top
2366f2960d2e add serve.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2
2
c7c738ddbbf8 remove minified
Franklin Schmidt <fschmidt@gmail.com>
parents: 1
diff changeset
3
35
cd02cd04bc9d fix [img]
Franklin Schmidt <fschmidt@gmail.com>
parents: 30
diff changeset
4 Removed complex parameterized tags: [tag value1=”xxx” value2=”yyy”]something[/tag] This is over-engineering and shouldn't be in BBCode.
cd02cd04bc9d fix [img]
Franklin Schmidt <fschmidt@gmail.com>
parents: 30
diff changeset
5
30
db061869f28f remove sceditor.command, add options.onCreate
Franklin Schmidt <fschmidt@gmail.com>
parents: 22
diff changeset
6 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 .
db061869f28f remove sceditor.command, add options.onCreate
Franklin Schmidt <fschmidt@gmail.com>
parents: 22
diff changeset
7
22
499f38b5eeff remove DOMPurify
Franklin Schmidt <fschmidt@gmail.com>
parents: 16
diff changeset
8 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.
499f38b5eeff remove DOMPurify
Franklin Schmidt <fschmidt@gmail.com>
parents: 16
diff changeset
9
16
8bd52902156a remove "this" from command functions
Franklin Schmidt <fschmidt@gmail.com>
parents: 15
diff changeset
10 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.
8bd52902156a remove "this" from command functions
Franklin Schmidt <fschmidt@gmail.com>
parents: 15
diff changeset
11
15
ea930990b601 Add optional "icon" to command spec
Franklin Schmidt <fschmidt@gmail.com>
parents: 14
diff changeset
12 Add optional "icon" to command spec.
ea930990b601 Add optional "icon" to command spec
Franklin Schmidt <fschmidt@gmail.com>
parents: 14
diff changeset
13
14
0cb206904499 formats set default format
Franklin Schmidt <fschmidt@gmail.com>
parents: 12
diff changeset
14 Formats set default format so the "format" option isn't needed.
0cb206904499 formats set default format
Franklin Schmidt <fschmidt@gmail.com>
parents: 12
diff changeset
15
12
933a459aa182 allow selector for textarea
Franklin Schmidt <fschmidt@gmail.com>
parents: 10
diff changeset
16 Allow selector for textarea.
933a459aa182 allow selector for textarea
Franklin Schmidt <fschmidt@gmail.com>
parents: 10
diff changeset
17
10
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
18 CSS cleanup. Avoiding CSS includes is wrong for the same reason that minification is wrong.
2606bfb75529 CSS cleanup
Franklin Schmidt <fschmidt@gmail.com>
parents: 9
diff changeset
19
9
9159df67520a remove "icons" option
Franklin Schmidt <fschmidt@gmail.com>
parents: 7
diff changeset
20 Changing icons required including a javascript file and setting the "icons" option. This is confusing so I got rid of the "icons" option. And I added icons/famfamfam.js as an option which is the default.
9159df67520a remove "icons" option
Franklin Schmidt <fschmidt@gmail.com>
parents: 7
diff changeset
21
7
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents: 6
diff changeset
22 Added examples/min.html and fixed defaults of 'style', 'width', and 'height'. 'width' defaults to 600 and 'height' defaults to 300. The dimensions of the textarea aren't used. This guarantees a reasonable default.
df1e18048d97 add examples/min.html and better defaults
Franklin Schmidt <fschmidt@gmail.com>
parents: 6
diff changeset
23
6
c26f7240e96b fix emoticonsRoot
Franklin Schmidt <fschmidt@gmail.com>
parents: 4
diff changeset
24 fix emoticonsRoot
c26f7240e96b fix emoticonsRoot
Franklin Schmidt <fschmidt@gmail.com>
parents: 4
diff changeset
25
4
b7725dab7482 move /development/* to /
Franklin Schmidt <fschmidt@gmail.com>
parents: 3
diff changeset
26 Move /development/* to /
b7725dab7482 move /development/* to /
Franklin Schmidt <fschmidt@gmail.com>
parents: 3
diff changeset
27
3
ec68006a495e remove jquery
Franklin Schmidt <fschmidt@gmail.com>
parents: 2
diff changeset
28 Remove jQuery, another modern nightmare.
ec68006a495e remove jquery
Franklin Schmidt <fschmidt@gmail.com>
parents: 2
diff changeset
29
2
c7c738ddbbf8 remove minified
Franklin Schmidt <fschmidt@gmail.com>
parents: 1
diff changeset
30 Remove minified. Donald Knuth said "The real problem is that programmers have spent far too much time worrying about efficiency in the wrong places and at the wrong times; premature optimization is the root of all evil (or at least most of it) in programming." This certainly applies to minification of static files that are cached in the browser anyway. Not only is this pointless but it makes debugging more difficult and forces a build process. But of course modern scum programmers love this because they love pointless complexity.
c7c738ddbbf8 remove minified
Franklin Schmidt <fschmidt@gmail.com>
parents: 1
diff changeset
31
1
2366f2960d2e add serve.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
32 Add changes.txt
2366f2960d2e add serve.sh
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
33 Add serve.sh