forked from samclarke/SCEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGELOG.txt
430 lines (405 loc) · 18.2 KB
/
CHANGELOG.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
Version 1.4.5:
Added command shortcuts to tooltips.
- Thanks to @brunoais
Added Portuguese translation.
- Thanks to @brunoais
Added list indent and outdent commands.
- Thanks to @brunoais
Added Ukrainian translation.
Thanks to @aqrln for translating
Fixed bug with BBCode source editor creating links with [img] tags selected.
- Thanks to @liamdawe for reporting.
Fixed issue with insert() and FF.
- Thanks to @martec for reporting.
Fixed in IE8 and below with XHTML font size attribute converstion.
Fixed typo in German translation.
- Thanks to Ulf for reporting.
Removed build.sh as grunt now does everything build.sh could.
Added Italian translation.
- Thanks to Tropico for translating.
Fixed bug when insert empty node.
- Thanks to @spuds for reporting.
Fixed FF bug with dropdowns not opening via shortcuts.
- Thanks to @echteinfachtv for reporting.
Improved inserting so only scrolls if the end of the inserted HTML isn't in view.
Added zh-TW translation.
- Thanks to @gan068 for translating.
Updated Polish translation.
- Thanks to @gnysek for updating.
Fix possible XSS if editing loading BBCode that someone else has written.
- Thanks to for Sergiu reporting.
Fixed default font size.
- Thanks to @jetand for fixing.
Added Japanese translation.
- Thanks to @PyYoshi for translating.
Fixed bug with XHTML plugin stripping iframes.
- Thanks to @tim-se for reporting.
Fixed bug with IE11 newline handling.
Version 1.4.4:
Fixed height auto expanding when resized.
- Thanks to @TimWardC3 for reporting
Fixed emoticons with greater than (>) not being converted.
- Thanks to @imansa for reporting.
Improved emoticonsCompat support so emoticons are converted to text if whitespace is removed.
- Thanks to @ostinelli for reporting
Fixed bug causing spaces to not be inserted when an emoticon is inserted in emoticonsCompat mode.
- Thanks to @ostinelli for reporting
Fixed bug with toolbar not being removed by destroy() when in a custom toolbarContainer.
- Thanks to @imansa for reporting.
Added currentBlockNode() method.
Improved multiline lists in source mode.
- Thanks to @liamdawe for reporting.
Improve theme compatibility.
Fixed issue with iOS not breaking long words.
- Thanks to Francesco for reporting.
Fixed bug with IE not releasing focus when autoUpdate is enabled.
- Thanks to @LeeMcNeil for reporting.
Improved IE range handling.
Fixed IE height bug where blur() method increased the editors height.
Fixed IE6/7 bug where there was a 2px height difference between WYSIWYG and source modes.
Fixed new line auto appending after code/quote blocks not working.
- Thanks to @Dr1ks for reporting.
Fixed issue with Opera adding blank lines.
- Thanks to @Dr1ks for reporting.
Improved unlink to remove links without selecing the whole link.
- Thanks to @liamdawe for reporting.
Fixed newline after [quote] being stripped.
- Thanks to @liamdawe for reporting.
Fixed IE bug loading initially loading shorthand colors.
- Thanks to @Olive140 for reporting.
Added bbcodeTrim option.
Fixed bug with stripWhiteSpace and saved ranges causing a space after the caret to be removed.
Added spellcheck option to disable the browsers built in spellchecker.
Added ability to remove block level elements by placing the cursor at the start of them and
pressing backspace.
Added Greek translation.
- Thanks to Nikos Aggelis for translating.
Improved insert and pasting to scroll to after the inserted/pasted content.
Fixed bug with emoticons sometimes getting converted in code blocks.
Added Hungarian translation
- Thanks to Ángyán László for translating.
Version 1.4.3:
Added css() method which allows getting/setting inline CSS for the WYSIWYG editor.
Added Simplified Chinese translation.
- Thanks to Yorgo for translating.
Fixed bug with insert() and setting filtering to false.
Added Travis-CI testing and improved tests
Fixed bug with emoticons preloading even if disabled.
- Thanks to @novadk for reporting.
Fixed error when editor is hidden and autofocus is enabled.
Fixed bug with insert() removing first or last div even if it has styling.
Fixed error with IE 8 height.
- Thanks to @arjunasuresh3 for reporting and fixing.
Added toBBCode() and fromBBCode() methods.
Fixed bug with spaces being removed if they are the only content of a tag.
Renamed Norwegian translation from no-NB to nb-NO.
- Thanks to @tim-se for reporting
Fixed bug with jQuery UI dialogs appearing behind the editor.
- Thanks to @OmarHawk for reporting
Added toolbarExclude option.
- Thanks to @tim-se for suggestion
Fixed bug with unclosed BBCode tags being parsed as if they had a closing tag.
- Thanks to @KN4CK3R for reporting
Added Polish translation.
- Thanks to @TheKerimek for translating
Fixed bug with IE 10 not being able to select outside of the editor.
- Thanks to @novadk for reporting
Added getBody() method which gets the WYSIWYG body node.
- Thanks to @arjunasuresh3 for adding
Made selectOuterText() and getOuterText() methods on the rangeHelper accessible.
Greatly increased the number of tests.
Improved the XHTML plugin.
Fixed bug with XHTML plugin outputting <br /> when editor is empty.
- Thanks to @tim-se for reporting
Fixed Mozilla's junk attributes, type="_moz", _moz_dirty="" and _moz_editor_bogus_node.
- Thanks to @tim-se for reporting
Added XHTML format plugin.
Added shortcut support.
Added Persian translation.
- Thanks to @ebadgh for translating!
Version 1.4.2:
Added emoticons() method which allows enabling/disabling emoticons at runtime.
Fixed bug with jQuery UI dialogs and SCEditor dropdowns appearing behind them.
- Thanks to @EugeneAksyonov for reporting
Fixed bug with multiple editors and maximise.
- Thanks to Tauno for reporting
Fixed whitespace handling bug causing new lines to be removed from text pasted from Word.
- Thanks to @lpuig for reporting
Improved dropdowns to close if the button is clicked twice.
- Thanks to @hhy89 for updating
Fixed bug with Chrome losing the selection when using autoUpdate option.
- Thanks to @lpuig for reporting
Added support for auto focus to place the cursor at the end.
Fixed bug where pasted emoticons ":)" were not being converted into emoticon images.
- Thanks to @shaoner for reporting
Fixed bug where if the BBCode styles property was null it caused an error.
- Thanks to @OmarHawk for reporting
Fixed bug with iOS losing focus.
- Thanks to @coder4u for reporting.
Fixed bug with emoticonsRoot option not working at startup.
- Thanks to @tucan39 for reporting
Fixed bug with unknown BBCodes being handled incorrectly.
- Thanks to @KN4CK3R for reporting
Fixed bug with % based widths and heights.
Fixed bug with editor height when created in a hidden div.
- Thanks to @berridgeab for reporting
Fixed bug with new lines and when two block level elements are next to each other.
- Thanks to @martec for reporting
Fixed bug with emoticonsRoot being preprended multiple times if more than one editor instance.
- Thanks to @KN4CK3R for reporting
Version 1.4.1:
Dropped GPL to match jQuery license.
The editor can still be used under the GPLv2, GPLv3 or any other MIT compatible
license. Changes can't be submitted back unless they are licensed under the MIT
but then they couldn't before either as it was dual licensed under the MTI so
really there isn't any change, just a bit simpler.
Added blur, keyDown, keyPress and KeyUp helpers
Added Turkish translation
- Thanks to @MYaman34 for translating.
Added button state support
Added better plugin system
Fixed emoticons now showing their code as a tooltip.
Added support for custom emoticon tooltips.
- Thanks to @Spuds for reporting
Added nodechanged event.
Improved BBCode attribute quoting support.
- Thanks to @Spuds for reporting
Added Arabic translation.
- Thanks to @Atramez-Zeton for translating
Added disablePasting option.
Fixed problem with HTML5 form validation not working when using the editor.
The editor will now just remove the required attribute from the original textarea
so validation will either need to be done server side or manually.
Added tabindex support. The tabindex will be picked up from the original textarea.
- Thanks to @bmxgrover for reporting
- Thanks to @Spuds for reporting
Fixed bug with nested lists.
- Thanks to @brunoais for reporting.
Improved IE resize speed.
Update themes to support showing active commands.
Update themes to support showing a commands icon, text or both.
Added new Monocon icons, licensed under the MIT license.
Added selectionchanged event
Fixed bug with LTR command not working.
- Thanks to @charafweb for reporting
Added zIndex option to allow setting the containers z-index.
Fixes bug with modal jQuery UI dialogs.
- Thanks to @prdatur for reporting and the fix.
Fixed bug with percentage based widths.
- Thanks to @charafweb for reporting.
Improved RTL support. Added rtl() helper and improved all themes RTL support.
Added maximize command and maximize() helper.
Fixed bug with sentences wrapped in [] sometimes causing problems.
- Thanks to @liamdawe for reporting
Version 1.4.0:
New theme "square" added
Some none-backwards compatible tidying:
All occurrences of textEditor have been changed to sourceEditor
updateTextareaValue has been changed to updateOriginal
destory has finally been renamed to destroy
Removed deprecated setCommand and commandExists functions.
Added resizeWidth and resizeHeight options to allow disabling of either
width or height resizing while keeping the other
Improved resize handling
Updated build.php
Fixed bug with emoticons containing backslashes.
- Thanks to emanuele45 for the fix.
Fixed bug when pasting from Word.
- Thanks to @Spuds for reporting.
Fixed bug causing scrollbar to change when inserting BBCode in source mode.
- Thanks to Martec for reporting
Fixed bug causing cursor position to be lost in FF when getting the editors value.
- Thanks to @Spuds for reporting
Improve IE support
Moved roadmap from GitHub wiki to source directory
for easier editing.
Added a new much more flexible BBCode parser
Added new option to auto-update original textbox on blur event occurring on SCEditor.
- Thanks to @maiiku for adding this feature
Updated sceditor() to return the instance/instances of the editor by passing "instance"
to sceditor() and protect against re-initialization.
- Thanks to @maiiku for reporting
Updated sceditor() to return the current state of the editor by passing
state to sceditor().
- Thanks to @maiiku
Added IE 10 support
Added Vietnamese translation.
- Thanks to Chien for translating
Added plugins option
- Thanks to @maiiku
Updated editor to force new line after code and quote tags so that text can
be entered after them.
- Thanks to Logan
Version 1.3.7:
Fix emoticon "more" button closing the dropdown
Fix blur() function causing small box to appear in IE
Update theme so that the container has no z-index set
Version 1.3.6:
Added Spanish translation
- Thanks to Maxpower for translating
Fixed YouTube command not matching youtu.be URLs
Added form reset support
Added autoExpand option
Fixed bug related to inserting BBCodes in source mode when textarea is empty.
- Thanks to Martec for reporting
Fixed stripQuotes bug
- Thanks to Maxpower for reporting
Fixed destory() to stop memory leak
Fixed iOS bug with content overflowing the container
Fixed font size BBCode bug with WebOS browser
Added blur() function
Fixed list bug where newlines from the end would be removed
- Thanks to Birkoff Keren for reporting
Fixed whitespace removal bug causing some whitespace to be left.
- Thanks to Martec for reporting
Fixed val() helper function bug returning HTML when in source mode.
- Thanks to Maxpower for reporting
Fixed bug with IE compatibility modes "Quirks" and "IE 7" causing new lines
not to show.
Version 1.3.5:
Fixed bug in FF making pasting via right click difficult when empty
- Thanks to Nibogo2 for reporting
Added readonly method and option
Added expandToContent method
Reorganised themes to their own directory.
Changed themes to be in .less format and added to build file
Added modern, office-toolbar and office themes
Added autofocus option
Added a roadmap to the GitHub wiki
Added height and width methods
Added method to check for WYSIWYG support
Changed so that by default the editor won't start in browsers
that do not support WYSIWYG editing (old mobile browsers)
Added rtl option along with rtl & ltr commands
Added id option
Added sourceMode, val, insertText and insert methods
Fixed quote bug where author from nested quotes would be removed
Added Estonian language file
- Thanks to Rivo for translating
Fixed bug with dom.fixNesting when fixing certain tags
Improve adding/updating/removing of commands and BBCodes
Fixed bug causing elements that are styled with display: block to be treated
as block level elements
- Thanks to Rene for reporting
Added Brazilian Portuguese language file
- Thanks to Martec for translating
Version 1.3.4:
Updated focus method to work in source mode
Added public inSourceMode method
Fixed bug causing BBCodes to be striped
- Thanks to Nibogo2 for reporting
Version 1.3.3:
Added dropDownCss option, thanks to @esion
Add txtExec option to setCommand function
Updated BBCode plugin to support some BBCodes in source mode
Updated editor to disable AYT emotion conversion if emotions is not in toolbar
Fixed rare problem with value not being submitted
- Thanks to Marco for reporting
Added experimental paste filtering
Version 1.3.2:
Created rangeHelper class to improve code quality
Fix bug with IE8 and below related to newlines
Updated to remove empty BBCodes such as [b][/b]
Version 1.3.1:
Add emoticonsRoot option. Allows adding a root URL to be prepended to all emoticons.
- Thanks to @primehalo for the idea
Fix IE9 bug showing resize handles
Fix IE ranges sometimes causing the last typed character to be unselected
- Thanks to Maxime Lemercier for reporting
Version 1.3.0:
Add package.json file
Add Contribute to README
Add GitHub pages page
Fix newline bug. This greatly improves the BBCode to HTML parsers handling of newlines.
Version 1.2.9:
Started on improving accessibility
Added charset option
Updated quote command to support authors
Fix Webkit based bug causing newlines not to be added sometimes
- Thanks to Robin for reporting and extra help providing information
Added Swedish translation kindly submitted by Robin
Added French translation kindly submitted by Nicolas
Fix extra newlines being included in quotes
Removed undo/redo commands as they cause Safari to reopen closed tabs if they have been closed
after the point being undone.
- This happens with other editors and also on plain HTML text inputs. Thanks to Robin for finding and reporting.
Fixed header (h1, h2, h3, ect.) related BBCode bug
Removed Undo/Redo images from the sprite
Small tweak to BBCode parser to improve IE UX
Make BBCode parser strip unused whitespace to improve copying HTML from websites
Fix newline problem with [code] tag
Started adding unit tests to what can be tested
- WYSIWYG will still need manual testing as faking user input is ugly or just not possible
Fix IE < 8 newlines bug
Version 1.2.8:
Updated to use contentEditable if supported. This fixes some selection issues in IE9
Fixed problem with YouTube videos hiding after switching between WYSIWYG and source modes
Added new build page
Fixed bug causing quotes with author attributes to lose their content
Fixed HTML5 form required attribute compatibility
Added destroy function to enable removing the editor
Updated editor to only pre-load emoticons when they are in the toolbar.
Idea from kaen25's[https://github.com/kaen25/] fork.
Added Dutch translation kindly submitted by Samuel
Added German translation kindly submitted by Tina
Changed I18n to default to just the ISO 639-1 and only include the dialect when needed
Version 1.2.7:
Added options for emoticons to require spaces around them for compatibility.
i.e. If you have the emoticon :/ it will not replace http://. This
mode currently has limited As You Tyne emoticon conversion.
Fixed problem with YouTube dropdown
Fixed Opera problem with [url]
Fixed problem with default style causing table to have size tags wrapped around them
Fixed dropdowns being hidden behind YouTube videos
Fixed empty tables being inserted if columns and rows are set to 0
Updated so that when enter is pressed on code or quotes a new line is always inserted
Updated quote behaviour to insert selected text into the quote rather than replace it
Updated editor to not allow block level elements inside inline elements
Fixed problem with Opera not allowing text to be aligned after switching from WYSIWYG to source modes and back again
Updated so there is always a newline at the end of the editor if a quote or code is inserted. Allows to get out of them.
Updated to allow only certain bbcode tags within tags
Fix bug with IE selection
Version 1.2.6:
Added i18n support
Added support for text mode commands and disabling all non-text mode commands when in text mode
Fixed date bug that caused the month to be out by -1
Fixed newlines being removed from [code] tags
Fixed newlines being added to tables when switching between source and design mode
Fixed error when attempting to insert HTML before anything has been entered in the editor
Version 1.2.5:
Fixed IE select problem.
Fixed percent based width/height problem.
Version 1.2.4:
Added custom commands support.
Added date format option.
Added ability for % to be set as width/height.
Improved IE support.
Version 1.2.3:
Added resize support.
Fixed IE 9 bug.
Fixed Opera colour picker bug.
Added hidden emoticons option.
Version 1.2.2:
Improved the code to update the forms textarea value.
Improved As You Type emoticon support.
General code tidying.
Fix typo with image insert.
Added YouTube embedding.
Version 1.2.1:
Fix BBCode color bug.
Improved colour picker speed.
Improved styling.
Fix IE6 bug where colour picker boxes are slightly bigger.
Add optional width/height to image insert.
Version 1.2:
Fix typo stopping value getting posted
Added code tag.
Added Quote tag.
Improved how HTML is inserted.
Version 1.1:
Improved colour picker performance
Fixed BBCode bold bug with FF 3.5
Changed toolbar CSS to use a sprite
Fixed rounded corners CSS in Chrome
Version 1:
First version