{ "@context":[ "https://www.w3.org/ns/activitystreams", {"Hashtag":"as:Hashtag"} ], "published":"2024-10-26T13:38:28.691Z", "attributedTo":"https://epiktistes.com/actors/toddsundsted", "replies":"https://epiktistes.com/objects/_mfoFbzmzd8/replies", "to":["https://www.w3.org/ns/activitystreams#Public"], "cc":["https://epiktistes.com/actors/toddsundsted/followers"], "content":"
TIL scripting media queries... gone are the days of the no-js
class on the body
tag...
i'm working on improving the ktistec user experience when javascript is disabled.
ktistec uses trix as its rich text editor. of course. trix doesn't work without javascript. behind the scenes, however, trix uses a hidden textarea
to hold the body of the post being edited. using scripting media queries, ktistec can now show (or hide) either the editor or the textarea
based on the availability of javascript (2030b26b).