Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkrolick authored Jun 19, 2018
1 parent 9a5984a commit 0cc2f77
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,15 @@ class Editor extends React.Component {
}
```

To make an unprivileged editor instance use the ref to pass in the editor:
</details>


`makeUnprivilegedEditor`
: Creates an [unprivileged editor](#unprivileged-editor). Pass this method a reference to the Quill instance from `getEditor`.


<details>
<summary>Example</summary>

```jsx
const editor = this.reactQuillRef.getEditor();
Expand Down Expand Up @@ -712,7 +720,6 @@ During events, ReactQuill will make a restricted subset of the Quill API availab
`getBounds()`
: Returns the pixel position, relative to the editor container, and dimensions, of a selection, at a given location.


## Building and testing

You can run the automated test suite:
Expand Down

0 comments on commit 0cc2f77

Please sign in to comment.