Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

v1.0.0-beta.1

Compare
Choose a tag to compare
@Reinmar Reinmar released this 15 Mar 11:50
· 505 commits to master since this release

Features

Bug fixes

  • Rect.getDomRangeRects() should not throw if the provided DOM range starts in a text node. Closes ckeditor/ckeditor5-ui#317. (bfa55e9)
  • Bulletproofed isDomNode() helper when used in iframes. Removed isWindow() logic from the helper. Closes #201. (84ccda2)
  • Long keystrokes should be handled properly by getEnvKeystrokeText on Mac. Added support for ⇧ and ⌥ modifiers. Closes #206. (d8443e2)

Other changes

  • ObservableMixin#unbind() should not throw if used for an attribute which is not bound. Closes #5. (848a818)

  • Aligned behaviors of EmitterMixin methods responsible for adding end removing listeners. Closes #144. (460d7f4)

    The emitter.on() now has the same behavior as emitter.listenTo( emitter ) as well as emitter.off() is the same as emitter.stopListening( emitter ). This made emitter.stopListening() correctly remove all listeners added in any way to it which prevents memory leaks.

  • Aligned code to the new Translation Service (ckeditor/ckeditor5#624). (a51767a)

  • Introduced the isText() helper. Closes #214. (a9a6bec)

  • Renamed env.mac to env.isMac. Closes #222. (dc6b226)

  • Renamed isDomNode() to isNode(). Closes #219. (1823196)

BREAKING CHANGES

  • Renamed env.mac to env.isMac.
  • isDomNode() was renamed to isNode().