Spoiling you some more

Demonstrating some additional spoileration that writers (and in-the-know commenters) can use. The above we’ll call “inline spoiling.” To implement it, highlight the text to be spoiled, and click the first of the three pseudo-redacter buttons, top of the toolbar, far right.. As you know, the hidden text can easily be revealed by highlighting the spoiled block (though we’re going to add a feature to make revealing it even easier). pseudo_redacter_buttonsInline spoiling can be used to spoil large blocks of text, but (because it’s a “span” formatting, FYI), it doesn’t work to spoilate large, multi-paragraph etc blocks of text. You could still inline-spoil an entire long post, working paragraph by paragraph, but, if you’re feeling lazy about that, or just like a cleaner look, you can instead use the Multi-Block Spoiler. [redact-blocks color=purple] You add it using the second spoiler button. Again, you highlight all of the text you want to hide/redact, and click the button, but this time you get to select the color. You can just leave it “black” (the default), but you can choose any named color you want off the list of CSS named colors, and you can also use “hexadecimal” code. This time instead of blacking out the selected text, you’ll see “WordPress Shortcode tags” appearing at the beginning and ending of the blocks you’ve highlighted. Note that to remove the redaction, if you change your mind, you’ll want to delete both the beginning and ending tags. If you leave the latter, it won’t hurt anything, but it’ll set you up for confusion later. If you change your mind about the color, you can just go ahead and edit the shortcode. Deleting “color=purple” would go back to the default (black). Changing it to “color=white” would create a whiteout. Changing it to “color=honeydew” or “color=#F0FFF0” would create a honeydewout. [/redact-blocks]


How it looks in an editing screen

Last, as a convenience for readers, and maybe you, too, we can insert a “Reveal All” button. For a reader, clicking the Reveal All button, will remove ALL spoilation, including in comments… …though not permanently: Just until the next page load or reload – which can be initiated by clicking “Revert (which’ll turn up after you click Reveal All, courtesy of bubbling Javascript). I’m inserting the button right here: [reveal-all-button] Click the button a couple times, observe the effect on pseudo-redacted test, and you’ll see how it works. All you need to do to insert such a button in your post – at the top, in the middle, at the very bottom, as many times as you like – is, when you’re editing your post, click the third of the new redacter buttons. It inserts the shortcode: The graphic representation of the button appears only from the “front side.” inserting_reveal_allYou can also, if you like typing, just type out the shortcode. Finally – here’s the part about in-the-know commenters: You can add the shortcodes in a comment. They’ll work at OT for as long as we have shortcodes enabled in comments (not the default), but I don’t see a great need to add them to the comment-box “editing toolbar,” since I think it’ll be pretty rare, plus you don’t want to spoil people.

Home Page  Public Email  Twitter  Facebook  YouTube  Github   

Writing since ancient times, blogging, e-commercing, and site installing-designing-maintaining since 2001; WordPress theme and plugin configuring and developing since 2004 or so; a lifelong freelancer, not associated nor to be associated with any company, publication, party, university, church, or other institution. 

Posts in this series

Commenter Ignore Button by CK's Plug-Ins

Leave a Reply

Your email address will not be published. Required fields are marked *



Noted & Quoted

TV pundits and op-ed writers of every major newspaper epitomize how the Democratic establishment has already reached a consensus: the 2020 nominee must be a centrist, a Joe Biden, Cory Booker or Kamala Harris–type, preferably. They say that Joe Biden should "run because [his] populist image fits the Democrats’ most successful political strategy of the past generation" (David Leonhardt, New York Times), and though Biden "would be far from an ideal president," he "looks most like the person who could beat Trump" (David Ignatius, Washington Post). Likewise, the same elite pundit class is working overtime to torpedo left-Democratic candidates like Sanders.

For someone who was not acquainted with Piketty's paper, the argument for a centrist Democrat might sound compelling. If the country has tilted to the right, should we elect a candidate closer to the middle than the fringe? If the electorate resembles a left-to-right line, and each voter has a bracketed range of acceptability in which they vote, this would make perfect sense. The only problem is that it doesn't work like that, as Piketty shows.

The reason is that nominating centrist Democrats who don't speak to class issues will result in a great swathe of voters simply not voting. Conversely, right-wing candidates who speak to class issues, but who do so by harnessing a false consciousness — i.e. blaming immigrants and minorities for capitalism's ills, rather than capitalists — will win those same voters who would have voted for a more class-conscious left candidate. Piketty calls this a "bifurcated" voting situation, meaning many voters will connect either with far-right xenophobic nationalists or left-egalitarian internationalists, but perhaps nothing in-between.

Comment →

Understanding Trump’s charisma offers important clues to understanding the problems that the Democrats need to address. Most important, the Democratic candidate must convey a sense that he or she will fulfil the promise of 2008: not piecemeal reform but a genuine, full-scale change in America’s way of thinking. It’s also crucial to recognise that, like Britain, America is at a turning point and must go in one direction or another. Finally, the candidate must speak to Americans’ sense of self-respect linked to social justice and inclusion. While Weber’s analysis of charisma arose from the German situation, it has special relevance to the United States of America, the first mass democracy, whose Constitution invented the institution of the presidency as a recognition of the indispensable role that unique individuals play in history.

Comment →

[E]ven Fox didn’t tout Bartiromo’s big scoops on Trump’s legislative agenda, because 10 months into the Trump presidency, nobody is so foolish as to believe that him saying, “We’re doing a big infrastructure bill,” means that the Trump administration is, in fact, doing a big infrastructure bill. The president just mouths off at turns ignorantly and dishonestly, and nobody pays much attention to it unless he says something unusually inflammatory.On some level, it’s a little bit funny. On another level, Puerto Rico is still languishing in the dark without power (and in many cases without safe drinking water) with no end in sight. Trump is less popular at this point in his administration than any previous president despite a generally benign economic climate, and shows no sign of changing course. Perhaps it will all work out for the best, and someday we’ll look back and chuckle about the time when we had a president who didn’t know anything about anything that was happening and could never be counted on to make coherent, factual statements on any subject. But traditionally, we haven’t elected presidents like that — for what have always seemed like pretty good reasons — and the risks of compounding disaster are still very much out there.

Comment →
CK's WP Plugins


Extraordinary Comments

CK's WP Plugins