Skip to content

2.0.0

Compare
Choose a tag to compare
@daviferreira daviferreira released this 06 Jan 19:44
· 1926 commits to master since this release
  • 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