Arc Acorn said the following on 10/26/2013 07:57 PM:
----
Shadow Tiddlers such as StyelSheetColors are not rebuilt every time but
they are built into a fresh empty TiddlyWiki and will rebuild themselves
to their original state if you delete them. AKA: If you change
StyleSheetColors and than delete it, it will rebuild it's self to before
you made any changes.
This is true for plugin made shadow tiddlers as well, if you change them
they will keep your changes but if deleted and sometimes when updated
they will revert back to their original states.
In short, don't play with them.
OK :-)
A lot of plugins create CSS "on
the fly" and append it to the StyleSheet tiddler.
I'm not sure about this, I have never seen it done, and I do a ton of
CSS editing on TWC.
Indeed. I can't see why Scott said that, I've been digging on and off
this week and not seen evidence. I'm wondering if anything except my
actions - editing or overwrite by download - has ever altered it.
Plugins Either make a shadow stylesheets or use element styling: eg <div
class="thingone" style="border:2px #FF0 solid"></div>
What does the 'setStylesheet()" function do?
As for issues with plugins that use Element level styles being cheating
when they are not highly readable code... well I hate to say it but
tough cookies.
You've turned around what I said.
I see 4 cases.
1. The plugin comes with a example style sheet
The author is overly gracious :-)
2. The styles used are mentioned in the PluginInfo
The author is a dedicated documenter. :-)
3. The Plugin comes as readable source.
Those of use who are technically knowledgeable can read the source
and see the config settings and styles.
If the author is Eric than we get a fantastic PluginInfo package as
well. :-)
4. There is non of the above. The source is not in a readable form.
You would have to download that separately.
When you click on the link you find the site is down.
Of course there are things in the middle. The TaggerPlugin has a pretty
good TaggerPluginDocumentation. Its a bit vague about what style
settings. It also says
You can change the global defaults for tagger, like the
button label, the tags to exclude or whether to display
the taglist or not, by editing the config.tagger.defaults
section in the code.
That's fine, it doens't sound a change that needs a great knowledge of
progrmming :-) So in the header for the plugin itself there is a line
in the header table reading
Source Code: TaggerPluginSource
Click on that tiddler and you get a shadow one that tells you
The uncompressed source code is available here.
The 'here' is a link to
http://tw.lewcid.org/#TaggerPluginSource
But 'tw.lewcid.org' is gone.
A poor example, perhaps, but it illustrates my point.
Developers are allowed to make their plugins anyway they want.
Yes, and some make a great high quality of it, better than some
professional organizations that we pay good money for!
That doesn't mean you can't change things if they where made right you
can still use the !important flag in your StyleSheet to override them. eg:
<div class="thingone" style="border:2px #FF0 solid;"></div>
You are missing my point.
If I don't know the names of the classes then I'm stuck.
maybe I can do good stuff the hard way, ignoring the name, surrounding
the macro with a <span> in the tiddler itself and doing it the hard,
pre-CSSway. If its not in the docco, if its not in reable source then
how can I know the name?
Oh, right, take a dump of the page to a file and go though it line by
lie to wee what happens when the macro is expanded....
Can be changed in your StyleSheet tiddler by adding
.thingone {border:none!important;}
Or some other name that I don't know ...
Otherwise you do like any other good hacker and learn to read machine
optimized code.
Yes, that's a great way to make TiddlyWiki popular; make it only
available to people who are able, willing and have the time to read
machine optimized, and compressed, code.
--
If I had never thought about computer typesetting, I might have had a
happier life in some ways. -- Knuth
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.