Skip to content

Commit 1422501

Browse files
committed
typo
1 parent ddba6e7 commit 1422501

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,12 @@ require('codemirror/mode/javascript/javascript');
155155
## misc. notes
156156

157157
- server rendering
158-
react-codemirror2 will prevent rendering in absence of `navigator` that is typical of a server environment. In case of any issue, you may be able to force the component to not render via a `PREVENT_CODEMIRROR_RENDER` global variable that this wrapper will respect.
158+
159+
react-codemirror2 will prevent rendering in absence of `navigator` that is typical of a server environment. In case of any issue, you can force the component to not render via a `PREVENT_CODEMIRROR_RENDER` global variable that this wrapper respond to.
159160

160161
- getting the instance
161-
getting the instance uf the underlying editor can be done via the event callbacks where `editor` is returned. There is no static method to get it on demand, e.g. `CodeMirror.getInstance()`. The recommended approach can be observed as follows...
162+
163+
getting the instance of the underlying editor can be done via the event callbacks where `editor` is returned. There is no static method to get it on demand, e.g. `CodeMirror.getInstance()`. The recommended approach can be observed as follows...
162164

163165
```jsx
164166
constructor() {

0 commit comments

Comments
 (0)