Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: smd_textile_bar: Simple Textile insertion for the Write panel
Ahem try this version and sorry for the hassle. Totally forgot I hadn’t released this.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Online
#50 2021-02-18 17:12:52
- marios2
- Member
- From: Germany
- Registered: 2019-07-31
- Posts: 76
Re: smd_textile_bar: Simple Textile insertion for the Write panel
Oooh, yes. Success.
Steff is da king of the plugins.
PS.: I can now also see the bar layout prefs.
rgrds, marios
Last edited by marios2 (2021-02-18 17:15:13)
Offline
Re: smd_textile_bar: Simple Textile insertion for the Write panel
New version workin’ fine. This plugin makes life better for me and our writers very day. Thank you Stef.
Offline
Re: smd_textile_bar: Simple Textile insertion for the Write panel
I just added a couple options with this plugin. One the textile bar, what is labeled as “Delete” is actually strikethrough.
Or am I missing something?
Offline
Re: smd_textile_bar: Simple Textile insertion for the Write panel
Thanks, good spot. I’ve amended the textpack.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Online
Re: smd_textile_bar: Simple Textile insertion for the Write panel
Bloke wrote #328978:
Thanks, good spot. I’ve amended the textpack.
Kinda disagree here. “strikethrough” is the style that is traditionally associated with the <del />
HTML tag. MDN description
The HTML
<del>
element represents a range of text that has been deleted from a document. This can be used when rendering “track changes” or source code diff information, for example.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: smd_textile_bar: Simple Textile insertion for the Write panel
phiw13 wrote #328979:
Kinda disagree here. “strikethrough” is the style that is traditionally associated with the
<del />
HTML tag.
Ah, okay. I can always revert the change.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Online
Re: smd_textile_bar: Simple Textile insertion for the Write panel
This is strikethrough:
https://en.wikipedia.org/wiki/Strikethrough
Delete means delete. As in deleted. Gone.
This is for text on a web page, which may not be analogous to source code editing.
Last edited by towndock (2021-02-20 02:55:08)
Offline
Re: smd_textile_bar: Simple Textile insertion for the Write panel
towndock wrote #328983:
This is strikethrough:
https://en.wikipedia.org/wiki/Strikethrough
Delete means delete. As in deleted. Gone.
This is for text on a web page, which may not be analogous to source code editing.
Yes but the inserted tag is the <del />
. What you want is a <span />
styled with text-decoration: line-through
. MO.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: smd_textile_bar: Simple Textile insertion for the Write panel
I see your point re the tags. However, the end result on a web page is text that looks to my simple eye like strikethrough.
This may be perception. If you spend more time on Github than time using a word processor, it looks like delete. And vise-versa.
I’m cool with whatever Bloke decides.
Offline
Re: smd_textile_bar: Simple Textile insertion for the Write panel
I only jump in here because I’ve been thinking about Textile usage a lot lately while working on tWriter, and I do think some of what is possible with Textile is nevertheless pointless to promote, and the support for del
and ins
, as well the inline style=“”
attribute are good examples.
In any case…
There’s no doubt the del
element, and its associated partner, ins
, mean content that is deleted and inserted, respectively.
What might be useful is remembering that strikethrough is a term that came from print material, meaning a line through text; and to strike or strike out was the verb for making that line. This carried through the typewriter age, what really defined the idea, in fact, like when secretaries were told to ‘strike that’ when dictating letters; or when editors struck out syntax in manuscripts, and added revisions so authors could see the before and after; or when judges tell court reporters that a statement should be stricken from the record.
In some of those cases, excepting the secretary dictating a letter, text may be struck, but is not deleted, per se, because it holds informative value, or historical record. It’s just no longer usable, official, legal, or whatever the case may be.
And that’s where context comes in here. Why, really, would anyone need to use the del
or ins
elements in web copy unless it was to show a history of change in a document?
I edit my articles all the time after publishing. If I kept marking all that up with deletions and inserts, the text would be so full of noise, whether visually or for screen reading software (presumably) that no one would want to bother wading through it.
It’s pretty well understood anymore that when edits happen in web copy, they just happen silently without farking around with del
and ins
, and that makes offering a ‘strikethrough’ button pointless and distracting.
But if in certain use cases you do want to show a record of written change, say a public draft of a community developed code of conduct, or whatever, then you might need it, though even then I think there are better processes for such collaborative editing, and such buttons for del
and ins
are pointless.
And here’s a thought that should also bother UI designers/writers. If ‘strikethrough’ is used as a label for deletions, then what should the alternate label say for insertions? Add? Write in? A verb doesn’t work in this case. If you use Insert (a verb) you should use it’s paired opposite, Delete. And you should have both buttons if bothering with one because changed text always involves removing and adding.
Leave the buttons out, I say. It’s all a moot point anyway.
Maybe I should write ‘The Other Textile Manual’ like I was thinking of, which touches on these kinds of topics; that is, Textile use under wider consideration of a website’s design and purpose. Nah, life is getting short.
Last edited by Destry (2021-02-20 15:38:05)
Offline
Re: smd_textile_bar: Simple Textile insertion for the Write panel
Destry: the pairing was probably why the del was paired with ins in the original plugin, that I just forked without too much semantic thought.
I do, however, use del/strikethrough for comedic effect rather than editing, as historically done like you mentioned. People using porn mode incognito mode in their browsers, for example. So in that case it has value as a button, but I agree its usage is limited these days.
In any case, the button bar is customisable from the prefs, so if you use this plugin and don’t like the buttons, flick them off. The fact remains: they are optional and in that case, both the pref value and button itself need labelling somehow in the UI. The question is: what do we call add/insert and delete/strikethrough in the interface to best convey what they do?
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Online