Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GOKOP opened this issue Mar 31, 2020 · 6 comments
Labels

Comments

@GOKOP
Copy link

GOKOP commented Mar 31, 2020

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
Copy link
Owner

jlebon commented Apr 4, 2020

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.

@jlebon jlebon added the bug label Apr 4, 2020
@cassava
Copy link

cassava commented Sep 16, 2020

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
Copy link
Contributor

MaxGyver83 commented Jun 7, 2021

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants