* finish task #2689.

This commit is contained in:
wangyidong
2016-11-30 17:13:40 +08:00
parent 964ebebc54
commit feb0e70608
3 changed files with 11 additions and 7 deletions
+5 -1
View File
@@ -91,7 +91,11 @@ function initKindeditor(afterInit)
})
}, 10);
}
if(pasted && placeholderText == '') placeholderText = ' <?php echo $this->lang->noticePasteImg?>';
if(pasted)
{
if(placeholderText) placeholderText += '<br />';
placeholderText += ' <?php echo $this->lang->noticePasteImg?>';
}
/* Paste in chrome.*/
/* Code reference from http://www.foliotek.com/devblog/copy-images-from-clipboard-in-javascript/. */