|
@@ -2626,3 +2626,16 @@ export const showPublishDialog = () => {
|
|
|
smallBtn.click();
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+// 获取推文发送回去
|
|
|
+export const sendContentByTwitterID = (tweet_Id) => {
|
|
|
+ // 获取内容
|
|
|
+ let txt = parseCard.getContentByTwitterId(tweet_Id)
|
|
|
+ // 发送
|
|
|
+ chrome.runtime.sendMessage({
|
|
|
+ actionType: "CONTENT_GET_TWEET_TXT", data: {
|
|
|
+ tweet_Id,
|
|
|
+ txt
|
|
|
+ }
|
|
|
+ })
|
|
|
+}
|