Skip to content

Commit fce0ae7

Browse files
authored
I want to be able to get the trimmed part of the body when editing - … (#639)
1 parent b610092 commit fce0ae7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@ Compose methods:
11371137
- **.close()** - close compose window
11381138
- **.dom(lookup)** - retrieve preconfigured dom elements for this compose window.
11391139
Lookup can be one of `'to' | 'cc' | 'bcc' | 'id' | 'draft' | 'subject' | 'subjectbox'
1140-
| 'all_subjects' | 'body' | 'reply' | 'forward' | 'from' | 'send_button'`
1140+
| 'all_subjects' | 'body' | 'quoted_reply' | 'reply' | 'forward' | 'from' | 'send_button'`
11411141

11421142
### gmail.dom.email(email_el or email_id)
11431143

src/gmail.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ interface GmailDomEmail {
485485

486486
declare type GmailDomComposeLookup =
487487
'to' | 'cc' | 'bcc' | 'id' | 'draft' | 'subject' | 'subjectbox'
488-
| 'all_subjects' | 'body' | 'reply' | 'forward' | 'from' | 'send_button';
488+
| 'all_subjects' | 'body' | 'quoted_reply' |'reply' | 'forward' | 'from' | 'send_button';
489489

490490
interface GmailMessageRow {
491491
summary: string;

src/gmail.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3905,6 +3905,7 @@ var Gmail = function(localJQuery) {
39053905
subjectbox: "input[name=subjectbox]",
39063906
all_subjects: "input[name=subjectbox], input[name=subject]",
39073907
body: "div[contenteditable=true]",
3908+
quoted_reply: "input[name=uet]",
39083909
reply: "M9",
39093910
forward: "M9",
39103911
from: "input[name=from]",

0 commit comments

Comments
 (0)