mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
Many small fixes.
This commit is contained in:
parent
9188228f5d
commit
ab374bbb71
13 changed files with 339 additions and 396 deletions
|
|
@ -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
|
||||
});
|
||||
|
|
|
|||
|
|
@ -826,7 +826,7 @@ export function htmlToPlain(html)
|
|||
.replace(/</gi, '<')
|
||||
.replace(/&/gi, '&');
|
||||
|
||||
text = splitPlainText(trim(text));
|
||||
text = splitPlainText(text);
|
||||
|
||||
pos = 0;
|
||||
limit = 800;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue