代码生成富文本默认dialogsInBody属性

pull/311/MERGE
RuoYi 2021-07-30 10:19:26 +08:00
parent eed4caa44f
commit 9d83ffab2a
2 changed files with 2 additions and 0 deletions

View File

@ -238,6 +238,7 @@
$(function() {
$('.summernote').summernote({
lang: 'zh-CN',
dialogsInBody: true,
callbacks: {
onChange: function(contents, $edittable) {
$("input[name='" + this.id + "']").val(contents);

View File

@ -245,6 +245,7 @@
$('.summernote').each(function(i) {
$('#' + this.id).summernote({
lang: 'zh-CN',
dialogsInBody: true,
callbacks: {
onChange: function(contents, $edittable) {
$("input[name='" + this.id + "']").val(contents);