TODO:
	Tidy up jquery.sceditor.js code - Will break compatibility as functions need renaming, ect.
	Maybe add an onpaste handler to filter pasted text (would be good for BBCode)
	Add XHTML output support
	More themes and maybe switching?
	Add ability to resize images in browsers that don't have native WYSIWYG resize
	Add ability to modify tables in browsers that don't have native WYSIWYG table editing
	Change buttons to have translatable command name as their content, so themes don't
		have to use icons

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 charecter to be unselected
		- Thanks to Maxime Lemercier for repoting
	
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.) releated BBCode bug
	Removed Undo/Redo images from the sprite
	Small tweak to BBCode parser to improve IE UX
	Make BBCode parser strip unsused 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 compatiblity
	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 certian 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 cuased 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 enetered 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 with/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 with/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
