- #100
- #180 (fix event handling for
copy
cut
paste
) - add support for codemirror events
inputRead
keyHandled
- #180 (fix event handling for
copy
cut
paste
) - add support for codemirror events
inputRead
keyHandled
- remove
event
param fromcopy
cut
paste
per @types/codemirror
- add support for
renderLine
(#98)
- #88
- #78
- #75 - remove
autoFocus
in favor of codemirror.options.autofocus
- #74 => add support for more DOM events => onContextMenu | onCopy | onCut | onDblClick | onDragLeave | onDragStart | onMouseDown | onPaste | onTouchStart
- #76 => babel-ify index.js package for out of the box runtime support e.g.
Object.assign
- add notion of UnControlled#detach => [
editorDidAttach
,editorDidDetach
] (related to #37)
- scniro#63
- add internal notion of
applied
,appliedUserDefined
,appliedNext
to isolate update flows for controlled v. uncontrolled - test coverage
- cursor, scroll, and selection events occur after an internal hydrate
- cursor, scroll, and selection events have more strict checking and are more responsive for changed valued
- added
PREVENT_CODEMIRROR_RENDER
global for rendering bypass - selections managed via props now have and isolated autofocus option
- optimization of setting instance options when updated via props
- scniro#49
- test coverage
- scniro#31 (take 2)
- fixes scniro#25
- typings
- [
onSet
, onBeforeSet`] deprecated [removed] - [
resetCursorOnSet
,autoScrollCursorOnSet
] deprecated, now => [autoCursor
,autoScroll
] - add
autoFocus
- modify return of
onSelection
: this.editor, data.ranges) now => (this.editor, data) - split component into two per usage,
UnControlled
&Controlled
- fixes scniro#22
- fixes scniro#14
- remove deprecation warnings from 1.x
- bump
peerDependencies
to support react 16.x
- deprecate 1.x due to dependency conflicts occurring from over-strict versioning of codemirror as a
dependency
. Codemirror is now designated as apeerDependency
- [
onValueSet
,onValueChange
] deprecated, now => [onSet
,onChange
]; - add
onBeforeChange
onBeforeSet
- add
defineMode