Screen junk with latest update
StanleyKnife opened this issue · 17 comments
I'm not able to reproduce
using https://ar.wikipedia.org/wiki/بدر_البوسعيدي as a test
Sorry - the site is fm.gov.om and I'm finding this issue each time I turn Polyglot back on. My co-workers are finding the same issue.
that's the problem!
What type of edit control is the page using?
It's the Avada theme, which has its own editing environment.
Previously Polyglot was unable to translate Arabic text within the editor window, so it wasn't an issue. I think I should just remember not to use it here.
By the way, Polyglot is a fantastic tool. Exactly what I need. Thank you!
I have also had Polyglot leaving text inside of text fields after selecting text in text field. I was editing an item on archive.org at the time.
I am getting this in every text area:
- Wordpress
- Wikipedia
- Internet Archive
It's very disruptive because I have to check and delete the stray html
Actually I couldn't reproduce this bug. Could you give me a complete and precise procedure to reproduce the bug?
Sure!
it is too easy to lose control of the popup and for its HTML to be saved with the contents of the text area.
Screen recording:
Setup:
- goto https://archive.org/create/
- click: Upload Files
- select a local file to upload (we're not actually going to upload it)
- click: description field
- type some description
- select the text you have just typed
Problems:
- spinner never goes away
- multiple popups
- top left popup is not under your direct control
Next, without dismissing the popup:
- click into another field, eg. Subject tags
- click back into Description field
- choose <> button (html code view)
Problem:
- the code for the popup remains in the text field
- clicking on the text field will remove the old popup code
Disabling handling iframe
is the easiest route, but I don't want to do it because it also prevents me from translating live chat comments on YouTube. We need to find another solution to this.
I'll also think about this problem.
Just to make some notes on possible exclusion list of selectors:
- Internet Archive:
div.wysiwyg iframe
- WordPress:
div.mce-tinymce
- Wikipedia:
div.ve-ce-surface
An option to disable in iframe could be possible? Or only disable iframe on certain sites? This would only fix Internet Archive.
Could the popup be created at top level of DOM? Immediately after body tag, and then positioned absolutely? Just thinking out loud.