1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-06-02 22:54:07 +00:00

Use plainText name

This commit is contained in:
Leilei332 2025-01-27 19:08:21 +08:00
parent cf36ab5fb8
commit 79c326b1c1
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ exports.startup = function() {
$tw.utils.copyToClipboard(event.param,{
successNotification: event.paramObject && event.paramObject.successNotification,
failureNotification: event.paramObject && event.paramObject.failureNotification,
plainText: event.paramObject && event.paramObject.plain
plainText: event.paramObject && event.paramObject.plainText
},event.paramObject.type);
});
// Install the tm-focus-selector message

View File

@ -5,7 +5,7 @@ tags: $:/tags/Macro
\procedure copy-to-clipboard(src,class:"tc-btn-invisible",style,type:"text/plain",plain)
\procedure copy-to-clipboard-actions()
<$action-sendmessage $message="tm-copy-to-clipboard" $param=<<src>> type=<<type>> plain=<<plain>>/>
<$action-sendmessage $message="tm-copy-to-clipboard" $param=<<src>> type=<<type>> plainText=<<plain>>/>
\end copy-to-clipboard-actions
<$button actions=<<copy-to-clipboard-actions>>
class=<<class>>