Skip to content

Commit

Permalink
Use plainText name
Browse files Browse the repository at this point in the history
  • Loading branch information
Leilei332 committed Jan 27, 2025
1 parent cf36ab5 commit 79c326b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/modules/startup/rootwidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/wiki/macros/copy-to-clipboard.tid
Original file line number Diff line number Diff line change
Expand Up @@ -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>>
Expand Down

0 comments on commit 79c326b

Please # to comment.