Skip to content

Commit 1801460

Browse files
committed
7.0.0
1 parent 2f5614a commit 1801460

11 files changed

+4863
-3063
lines changed

.ts/index.d.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.ts/index.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
7.0.0
2+
==================
3+
* remove `event` param from `copy` `cut` `paste` per [@types/codemirror](https://www.npmjs.com/package/@types/codemirror)
4+
5+
6.0.1
6+
==================
7+
* https://github.com/scniro/react-codemirror2/pull/176
8+
19
5.1.0
210
==================
311
* add support for `renderLine` (#98)

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 Sal Niro
3+
Copyright (c) 2020 Sal Niro
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,10 @@ require('codemirror/mode/javascript/javascript');
137137

138138
- `onBlur(editor, event)` - *[blur](https://codemirror.net/doc/manual.html#event_blur)*
139139
- `onContextMenu(editor, event)` - *[contextmenu](https://codemirror.net/doc/manual.html#event_dom)*
140-
- `onCopy(editor, event)` - *[copy](https://codemirror.net/doc/manual.html#event_dom)*
140+
- `onCopy(editor)` - *[copy](https://codemirror.net/doc/manual.html#event_dom)*
141141
- `onCursor(editor, data)`- *[cursorActivity](https://codemirror.net/doc/manual.html#event_doc_cursorActivity)*
142142
- `onCursorActivity(editor)` - *[cursorActivity](https://codemirror.net/doc/manual.html#event_cursorActivity)*
143-
- `onCut(editor, event)` - *[cut](https://codemirror.net/doc/manual.html#event_dom)*
143+
- `onCut(editor)` - *[cut](https://codemirror.net/doc/manual.html#event_dom)*
144144
- `onDblClick(editor, event)` - *[dblclick](https://codemirror.net/doc/manual.html#event_dom)*
145145
- `onDragEnter(editor, event)` - *[dragenter](https://codemirror.net/doc/manual.html#event_dom)*
146146
- `onDragOver(editor, event)` - *[dragover](https://codemirror.net/doc/manual.html#event_dom)*
@@ -153,7 +153,7 @@ require('codemirror/mode/javascript/javascript');
153153
- `onKeyPress(editor, event)` - *[keypress](https://codemirror.net/doc/manual.html#event_dom)*
154154
- `onKeyUp(editor, event)` - *[keyup](https://codemirror.net/doc/manual.html#event_dom)*
155155
- `onMouseDown(editor, event)` - *[mousedown](https://codemirror.net/doc/manual.html#event_dom)*
156-
- `onPaste(editor, event)` - *[paste](https://codemirror.net/doc/manual.html#event_dom)*
156+
- `onPaste(editor)` - *[paste](https://codemirror.net/doc/manual.html#event_dom)*
157157
- `onScroll(editor, data)` - *[scroll](https://codemirror.net/doc/manual.html#event_scroll)*
158158
- `onSelection(editor, data)` - *[beforeSelectionChange](https://codemirror.net/doc/manual.html#event_doc_beforeSelectionChange)*
159159
- `onTouchStart(editor, event)` - *[touchstart](https://codemirror.net/doc/manual.html#event_dom)*
@@ -186,10 +186,9 @@ Check out [bokuweb/re-resizable](https://github.com/bokuweb/re-resizable). Wrapp
186186

187187
## Contributing
188188

189-
Pull Requests are welcome. Be mindful of the availbe scripts below to help submitting a well-received contribution.
189+
Pull Requests are welcome. Be mindful of the available scripts below to help submitting a well-received contribution.
190190

191191
- `npm run start` to run the app on `localhost:8000`
192-
- `npm run webpack` to re-bundle the react app
193192
- `npm run test` to ensure tests continue to pass
194193
- `npm run build` to generate the demo bundle
195194

docs/app.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.d.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)