Attached are t he two FireGestures scripts mentioned in the other issue (#1190364: Fix duplicate "Fix" and "Add" in commit message template).
I don't really know if they could sensibly be integrated into Dreditor, but maybe you can link to them somewhere (e.g., on the project page).

A known problem with the auto-quote script is that it has to insert a span tag into the DOM tree to retrieve the marked HTML, which can mess up the display a bit in certain situations (when marking other things than just a paragraph). There doesn't seem to be a good way to get the HTML, but I didn't want just plain text. I'm sure, though, that there is a way to avoid, or at least afterwards remove the span tag, I just couldn't be bothered to search for it. (I'm not that good with Javascript …)

Also, a nice additional feature for the auto-quote script would be to automatically re-transform issue links into their original [#NID] form. Shouldn't be too hard to do, I guess.

Comments

sun’s picture

The reason for why I'm especially interested in your auto-quote script is #651592: Issue comment reply feature ;)