fix editor bug for announcement title

This commit is contained in:
chiu 2020-02-22 13:20:20 +08:00
parent 19dc9d0779
commit 34dfd00afe
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
$(document).ready(function() {
var config = {}
config.autoGrow_minHeight = 50;
config.allowedContent = false;
config.disallowedContent = 'img';
config.toolbar = [
{ name: 'clipboard', items: [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ] },
{ name: 'editing', items: [ 'Find', 'Replace', '-', 'SelectAll', '-', 'Scayt' ] },