forked from samclarke/SCEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG.txt
695 lines (660 loc) · 30.3 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
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
Version 2.1.3:
Fixed issue with monocons showing underline if text-decoration is set.
- Thanks to @q2apro for reporting.
Fixed bug with indent & outdent not being enabled.
- Thanks to @mbiddle for reporting.
Improved autoExpand throttling and better handle rounding.
Added defult with to empty table cells to make them easier to edit.
- Thanks to @ata81 for fixing
Fixed bug with FF sometimes throwing error when selection changes.
- Thanks to @Sesquipedalian for fixing
Updated left and right align buttons to show as active by default in Edge
and IE to match Chrome & Firefox behaviour.
- Thanks to @chrisbetson for reporting.
Fixed bug with [rtl] and [ltr] BBCodes sometimes adding new lines.
Updated default content style to keep code as rtl in ltr mode.
- Thanks to @abetis for fixing.
Fixed bug with HTML format adding extra divs to the end of the output.
- Thanks to @pnowy for reporting and @abetis for fixing.
Version 2.1.2:
Fixed issue with extend() trying to copy non-plain objects.
- Thanks to @mtsnr for reporting
Fixed issue with youtube not showing when first inserted.
- Thanks to @zebroid for reporting and @abetis for fixing.
Fixed iOS issue where editor didn't let go of focus.
- Thanks to @redeye86 for reporting.
Fixed issue with autosave plugin throwing error when two editors on the page.
- Thanks to @q2apro for reporting.
Fixed bug with XHTML format wrapping pasted text in <p> tags.
- Thanks to @q2apro for reporting.
Updated autosave plugin to clear after submitting and add clear method.
- Thanks to @q2apro for reporting.
Version 2.1.1:
Fix emoticonsRoot not updating the dropdown menu path.
Make Numeric and URL fields be LTR, even in RTL mode.
- Thanks to @abetis for updating
Fix issue with spaces sometimes being removed when switching to BBCode.
- Thanks to @abetis for reporting
Fix issue with including SCEditor as an ES6 module in browsers.
Version 2.1.0:
Fixed surrounding space being removed when calling insert().
- Thanks to @brunoais for reporting
Added autosave plugin.
Added ability to bind to paste & pasteraw events.
Remove get() call on textarea (fixes mootools conflict).
- Thanks to @compojoom for reporting.
Removed paste command from default toolbar as only supported in IE.
Fixed error getting computed style on none element nodes in DOM css().
Version 2.0.0:
Changed theme to use flexbox. Custom themes will need tweaking but otherwise
this is backwards compatible.
Updated pasting to normalize image pasting across browsers to paste images
as Data URIs.
Updated pasting to use clipboard API which stops the ugly flash caused by
clearing the editor when paste filtering was enabled. As IE & Edge lack
clipboard API support they still use the old behaviour.
Added paste hooks for plugins.
Fixed bug with tabs being stripped when switching between WYSIWYG and
source mode.
- Thanks to @spuds for reporting
Fixed bug where emoticons that are subsets of others may prevent the longer
key from being replaced when switching between WYSIWYG and source mode.
- Thanks to @margarett for reporting
Fixed issue with jQuery noConflict mode.
- Thanks to @Globulopolis for reporting
Changed from JSCS and JSHint to ESLint for linting
Dropped support for IE <= 9
Updated default color palette to be smaller and increased color picker size.
Added autoyoutube plugin that converts pasted Youtube links.
- Thanks to @cyphix333 for suggesting
Updated XHTML plugin to not remove tag with a size from style/class attribtue.
- Thanks to @timint
Fixed bug with XHTML plugin removing empty <td> tags.
- Thanks to @derplakatankleber for reporting
Added allowedEmptyTags to XHTML plugin.
Fixed bug with BBCode plugin where email shows a second prompt even when the
first is cancelled.
- Thanks to @OlafvdSpek for reporting.
Updated link dropdown to insert when enter is pressed.
- Thanks to @q2apro for reporting
Updated rangeHelper.replaceKeyword() to match start of lines when whitespace
is required. Enables AYT emoticon conversion to convert emoticons at the
start of lines.
- Thanks to @barbuslex for reporting.
Added plaintext plugin to remove formatting on paste.
Fixed bug with FF lists adding extra lines.
- Thanks to @OmarHawk for reporting
Fixed bug with nested lists creating invalid BBCode and HTML.
- Thanks to @naturalgeek for reporting
Fixed bug with auto expand when maximised.
- Thanks to @mjau-mjau for reporting.
Improved autoexpand to shrink when content reduces.
- Thanks to @Somnium7 for reporting.
Added Indonesian translation.
- Thanks to @sndbckt for translating.
Switched to using ES6 modules.
Fixed bug with cursor being placed in wrong position on first focus.
- Thanks to @q2apro for reporting.
Fixed BBCode parser bug with BBCodes opened or closed inside a tag which
doesn't allow them as children (e.g. anything in [code] tags).
- Thanks to @emanuele45 for reporting.
Fixed whitespace edge case causing extra lines to be added in BBCode.
- Thanks to @OmarHawk for reporting.
Fixed issue placing cursor after custom block nodes.
- Thanks to @cyphix333 for reporting.
Improved editor to make sure inlines are wrapped in <p> tags.
- Thanks to @q2apro for reporting.
Prevent valueChanged event during composition.
- Thanks to @martec for reporting.
Update URL place holders to https:// from http://
- Thanks to @MyBB-Andro for reporting.
Improved pasting and enabled paste filtering by default [can it be turned off?]
Converted BBCode and XHTML plugins into formats
Fixed issue with default emotions always being added.
- Thanks to @compojoom for reporting
Update famfamfam icons to have red text for super/subscript.
- Thanks to @q2apro for updating
Added support for SVG icon sets
Moved jquery.sceditor.default.css to themes/content/default.css
Version 1.5.2:
Fixed BBCode parser bug that can cause content to be lost under certain
types of invalid nesting.
- Thanks to Jones for reporting.
Version 1.5.1:
Fixed bug with event handlers throwing an error.
- Thanks to @agungsijawir for reporting
Version 1.5.0:
Updated French translation.
- Thanks to @KaseiFR
Updated shortcuts to be prettier.
- Thanks to @KaseiFR
Fixed bug with wrong button state with autofocus.
- Thanks to @OlafvdSpek for reporting.
Fixed IE selection bug when repeatedly opening dropdowns.
- Thanks to @q2apro for reporting.
Fixed bug with selection being modified when calling val().
- Thanks to @q2apro for reporting.
Fixed bug with dropdown not being removed when the editor is destroyed.
- Thanks to @odungern for reporting.
Fixed bug with getOuterText() not always getting all the text.
Fixed bug with selectOuterText() not selecting text across adjacent nodes.
Fixed bug with lists in WebKit which could cause infinite loops.
- Thanks to @taekvideo for reporting.
Removed more button from emoticons unless there are actually more.
- Thanks to @Destroy666x for reporting and @brunoais for fixing.
Fixed bug with emoticonsCompat sometimes removing surrounding text
when typing emoticons.
Fixed bug with XHTML plugin when input value contains invalid attributes.
- Thanks to Tim for reporting
Fixed types in Russian & Ukrainian translations.
- Thanks to @Dr1ks
Added jQuery 3 support.
- Thanks to @iam1me
Fixed bug with YouTube embedding on HTTPS webpages.
- Thanks to @MadSpindel for fixing.
Fixed type in Brazilian Portuguese translation.
- Thanks to @vinny
Fixed bug with IE causing IndexSizeError when getting the selected range.
- Thanks to @jetand for fixing.
Added startInSourceMode option to start the editor in source mode.
- Thanks to @brunoais
Fixed issue with XHTML removing some nodes containing only a <br />.
- Thanks to @kt3k
Fixed XHTML not removing empty tags containing .sceditor-ignore nodes.
Mapped command to ctrl for Mac shortcuts.
- Thanks to @webevolutis
Fixed bug with IE edge not editing correctly.
Created bower "sceditor" package.
Added minified files to NPM package.
Version 1.4.7:
Fixed bug with XHTML plugin not wrapping inline nodes in paragraphs.
- Thanks to @Heart1010 for reporting
Fixed bug with buttons appearing disabled in source mode.
- Thanks to @brunoais for reporting.
Fixed bug with undo plugin when the valueChanged event is triggered before
the ready event.
Fixed bug with undo plugin and IE < 8 compatibility.
Fixed bug in IE where styles are not applied to text inside of a table cell.
- Thanks to @AlbertPraveen for reporting.
Fixed bug with IE placing cursor at the start of the editor when a dropdown
contains a textarea or input.
Fixed bug with FF showing the cursor in the wrong position when it hasn't
had focus before.
- Thanks to @cyphix333 for reporting.
Fixed bug with IE placing cursor inside table tag when inserted.
- Thanks to @jetand for reporting.
Fixed bug with IE placing the cursor before emoticons after inserting them.
Version 1.4.6:
Fixed resize issue with Android browsers.
- Thanks to @scripple for fixing.
Fixed bug with table being turned into paragraphs.
- Thanks to @jetand for fixing.
Refactored the code so that it's in modules.
The code is now much more readable and far easier to maintain and test.
This change is 100% backwards compatible with the minified version and
running the build will also create a backwards compatible non-minified
version.
The non-minified non-built code will require an AMD module loader to
load it.
Refactored all the unit tests for the new modules.
Added manual tests.
Fixed bug with RangeHelper.getOuterText() in IE < 9 when getting text after
Fixed bug with RangeHelper.insertNode() in IE < 9 when inserting a documentFragment
Fixed bug with dom.extractContents() method moving extracted element
children into the returned documentFragment
Fixed bug with valueChanged event causing an error if the editor is
destroyed before it has finished its checks.
Enabled valueChanged on sourceMode.
Updated the Brazilian Portuguese translation.
- Thanks to @martec
Fixed HTML to BBCode newline handling causing extra newlines to be added.
- Thanks to @jetand for reporting.
Added SaurceLabs integration to automatically run QUnit tests in multiple
browsers.
Added undo plugin.
- Thanks to @brunoais for creating.
Added galician and catalan translations and updated Spanish translation.
- Thanks to @FranSobrino for translating.
Fixed bug with FF causing newline to appear when something is typed.
- Thanks to @q2apro for reporting.
Fixed bug with spaces sometimes disappearing from pasted text when using the
XHTML plugin.
- Thanks to @q2apro for reporting.
Fixed issue with YouTube not showing fullscreen button inside the editor.
- Thanks to @kron-1 for reporting.
Fixed bug causing window to scroll when blur is called in FF.
- Thanks to @spuds for reporting.
Remove deprecated keyPress property from commands.
Fixed bug with button states not being updated when called via shortcuts.
- Thanks to @echteinfachtv for reporting.
Added Lithuanian translation.
- Thanks to @q2apro for translating.
Fixed bug causing newlines to not always be added when return is pressed
at the end of quotes and code blocks.
- Thanks to @barbuslex for reporting.
Changed the http:// value in inputs to be a placeholder.
Changed createDropDown() to focus on the first input or textarea element.
Fixed bug with lists inside quote blocks.
- Thanks to @barbuslex for reporting.
Fixed bug with code blocks not being removed when backspace is pressed.
Fixed bug with IE not removing blocks when backspace is pressed.
Added optional description to email dropdown.
- Thanks to @PaulBender for suggesting.
Fixed bug with autoUpdate causing double clicking on [sub]/[sup] to not
remove styling.
- Thanks to @q2apro for reporting.
Fixed possible XSS attack in IE <= 8 when using BBCode plugin to edit
malicious BBCode.
Improved build and added CSS autoprefixer.
- Thanks to @Gazenwagen for improving
Added Czech translation
- Thanks to Daniel Vítek for translating
Fixed source button not showing as active when in source mode.
- Thanks to @cyphix333 for reporting.
Fixed bug with extra newlines being added.
- Thanks to @cyphix333 for reporting.
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 conversion.
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 selecting 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