Open bepuzzled opened 3 years ago
Hi,
In step 1., the checkbox widget definition:
<$checkbox field="showinput" ...
should read:
<$checkbox field="show-input"
...
and the last line of Step 3. showInput function should be:
};
HTH,
Fred
Hi, @tw-FRed , @bepuzzled , @tgrosinger , Good Job! However, u need to use $tw.utils.repackPlugin
to make the new Configuration displayed in the plugins setting page instead of clicking the link and jumping to your own modified one. Here is the code.
$tw.utils.repackPlugin("$:/plugins/tgrosinger/tw5-checklist",["/data/tiddlywiki/MyPluginStore/tgrosinger/tw5-checklist/README.md", "$:/plugins/tgrosinger/tw5-checklist/checkbox-wikirule.js", "$:/plugins/tgrosinger/tw5-checklist/checklist.js", "$:/plugins/tgrosinger/tw5-checklist/Configuration", "$:/plugins/tgrosinger/tw5-checklist/license", "$:/plugins/tgrosinger/tw5-checklist/readme", "$:/plugins/tgrosinger/tw5-checklist/stylesheet", "$:/plugins/tgrosinger/tw5-checklist/Usage" ],null)
Here is the plugin which is packed and having
an additional option that hides the input form to add new items to the list above the list:
$__plugins_tgrosinger_tw5-checklist.json drag this JSON into your Tiddlywiki!
$__plugins_tgrosinger_tw5-checklist.jsondrag this JSON into your Tiddlywiki!
remote: Your account is suspended. Please visit https://support.github.com for more information. fatal: unable to access 'https://github.com/Hydrowood0/tw5-checklist.git/': The requested URL returned error: 403
ok, I found a solution; feel free to use or implement the solution differently (or not all)
The following tweaks provides an additional option that hides the input form to add new items to the list above the list:
$:/plugins/tgrosinger/tw5-checklist/Configuration
:$:/plugins/tgrosinger/tw5-checklist/stylesheet
, insert a class.hideme
under/* input form */
:$:/plugins/tgrosinger/tw5-checklist/checkbox-wikirule.js
insert:and insert this
just below: