mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +03:00
Add some signature improvements (#1238)
This commit is contained in:
parent
ca4897038a
commit
9d60dd0786
5 changed files with 23 additions and 16 deletions
|
|
@ -92,11 +92,12 @@ class HtmlEditor
|
|||
* @param {bool} insertBefore
|
||||
* @returns {void}
|
||||
*/
|
||||
setSignature(signature, html, insertBefore) {
|
||||
setSignature(signature, html, insertBefore = false, first = false) {
|
||||
if (this.editor)
|
||||
{
|
||||
this.editor.execCommand('insertSignature', {
|
||||
isHtml: html,
|
||||
isFirst: first,
|
||||
insertBefore: insertBefore,
|
||||
signature: signature
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue