[webform] fix readonly texteditor
This commit is contained in:
parent
21214e8b53
commit
75eecb500c
1 changed files with 1 additions and 0 deletions
|
|
@ -401,6 +401,7 @@ frappe.ready(function() {
|
|||
var setup_text_editor = function() {
|
||||
var editors = $('[data-fieldtype="Text Editor"]');
|
||||
editors.each(function() {
|
||||
if($(this).attr('disabled')) return;
|
||||
summernotes[$(this).attr('data-fieldname')] = $(this).summernote({
|
||||
minHeight: 400,
|
||||
toolbar: [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue