77
submitted 1 month ago by Edie@hexbear.net to c/main@hexbear.net

This user is suspected of being a cat. Please report any suspicious behavior.

you are viewing a single comment's thread
view the rest of the comments
[-] RedWizard@hexbear.net 4 points 1 month ago* (last edited 1 month ago)

There is a problem where if you highlight some text and click reply, the signature will not show up. I even tried making changes to fix it but it didn't work.

Hmm. You could implement a delay. Could be what is happening is that when highlighting and clicking reply, it creates a race condition between whatever inserts the highlighted text into the text box and your sig, which does the same. What likely is happening is that for a split second your sig is added, then it's replaced by the highlighted text as a quote. If the delay works, you'd want to append to whatever is in there, and it would have to run even if the field value isn't empty.

[-] Edie@hexbear.net 4 points 1 month ago

Yeah and the very last line turns up a problem, where when you edit a comment it will add another signature. For now I'll just go with "don't touch it if it isn't empty" since it's all easier.


This user is suspected of being a cat. Please report any suspicious behavior.

[-] RedWizard@hexbear.net 4 points 1 month ago* (last edited 1 month ago)

Yeah, another solution, though probably also very annoying to implement cleanly, is to have it fire when you click into the textarea and have it check the text for the sig using match or something similar.

this post was submitted on 29 Dec 2025
77 points (98.7% liked)

Main, home of the dope ass bear.

16103 readers
49 users here now

THE MAIN RULE: ALL TEXT POSTS MUST CONTAIN "MAIN" OR BE ENTIRELY IMAGES (INLINE OR EMOJI)

(Temporary moratorium on main rule to encourage more posting on main. We reserve the right to arbitrarily enforce it whenever we wish and the right to strike this line and enforce mainposting with zero notification to the users because its funny)

A hexbear.net commainity. Main sure to subscribe to other communities as well. Your feed will become the Lion's Main!

Good comrades mainly sort posts by hot and comments by new!


gun-unity State-by-state guide on maintaining firearm ownership

guaido Domain guide on mutual aid and foodbank resources

smoker-on-the-balcony Tips for looking at financials of non-profits (How to donate amainly)

frothingfash Community-sourced megapost on the main media sources to radicalize libs and chuds with

just-a-theory An Amainzing Organizing Story

feminism Main Source for Feminism for Babies

data-revolutionary Maintaining OpSec / Data Spring Cleaning guide


ussr-cry Remain up to date on what time is it in Moscow

founded 5 years ago
MODERATORS