jlebon / textern

A Firefox add-on for editing text in your favourite external editor!
GNU General Public License v3.0
138 stars 21 forks source link

Browser doesn't recognize edits unless additional edits from the browser are made #60

Open GOKOP opened 4 years ago

GOKOP commented 4 years ago

After editing the field through Textern the edited text does appear in the field, but the webpage behaves as if it was not there. For example, on Github I can't submit a comment written entirely through Textern until I change something afterwards; if I write something beforehand and then edit through Textern, without further manipulations only stuff that was written before gets submitted. This also makes Textern unusable on Reddit because it resets the filed to whatever it was before using Textern when I click it.

jlebon commented 4 years ago

Yeah, definitely noticed this as well in some websites (oddly not on GitHub though). Might just need to kick event listeners after each update. Will look into this.

cassava commented 3 years ago

I also noticed this in the SoGO client from Mailcow. When writing an email it probably saves the draft after every few keystrokes, and as soon as I used TexTern it stays at the last state. Took me a while to figure out what was happening.

MaxGyver83 commented 3 years ago

Same problem in TiddlyWiki. When I edit a "tiddler" with textern and have the preview pane activated, I don't see any changes made in textern in the preview until I make some changes in the browser textedit area afterwards.

MaxGyver83 commented 2 years ago

This is also a problem in Microsoft Teams. The message field contains some placeholder text: image

When I enter some text using textern, the placeholder text won't be cleared and the entered text is hard to read: image

I need to enter more text afterwards to get the placeholder text removed.

MaxGyver83 commented 1 year ago

Might just need to kick event listeners after each update. Will look into this.

@jlebon : Is this project still alive? Could you look into this if you find some time?

MaxGyver83 commented 1 year ago

@jlebon : Finally, I could find a really easy way to fix this on my own. See pull request #87.