Fix WYSIWYG bug on phone and tablets

This commit is contained in:
Jianqiu Zhang
2017-06-15 11:20:05 +08:00
parent 6b1c60edf1
commit 9aaebf0e94
3 changed files with 13 additions and 1 deletions
+6
View File
@@ -157,6 +157,12 @@
requestWithCORS: true,
pluginsEnabled: ['image', 'link', 'colors', 'emoticons',
'fontSize', 'fontFamily', 'fullscreen'],
toolbarButtonsMD: ['bold', 'italic', 'underline', 'strikeThrough', 'fontFamily', 'fontSize', 'color', 'align', 'quote', '-',
'insertImage', '|', 'emoticons', 'help', 'fullscreen', '|', 'undo', 'redo'],
toolbarButtonsSM: ['bold', 'italic', 'underline', 'strikeThrough', 'fontFamily', 'fontSize', 'color', 'align', 'quote', '-',
'insertImage', '|', 'emoticons', 'help', 'fullscreen', '|', 'undo', 'redo'],
toolbarButtonsXS: ['bold', 'italic', 'underline', 'strikeThrough', 'fontFamily', 'fontSize', 'color', 'align', 'quote', '-',
'insertImage', '|', 'emoticons', 'help', 'fullscreen', '|', 'undo', 'redo'],
height: 300
});
// Hack the License
+6
View File
@@ -164,6 +164,12 @@
'fontSize', 'fontFamily', 'fullscreen'],
toolbarButtons: ['bold', 'italic', 'underline', 'strikeThrough', 'fontFamily', 'fontSize', 'color', 'align', 'quote', '-',
'insertImage', '|', 'emoticons', 'help', 'fullscreen', '|', 'undo', 'redo'],
toolbarButtonsMD: ['bold', 'italic', 'underline', 'strikeThrough', 'fontFamily', 'fontSize', 'color', 'align', 'quote', '-',
'insertImage', '|', 'emoticons', 'help', 'fullscreen', '|', 'undo', 'redo'],
toolbarButtonsSM: ['bold', 'italic', 'underline', 'strikeThrough', 'fontFamily', 'fontSize', 'color', 'align', 'quote', '-',
'insertImage', '|', 'emoticons', 'help', 'fullscreen', '|', 'undo', 'redo'],
toolbarButtonsXS: ['bold', 'italic', 'underline', 'strikeThrough', 'fontFamily', 'fontSize', 'color', 'align', 'quote', '-',
'insertImage', '|', 'emoticons', 'help', 'fullscreen', '|', 'undo', 'redo'],
height: 150
});
// Hack the License
+1 -1
View File
@@ -111,7 +111,7 @@
<div class="row">
<div id="asd" class="small-12 medium-12 columns" style="background-color: white">
<h3>商品介绍: </h3>
<p>{{ $good->description }}</p>
<p>{!! $good->description !!}</p>
</div>
</div>