- Adds static toolbar feature
- Now uses textContent instead of innerText
- Fixes plain text paste on IE
- Hides placeholder on mouse click
- Adds a 'collapse' option to 'selectElementContents' helper
- Allows toolbar button states to change when selection is collapsed
- In hideToolbarActions, calls an optional 'onHideToolbar' method
- Ensures that ul.id and anchor.id are unique
- Avoids grabbing selection on keypress for contenteditable except for spacebar
- Supports disabling anchorForm, avoiding unnecessary event handling and element creation
- Supports disabling placeholders, including not attaching event handlers when not needed
- Various minor bug fixes and improvements
- Adds a strikethrough option in buttonLabel
- Now uses
options.elementsContainer
to calculate ID - Removes events during deactivate
- Adds custom doc and win functionality, now you can specify the editor container
- Minor bugfixes
- Fixes 'this' out of scope
- Adds justify buttons
- Fix #308 by passing clipboard content through self.htmlEntities before inserting
- Minor bug fixes
- Adds support for tab based indenting and outdenting of
- and
- Adds a save button to the anchor form
- Improves toolbar positioning
- Adds anchorButton and anchorButtonClass options
- Extensions
- Disables the toolbar when selecting within an element that has contenteditable="false"
- Fixes hidden placeholder content override
- Fixes bug where if you had an empty blockquote the placeholder would still be active
- Fixes bug that would create link without values
- Exposes save/restoreSelection()
- Allows customization of active/first/last button classes
- Adds a script to run app from the cli
- Adds protocols to checkLinkFormat regex
- Fixes unlink behavior on Firefox
- Fixes white space behavior at the end of anchors
- Adds non-minified CSS files to bower.json
- Changes to the element list or element selector now take effect on reactivation
- Changed innerHTML to textContent to prevent XSS through twisted href values
- Checks for data-disable-return on element on paste
- Adds disableEditing and elementsContainer options
- Removes anchor preview listeners on deactivate
- Implements clean paste
- Adds an option to validate links
- Adds a basic extensions support
- Misc minor fixes
- Fixes isActive toggling
- Removes anchor preview default value
- Fixes activate/deactivate behavior
- Removes DOM elements created by MediumEditor on deactivate
- Prevents new lines with shift+enter when disableReturn is set to true
- Removes compass dependency by using grunt with libsass
- Fixes subscript button markup
- Fixes anchor preview behavior for empty links and anchors
- Adds a new option to disable double returns
- Allows initialization with a single DOM node
- Adds indent and outdent buttons
- fixes some minor paste bugs
- adds a delay option for anchor toolbar
- fixes anchor toolbar initial positioning
- fixes heading and blockquote on IE
- fixes case where clicking anchor preview and then clicking into the anchorInput causes hideToolbarActions to be called
- fixes window resize when toolbar element is not created
- Reorganizes CSS files
- Removes unused method bindElementToolbarEvents
- Adds a preview toolbar for anchors
- Removes paste event binding on deactivate
- Fixes filenames for main in bower.json
- Removes window resize event listener on deactivate
- Adds bootstrap theme
- Adds image button that converts selected text into an image tag
- Removes normalize.css dependency
- Adds 3 new themes: Roman, Mani e Flat
- Adds ability to set custom labels on buttons
- Updates uglify
- Fixes bug where pressing enter on formatted list item would generate a new list instead of a new list item
- Adds new extra buttons: pre and strikethrough
- Fixes placeholder bug on paste
- Various code improvements
- Prevents returns using shift when disableReturn is set to true
- Improves CSS to avoid conflicts
- Fixes problem with text selection ending outside the container div
- Implements serialize method
- Adds a targetBlank option
- Fixes Firefox box-sizing declarations
- Fixes toolbar binding button issue with multi-editor mode
- Fixes data-disable-return not preventing paragraph creation
- Improves getSelectionElement() to work in any case
- Fixes multi element selection bug
- Fixes Issues #88 & #89
- Improves binding for multiple editor instance, checkSelection() is called only once per instance
- Improves allowMultiParagraphSelection filter by removing empty tags elements before counting
- Considers header tags has a paragraph too (same as medium)
- Removes blur event listener when disabling the toolbar
- Adds a light gradient opacity to the toolbar
- Fixes bug that would keep toolbar alive when moving out of the anchor input
- Fixes empty selectionNode.el bug
- Prevents toolbar opening when changing to selection elements with the toolbar disabled
- Adds a transition to the toolbar when moving across elements
- Fixes issue on deactivation without enabled toolbar
- Fixes checkSelection error when disableToolbar option is enabled
- Adds new option to disable multiple paragraph selection
- Prevents paragraph creation on paste when disableReturn is set to true
- Adds extra buttons: superscript, subscript, ordered list and unordered list
- Changes buttons blacklist to whitelist
- Exports MediumEditor as module
- Changes "Underline" button to display "U" instead of "S"
- Pasted text is now wrapped into P elements
- Changes the editor to use the formatBlock command to handle block elements
- Fixes placeholder for empty elements
- Normalizes styles and scripts
- Improves bower manifest
- Adds an option to disable the toolbar and maintain only the contenteditable behavior
- Adds an option to disable returns
- Adds an placeholder option for the contenteditable areas
- Fixes toolbar positioning on screen top
- Adds the possibility to pass an element list directly into initialization
- Fixes issue with initial positioning when some actions are disabled
- Don't rely on :last-child to style first/last element, as they may be hidden
- Changes demo texto to something more friendly
- Fixes shift+enter behavior
- Initial release