Works in Chrome. In Firefox, both Windows and Linux, I get this. Tested with a new profile, as well as on another person's machine - same result.
On Monday, May 9, 2016 at 9:15:26 AM UTC-7, Jeremy Ruston wrote: > > Hi Rustem > > I use a theme that is not white (Solar Flare), and a bigger font in the > editor. In my opinioin, the new editor needs the following before it’s > released: a possibility of styling it, and an opt-out switch that reverts > to the old plain textarea editor. > > > Taking the style question first, that should work. In my tests, the “Solar > Flare” theme works OK (see the screenshot below). What browser/OS are you > using? > > > I’ll look at adding a configuration option to revert to the non-framed > editor without a toolbar. > > I looked briefly at the code. Maybe I misundestood, but I thought > copyStyles is supposed to copy styles from dummy text area, that has a > class .tc-edit-texteditor assigned to it, to the textarea inside the > iframe. It does not do so currently, and the only styles the textarea has > are display, height, margin, and width - those are assigned explicitly in > the code. > > As I say, this is a different result than I’m seeing. > > Out of curiosity, I inspected GitHub comments editor - it manages without > an iframe, and selection preservation is there > > They’ve got a much easier case: there is only a single editor on the page, > so they can just stash the selection globally during event handling. The > issue for TW5 is that the editor might be torn down and recreated at any > time by the refresh mechanism. > > Best wishes > > Jeremy. > > —R. > > On Sunday, April 24, 2016 at 1:22:07 AM UTC-7, Jeremy Ruston wrote: > > > Hi Stephen >> >> I use very dark themes and palettes with my Tiddlywikis. In the previous >> pre-release I could style the editor but this one I seem to get glaring >> white with black characters no matter what I do. Perhaps it is something >> very simple but I'm missing it. >> >> >> I think you’ll find that after changing the palette you need to cancel >> and re-edit tiddlers to make the editor update to the new palette. The >> issue is that the textarea in the editor is embedded in an iframe in order >> to allow us to preserve the selection, but a side effect is that the main >> page styles are not visible within the iframe, so have to be manually >> copied across. >> >> Best wishes >> >> Jeremy >> >> >> Mark S has pointed out that the Undo/Redo arrows don't work in Firefox or >> Firefox derivatives. Unfortunately, Mark, that is the Firefox design and >> not a mistake in Tiddlywiki. >> >> Other than that, everything works as anticipated. >> >> >> -- >> 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 [email protected]. >> To post to this group, send email to [email protected]. >> 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/373aa4e8-765a-4091-8e12-6ee3ec3f9f98%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywiki/373aa4e8-765a-4091-8e12-6ee3ec3f9f98%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit 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 [email protected] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > 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/15291c6a-4497-469f-80c9-45cca375914a%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/15291c6a-4497-469f-80c9-45cca375914a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit 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 [email protected]. To post to this group, send email to [email protected]. 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/de5af35a-fe4e-4c32-ba45-12b053e1806b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

