1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 09:30:28 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/messages/WidgetMessage__tm-load-plugin-from-library.tid
Andreas Hahn d1f2c399ce Add missing widget message documentation (#2399)
* Add documentation to various widget messages.
The following widget messages now have documentation:
* tm-edit-bitmap-operation
* tm-edit-text-operation
* tm-fold-all-tiddlers
* tm-fold-other-tiddlers
* tm-fold-tiddler
* tm-unfold-all-tiddlers
* tm-load-plugin-from-library
* tm-load-plugin-library
* tm-open-window
* tm-scroll

* Fixed alignment error.
2016-04-25 08:28:42 +01:00

29 lines
1.1 KiB
Plaintext

caption: tm-load-plugin-from-library
created: 20160424233627001
modified: 20160424235543975
tags: Messages
title: WidgetMessage: tm-load-plugin-from-library
type: text/vnd.tiddlywiki
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="http://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.