mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-27 17:55:02 +00:00
Make it possible to disable plugins
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
created: 20130826122000000
|
||||
modified: 20140807094840608
|
||||
modified: 20140815094840608
|
||||
tags: mechanism
|
||||
title: PluginMechanism
|
||||
type: text/vnd.tiddlywiki
|
||||
@@ -87,6 +87,16 @@ The wiki object keeps track of all of the currently loaded plugins. If a request
|
||||
|
||||
In the browser, any constituent tiddlers that are JavaScript modules (ie shadow tiddlers of content type `application/javascript` and possessing the field `module-type`) are executed during startup processing.
|
||||
|
||||
!! Disabling Plugins
|
||||
|
||||
Plugins can be disabled by creating a tiddler titled `$:/config/Plugins/Disabled/` concatenated with the plugin title, and setting its text to `yes`.
|
||||
|
||||
For example, to disable the plugin `$:/plugins/tiddlywiki/highlight`, the title would be:
|
||||
|
||||
```
|
||||
$:/config/Plugins/Disabled/$:/plugins/tiddlywiki/highlight
|
||||
```
|
||||
|
||||
! Information Tiddlers for Plugins
|
||||
|
||||
Plugin authors are encouraged to provide special information and documentation tiddlers that TiddlyWiki can include as plugin information tabs in the [[control panel|$:/ControlPanel]].
|
||||
|
||||
Reference in New Issue
Block a user