Hi Andrew > I'm still getting the delete effect in Internet Explorer 11. Interestingly if > you click the edit button it shows "Type the text for this Tiddler" at the > beginning before all the text already in the tiddler and the preview window > initially shows a preview and then clears. I think it has something to do > with the new setText function in framed.js. It wasn't doing that before it > was merged from http://rich-text-editor.tiddlyspot.com/ > <http://rich-text-editor.tiddlyspot.com/>. It used to be called the > getEditInfo function and had a lot more to the function. Now Internet > Explorer hits it first and passes a value of null via text where as the other > browsers don't even seem to initially hit that function at all, maybe because > of focus. It is checking if it has focus and then it does this.domNode.value > = text; which deletes the text because at this point text has nothing in it. > Strange how it only does this in IE 11 and not Chrome or Edge. > Please forgive me Jeremy if I am completely wrong.
Ah, a bit more poking around reveals that I was using the new fangled Metro-style version of IE11 under Windows 10 (I think it may be called Edge). That version does still seem to work fine, but if I switch to the ordinary IE11 then I’m seeing the same problems as you describe. I’ll investigate further, Many thanks, Jeremy > > On Sat, Apr 30, 2016 at 6:43 AM, Jeremy Ruston <jeremy.rus...@gmail.com > <mailto:jeremy.rus...@gmail.com>> wrote: > OK, after my disappointment recorded below, I came up with another approach > and I think have now got things working on Internet Explorer 11: > > http://tiddlywiki.com/prerelease <http://tiddlywiki.com/prerelease> > > It needs thoroughly testing under other browsers too, but seems to work for > me, > > Best wishes > > Jeremy. > > > On 30 Apr 2016, at 12:06, Jeremy Ruston <jeremy.rus...@gmail.com > > <mailto:jeremy.rus...@gmail.com>> wrote: > > > > Hi Andrew > > > >> Now in IE 11, the whole edit field now clears if you change views and also > >> randomly. Something is wrong. It was working better. What changed? > > > > Nothing has changed in the code that updates the textarea. I think the > > problem that we’re seeing in IE11 with the textarea display not being > > updated is some kind of random bug. > > > > I’ve spent a few more hours investigating the problems with IE11 and once > > again I’m out of ideas; I’ve been repeatedly finding the same outdated > > information via searching Google, StackOverflow etc. > > > > The code in question is this part of framed.js: > > > > // Attempt to use a TextEvent to modify the value of the > > control > > var textEvent = > > this.domNode.ownerDocument.createEvent("TextEvent"); > > if(textEvent.initTextEvent) { > > textEvent.initTextEvent("textInput", true, true, > > null, operation.replacement, 9, "en-US"); > > this.domNode.focus(); > > > > this.domNode.setSelectionRange(operation.cutStart,operation.cutEnd); > > this.domNode.dispatchEvent(textEvent); > > } else { > > this.domNode.value = newText; > > } > > > > IE11 has the initTextEvent method, and so calls the first code path. The > > problem is that the value underlying the textarea is updated, but the > > display is not updated to match. > > > > Best wishes > > > > Jeremy. > > > >> > >> -- > >> You received this message because you are subscribed to the Google Groups > >> "TiddlyWiki" group. > >> To unsubscribe from this group and stop receiving emails from it, send an > >> email to tiddlywiki+unsubscr...@googlegroups.com > >> <mailto:tiddlywiki%2bunsubscr...@googlegroups.com>. > >> To post to this group, send email to tiddlywiki@googlegroups.com > >> <mailto:tiddlywiki@googlegroups.com>. > >> Visit this group at https://groups.google.com/group/tiddlywiki > >> <https://groups.google.com/group/tiddlywiki>. > >> To view this discussion on the web visit > >> https://groups.google.com/d/msgid/tiddlywiki/5b46be97-e9f8-4f99-ba1c-5b5b2ac3cbe1%40googlegroups.com > >> > >> <https://groups.google.com/d/msgid/tiddlywiki/5b46be97-e9f8-4f99-ba1c-5b5b2ac3cbe1%40googlegroups.com>. > >> For more options, visit https://groups.google.com/d/optout > >> <https://groups.google.com/d/optout>. > > > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to tiddlywiki+unsubscr...@googlegroups.com > <mailto:tiddlywiki%2bunsubscr...@googlegroups.com>. > To post to this group, send email to tiddlywiki@googlegroups.com > <mailto:tiddlywiki@googlegroups.com>. > Visit this group at https://groups.google.com/group/tiddlywiki > <https://groups.google.com/group/tiddlywiki>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/CE449E5B-A200-42BC-8C89-C7BD31C10726%40gmail.com > > <https://groups.google.com/d/msgid/tiddlywiki/CE449E5B-A200-42BC-8C89-C7BD31C10726%40gmail.com>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > > -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to tiddlywiki+unsubscr...@googlegroups.com > <mailto:tiddlywiki+unsubscr...@googlegroups.com>. > To post to this group, send email to tiddlywiki@googlegroups.com > <mailto:tiddlywiki@googlegroups.com>. > Visit this group at https://groups.google.com/group/tiddlywiki > <https://groups.google.com/group/tiddlywiki>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/CAL0r7zvr4Euofcj7F5A0S5vDCQt3wNYoPtz%3DO907hhb8GyQPNQ%40mail.gmail.com > > <https://groups.google.com/d/msgid/tiddlywiki/CAL0r7zvr4Euofcj7F5A0S5vDCQt3wNYoPtz%3DO907hhb8GyQPNQ%40mail.gmail.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/E0289BB1-AA05-4755-BAE8-3E87F1F0C9F9%40gmail.com. For more options, visit https://groups.google.com/d/optout.