代码生成富文本默认dialogsInBody属性
parent
eed4caa44f
commit
9d83ffab2a
|
@ -238,6 +238,7 @@
|
||||||
$(function() {
|
$(function() {
|
||||||
$('.summernote').summernote({
|
$('.summernote').summernote({
|
||||||
lang: 'zh-CN',
|
lang: 'zh-CN',
|
||||||
|
dialogsInBody: true,
|
||||||
callbacks: {
|
callbacks: {
|
||||||
onChange: function(contents, $edittable) {
|
onChange: function(contents, $edittable) {
|
||||||
$("input[name='" + this.id + "']").val(contents);
|
$("input[name='" + this.id + "']").val(contents);
|
||||||
|
|
|
@ -245,6 +245,7 @@
|
||||||
$('.summernote').each(function(i) {
|
$('.summernote').each(function(i) {
|
||||||
$('#' + this.id).summernote({
|
$('#' + this.id).summernote({
|
||||||
lang: 'zh-CN',
|
lang: 'zh-CN',
|
||||||
|
dialogsInBody: true,
|
||||||
callbacks: {
|
callbacks: {
|
||||||
onChange: function(contents, $edittable) {
|
onChange: function(contents, $edittable) {
|
||||||
$("input[name='" + this.id + "']").val(contents);
|
$("input[name='" + this.id + "']").val(contents);
|
||||||
|
|
Loading…
Reference in New Issue