So if I add a language-plaintext
class to a Code block’s code
element, to prevent highlight.js from highlighting it, WordPress’ block editor gives me the dreaded “unexpected or invalid content.” Only way out is to convert it to a Custom HTML block (which in this case is kind of okay).
Category: General
-
Implementing `is_gutenberg()`
Share on Mastodon used to rely on (only) the transition_post_status hook to kick off a request to Mastodon’s API. Then Gutenberg came.
-
So if I add a language-plaintext class to …
-
Dude. I even like my “likes” page.
Dude. I even like my “likes” page.
-
In reply to https://jan.boddez.net/notes/4a3281c321 by Jan. Of course, …
Of course, I could build a Microsub/Micropub server/client—and I have!—and pass around more auth tokens and weirdly formatted JSON. Or I can (use what’s already there and) talk to my database directly.
-
Saw some criticism of the “bundling reader and …
Saw some criticism of the “bundling reader and CMS” pattern. “Those should be separate microservices! Darn social media!”
Meanwhile, me (an idiot):