Fix the post editing so links can be added without losing existing links. Without switching to BBCODE.
Fix the post editing so photos are added at the cursor, not at the top of the post, without switching to BBCODE.
Both of these functions worked fine for years, then a bug slipped in.