1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Add plugin-priority fields for core plugins (#3113)

* Bug in plugin Ordering

Comparing plugin A without a `plugin-priority` field to plugin B with a `plugin-priority= 1` results in the plugins being ordered B, A when it seems like they should be ordered A, B.

* Switch to setting a plugin-priority on the built in themes to allow overriding parts of them.
This commit is contained in:
Matt Lauber 2018-03-20 17:05:07 -04:00 committed by Jeremy Ruston
parent a62e7d218c
commit 1dc7647640
2 changed files with 4 additions and 2 deletions

View File

@ -5,5 +5,6 @@
"core-version": ">=5.0.0",
"plugin-type": "theme",
"description": "Emphasises individual tiddlers",
"dependents": ["$:/themes/tiddlywiki/vanilla"]
"dependents": ["$:/themes/tiddlywiki/vanilla"],
"plugin-priority": "0"
}

View File

@ -4,5 +4,6 @@
"author": "JeremyRuston",
"core-version": ">=5.0.0",
"plugin-type": "theme",
"description": "Basic theme"
"description": "Basic theme",
"plugin-priority": "0"
}