Overview
| Comment: | [fx] WebExt: wrap only the bottom of textarea (unsatifying but good enough for now) |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk | fx |
| Files: | files | file ages | folders |
| SHA3-256: |
5c343989d1133e3ee64c724f2fa193d1 |
| User & Date: | olr on 2017-09-05 08:32:53 |
| Other Links: | manifest | tags |
Context
|
2017-09-05
| ||
| 16:26 | [fx] WebExt: try to protect elements from CSS inheritance (text formatter) check-in: 7013921cad user: olr tags: trunk, fx | |
| 08:32 | [fx] WebExt: wrap only the bottom of textarea (unsatifying but good enough for now) check-in: 5c343989d1 user: olr tags: trunk, fx | |
|
2017-09-04
| ||
| 10:05 | [build] compile_rules: separate js conversion from main code check-in: 7595474b17 user: olr tags: trunk, build | |
Changes
Modified gc_lang/fr/webext/content_scripts/wrapper.css from [b62a23721a] to [bbf425edb7].
1 2 3 4 5 6 7 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | - - - + + + + + + - - + + + - - + + + - + |
/*
CSS
Wrappen for Grammalecte
*/
.grammalecte_wrapper {
|
| ︙ |
Modified gc_lang/fr/webext/content_scripts/wrapper.js from [01e5972759] to [41723fc48c].
1 2 3 4 5 6 7 8 9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | - - - - - + + + + + - - + + |
// JavaScript
"use strict";
class GrammalecteWrapper {
constructor (nWrapper, xTextArea) {
this.nWrapper = nWrapper;
|
| ︙ | |||
64 65 66 67 68 69 70 | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | - + |
dParam: {sText: xTextArea.value, sCountry: "FR", bDebug: false, bContext: false},
dInfo: {sTextAreaId: xTextArea.id}
});
};
// Create
//xToolbar.appendChild(createNode("img", {scr: browser.extension.getURL("img/logo-16.png")}));
// can’t work, due to content-script policy: https://bugzilla.mozilla.org/show_bug.cgi?id=1267027
|
| ︙ |