mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Add a read only theme that hides editing controls
This commit is contained in:
parent
f2b598ef13
commit
1c2696614e
@ -7,6 +7,7 @@
|
||||
"tiddlywiki/starlight",
|
||||
"tiddlywiki/stickytitles",
|
||||
"tiddlywiki/centralised",
|
||||
"tiddlywiki/readonly",
|
||||
"giffmex/rocker",
|
||||
"giffmex/blue",
|
||||
"giffmex/blanca"
|
||||
|
9
themes/tiddlywiki/readonly/plugin.info
Normal file
9
themes/tiddlywiki/readonly/plugin.info
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"title": "$:/themes/tiddlywiki/readonly",
|
||||
"name": "ReadOnly",
|
||||
"author": "JeremyRuston",
|
||||
"core-version": ">=5.0.0",
|
||||
"plugin-type": "theme",
|
||||
"description": "Theme for removing editing features",
|
||||
"dependents": ["$:/themes/tiddlywiki/snowwhite"]
|
||||
}
|
8
themes/tiddlywiki/readonly/styles.tid
Normal file
8
themes/tiddlywiki/readonly/styles.tid
Normal file
@ -0,0 +1,8 @@
|
||||
title: $:/themes/tiddlywiki/centralised/styles.tid
|
||||
tags: [[$:/tags/stylesheet]]
|
||||
|
||||
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
|
||||
|
||||
svg.tw-image-new-button, svg.tw-image-options-button, svg.tw-image-save-button, svg.tw-image-edit-button, svg.tw-image-delete-button, svg.tw-image-cancel-button, svg.tw-image-done-button {
|
||||
display: none;
|
||||
}
|
Loading…
Reference in New Issue
Block a user