Releases: samclarke/SCEditor
Version 3.2.0
This release adds two new options, allowedTags
and allowedAttributes
to allow custom elements and attributes. In previous versions custom elements and attributes would be stripped by the HTML sanitiser.
There are also multiple fixes around pasting and improvements to multiple translations as well as a new Finnish translation.
Thanks to everyone who contributed!
Full Changelog
- Fixed bug with pasting removing styling from fist/last block when using BBCode format.
- Added
allowedTags
andallowedAttributes
options to allow custom elements and attributes.
Thanks to @fedot199614 and @codertushar for reporting and fixing. - Added missing strings to German translation.
Thanks to @wintstar for translating. - Fixed bug with merge() merging consecutive
<br />
tags.
Thanks to Lars for reporting. - Fixed bug with pasting into code blocks sometimes retaining styles.
Thanks to @live627 for reporting - Fixed bug with undo plugin in Firefox if editor is hidden when created.
Thanks to @huanacaraz for reporting. - Improved Dutch translation.
Thanks to @NekoJonez for translating. - Added Finnish translation.
Thanks to @RJuho for translating. - Added some missing phrases in Russian translation.
Thanks to @zebroid for translating.
Version 3.1.1
This release fixes a bug with the code tag introduced in 3.1.0 which causes it to match block styles resulting in [code][left]
instead of just [code]
. Thanks to @berkut1 for reporting!
Version 3.1.0
This release is mostly a bug fix release with a couple of new features around BBCode conversion tag matching which should make it easier to write some types of converters (thanks to @live627). The input event has also been added as it's now supported in all browsers the editor supports.
There is also a new alternative lists plugin for BBCodes (thanks to @abetis for creating).
A lot of annoying bugs have been fixed in this release.
A big thanks to everyone who contributed!
Version 3.0.0
This main feature of this release is fix to prevent XSS with the default commands along with dropping IE and legacy Edge support.
The editor also now includes the dompurify library to help prevent any future XSS attacks. This isn't fully backwards compatible as dompurify
may cause some HTML to be stripped. If you have any code that includes iframes, the allowed URLs will need to be added to the new allowedIframeUrls
option.
The other breaking change is that the no longer supports IE and legacy Edge. The editor can still run in source mode in those browsers if the runWithoutWysiwygSupport
option is enabled.
There's also some bug fixes included in this release too.
Thanks to everyone who contributed!
Version 2.1.3
This release fixes a few annoying bugs. Thanks to everyone who contributed!
Version 2.1.2
This release fixes a few bugs including a focus bug with iOS and a bug with the XHTML plugin. See the change log for full list of changes.
Version 2.1.1
This release is mostly to fix a bug where spaces sometimes get removed when switching to BBCode.
Version 2.1.0
This release is mainly to fix a bug with pasting that can cause the clipboard
contents to be invisibly added to the end of the editor.
There's also a new autosave
plugin that saves the editors contents to localStorage.
Version 2.0.0
There are a lot of changes and fixes in this release. In order to modernise the editor, tidy the API and remove jQuery as a hard dependency, there are a some backwards incompatible changes in this release.
The main changes are:
- Dropping jQuery as a hard dependency.
- Moving the XHTML & BBCode plugins into a new formats option.
- Adding SVG icon support.
- Dropping support for IE < 10.
For a full list please see the migrating to v2 post.
If you're using SCEditor in an OSS project and would like help migrating to v2 just send an email to [email protected].
Version 2.0.0-beta1
Beta version of SCEditor version 2.0.0.
Due to the number of changes in v2 it will take a little longer than usual to fully test them all for the final release.
The docs for v2 are currently available at test.sceditor.com and a list of changes in v2 is available on the new website: test.sceditor.com/posts/migrating-to-v2/.
If you're using SCEditor in an OSS project and would like help migrating to v2 just send an email to [email protected]
.