Added to TW-Scripts. Hi Mario, This is really a tricky and clever solution using wikitext!
--Mohammad On Tuesday, March 24, 2020 at 7:24:25 PM UTC+4:30, PMario wrote: > > On Tuesday, March 24, 2020 at 1:36:10 AM UTC+1, John Meyer wrote: >> >> is it possible, using wikitext, to set background-color on individual >> cells (which could be empty of text)? or do I have to fall back to html >> for that? >> > > Hi, > I did a fast experiment, following an idea. Drag and Drop import the > attachment into tiddlywiki.com or your wiki and you can play with it. > > The macro call looks like this: > > <<cell-bg table-class-name row:"number" column:"number">> > > > It looks like this: > > > > The only thing your table needs is a leading > > |myClass |k ... line ... myClass can be different for every table > > I think I can tweak it a little bit and create a proper plugin! Or may be a > PR for the core. > > With a JS-macro we could probably make it even more powerfull. > > have fun! > mario > > > -- 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 tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/233acc03-3ca9-4ebb-9fa0-638b9c3acb78%40googlegroups.com.