Skip to content

Commit

Permalink
doc: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jun 18, 2021
1 parent 5f915a0 commit c1602e7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,9 @@ export interface IReactCodemirror extends IDOMEvent {

[codemirror options](https://codemirror.net/doc/manual.html#config)

```js
```ts
interface EditorConfiguration {

/** string| The starting value of the editor. Can be a string, or a document object. */
value?: any;

Expand Down Expand Up @@ -373,6 +375,7 @@ lint?: boolean | LintOptions;

/** Optional value to be used in conjunction with CodeMirror’s placeholder add-on. */
placeholder?: string;
}
```

## Editor
Expand Down

0 comments on commit c1602e7

Please sign in to comment.