Skip to content

Commit 91a5bba

Browse files
authored
Merge pull request #9 from ookami-kb/patch-1
Update Summernote.jsx
2 parents 95c0c53 + c1f6b0d commit 91a5bba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Summernote.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class ReactSummernote extends React.Component {
3737
}
3838

3939
componentDidMount() {
40-
const options = this.props.options;
40+
const options = this.props.options || {};
4141
options.callbacks = this.callbacks;
4242

4343
this.editor = $(`#${this.uid}`);

0 commit comments

Comments
 (0)