This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

WidgetMessage: tm-load-plugin-from-library

24th April 2016 at 11:55pm

The tm-load-plugin-from-library message load the specified tiddler or plugin from the specified plugin library.

NameDescription
titleTitle of the tiddler or plugin to be loaded into the current wiki
urlUrl 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>

Tip
Usually a plugin library has to be loaded (initialized) first before it can be used. If the plugin library specified by 'url' has not been initialized yet, it will be loaded and initialized.

The tm-load-plugin-from-library message is usually generated with the ButtonWidget and is handled by the core itself.