Skip to content

Commit

Permalink
Update docs/libraries/slate-react/editable.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dylans authored Jan 9, 2025
1 parent d6c4111 commit 92f3a41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/libraries/slate-react/editable.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ An example usage might look like:
/>
```
Note that the `attributes` prop that comes in will contain a `style` object already. This object contains important styling properties which will make the placeholder behave like a placeholder. As such, it is advisible to extend styles and to focus on things like changing colors, opacity etc. Changing positioning, for example, could cause undesirable behavior.
Note that the `attributes` prop that comes in will contain a `style` object already. This object contains important styling properties which will make the placeholder behave like a placeholder. As such, it is advisable to extend styles and to focus on things like changing colors, opacity etc. Changing positioning, for example, could cause undesirable behavior.
#### `scrollSelectionIntoView?: (editor: ReactEditor, domRange: DOMRange) => void`
Expand Down

0 comments on commit 92f3a41

Please sign in to comment.