Differences From Artifact [4d321e586a]:
- File gc_lang/fr/webext/content_scripts/editor.js — part of check-in [4553dac0b4] at 2020-07-09 14:56:38 on branch mailext — [tb][fx] editor & text formatter: update for MailExtension (user: olr, size: 8507) [annotate] [blame] [check-ins using]
To Artifact [c96624ca8d]:
- File gc_lang/fr/webext/content_scripts/editor.js — part of check-in [218f25c554] at 2020-07-10 11:00:14 on branch mailext — [tb][fx] MailExtension: copy all paragraphs to cmopose window when closing the gc panel (user: olr, size: 8652) [annotate] [blame] [check-ins using] [more...]
| ︙ | |||
16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | + + + |
this.xRootNode = xDocument.body;
//console.log(xDocument.body);
//console.log(xDocument.body.innerHTML);
this.lNode = [];
this.bCheckSignature = bCheckSignature;
this._lParsableNodes = ["P", "LI", "H1", "H2", "H3", "H4", "H5", "H6"];
this._lRootNodes = ["DIV", "UL", "OL"];
if (bThunderbird) {
oGrammalecte.oGCPanel.addMessageToGCPanel("❗ Interface pour Thunderbird en version bêta.");
}
}
* _getParsableNodes (xRootNode) {
// recursive function
try {
for (let xNode of xRootNode.childNodes) {
if (xNode.className !== "moz-cite-prefix" && xNode.tagName !== "BLOCKQUOTE"
|
| ︙ |