rodemirror

React component for CodeMirror 6

MIT License

Downloads
4.5K
Stars
49
Committers
6

Bot releases are visible (Hide)

rodemirror - v2.0.0 Latest Release

Published by sachinraja over 2 years ago

Breaking Changes:

  • only allow codemirror@6 packages in peerDependencies
  • update to node v14
rodemirror - v1.6.7

Published by github-actions[bot] over 2 years ago

1.6.7 (2022-03-29)

Bug Fixes

rodemirror - v1.6.6

Published by github-actions[bot] almost 3 years ago

1.6.6 (2021-11-30)

Bug Fixes

  • editor does not have to reconfigure extensions twice anymore on changes (ba8d1f6)
rodemirror - v1.6.5

Published by github-actions[bot] about 3 years ago

1.6.5 (2021-10-16)

Bug Fixes

rodemirror - v1.6.4

Published by github-actions[bot] about 3 years ago

1.6.4 (2021-10-16)

Bug Fixes

  • use esbuild injection instead of jsx runtime (01c6152)
rodemirror - v1.6.3

Published by github-actions[bot] about 3 years ago

1.6.3 (2021-08-11)

Bug Fixes

  • allow codemirror versions >=0.18.0 (5138ecc)
rodemirror - v1.6.2

Published by github-actions[bot] about 3 years ago

1.6.2 (2021-08-10)

Bug Fixes

  • improve performance, do not recreate state when updating extensions (d862a46)
rodemirror - v1.6.1

Published by github-actions[bot] about 3 years ago

1.6.1 (2021-08-07)

Bug Fixes

rodemirror - v1.6.0

Published by github-actions[bot] about 3 years ago

1.6.0 (2021-08-07)

Features

  • support controlled values (a819801)
rodemirror - v1.5.0

Published by github-actions[bot] about 3 years ago

1.5.0 (2021-07-21)

Features

  • move codemirror packages to peerDependencies, new installation is npm i rodemirror @codemirror/state @codemirror/view.
rodemirror - v1.4.2

Published by sachinraja over 3 years ago

Changed

  • Updated @codemirror/view to 0.18.9
rodemirror - v1.4.1

Published by sachinraja over 3 years ago

Changed

  • Updated meta to use "CodeMirror 6" instead of "codemirror.next"
rodemirror - v1.4.0

Published by sachinraja over 3 years ago

Added

  • EditorView and EditorState exposed in prop callback

Changed

  • effects moved around to be more reasonable
  • extensions updates now only update the state, not the view
rodemirror - v1.3.0

Published by sachinraja over 3 years ago

Changed

  • onUpdate prop no longer causes recreation of state and view
rodemirror - v1.2.0

Published by sachinraja over 3 years ago

Updated

  • add onUpdate to useEffect props

Docs

  • add "controlled" example to README
  • include note about essential use of useMemo and useCallback
  • add typescript-nextjs full app example
rodemirror - v1.1.0

Published by sachinraja over 3 years ago

Initial release

Create an uncontrolled or controlled component. Pass extensions and a value to it.