Open bishosilwal opened 4 years ago
Closes issue #65
Added support for onChangeCodeView callback.
onChangeCodeView
eg: <ReactSummernote value="Hi there" options={{ height: 250, dialogsInBody: true, toolbar: [ ['style', ['style']], ['font', ['bold', 'underline', 'clear']], ['fontname', ['fontname']], ['color', ['color']], ['para', ['ul', 'ol', 'paragraph']], ['table', ['table']], ['insert', ['link', 'picture']], ['view', ['codeview']], ] }} ref={(summernote) => {this.summernote = summernote}} onChange={this.summerNoteChange} onChangeCodeview={this.summerNoteChange} />
Closes issue #65
Added support for
onChangeCodeView
callback.eg: <ReactSummernote value="Hi there" options={{ height: 250, dialogsInBody: true, toolbar: [ ['style', ['style']], ['font', ['bold', 'underline', 'clear']], ['fontname', ['fontname']], ['color', ['color']], ['para', ['ul', 'ol', 'paragraph']], ['table', ['table']], ['insert', ['link', 'picture']], ['view', ['codeview']], ] }} ref={(summernote) => {this.summernote = summernote}} onChange={this.summerNoteChange} onChangeCodeview={this.summerNoteChange} />