Many small fixes.

This commit is contained in:
RainLoop Team 2017-07-06 01:31:41 +03:00
parent 9188228f5d
commit ab374bbb71
13 changed files with 339 additions and 396 deletions

View file

@ -92,12 +92,11 @@ class HtmlEditor
* @param {bool} insertBefore
* @returns {void}
*/
setSignature(signature, html, insertBefore = false, first = false) {
setSignature(signature, html, insertBefore = false) {
if (this.editor)
{
this.editor.execCommand('insertSignature', {
isHtml: html,
isFirst: first,
insertBefore: insertBefore,
signature: signature
});

View file

@ -826,7 +826,7 @@ export function htmlToPlain(html)
.replace(/&lt;/gi, '<')
.replace(/&amp;/gi, '&');
text = splitPlainText(trim(text));
text = splitPlainText(text);
pos = 0;
limit = 800;