2016년 4월 24일 오후 11:55
The tm-load-plugin-from-library
message load the specified tiddler or plugin from the specified plugin library.
Name | Description |
---|---|
title | Title of the tiddler or plugin to be loaded into the current wiki |
url | Url specifying the plugin library from which the tiddler or plugin is to be loaded. |
Example
The following snippet will install the CodeMirror plugin from the official plugin library:
<$button>
<$action-sendmessage $message="tm-load-plugin-from-library" title="$:/plugins/tiddlywiki/codemirror" url="https://tiddlywiki.com/library/v5.1.11/index.html"/>
Install CodeMirror
</$button>
The tm-load-plugin-from-library
message is usually generated with the ButtonWidget and is handled by the core itself.