Skip to content

Commit 42939d8

Browse files
committed
update
1 parent db37c16 commit 42939d8

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

content_script.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ async function colorPick (colorArg){ //read the color from the popup
140140
// some text boxes do not have an id assigned, but they do have a name assigned, if so, use the name
141141
// let FocusInfo = document.getElementById(document.activeElement.id).contentWindow.document.body.innerHTML;
142142
let txtcont = clickedElement.value; //contents of edit box
143-
if (txtcont === undefined) {
143+
if (txtcont === undefined) { // occurs when using the context menu on a rich text edit box
144144
txtcont = document.getElementById(document.activeElement.id).contentWindow.document.body.innerHTML;
145145
}
146146
console.log(txtcont);

data/DefMenu.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@
640640
"menuId": "bbcwbx.mkdn.clp.quote",
641641
"menuTitle": "browser.i18n.getMessage(bbcwbx.mkdn.clp.quote)",
642642
"parentId": "bbcwbx.mkdn.clp",
643-
"menuArg": "> {{clipboard}",
643+
"menuArg": "> {{clipboard}}",
644644
"icons": ""
645645
},
646646
{

locale_bbcode.xlsm

-354 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)