Hi sini-Kit > I try to understand why 5.1.12 works slower in edit mode than older versions. > In doom tree I see this style of the text area > I think think that old variant is better.
The reason for the copied styles is that with the new editor, the textarea element is embedded in an iframe. This is done so that it has independent focus handling from the rest of the page, but it has the side-effect that styles are not inherited, hence the copying. Originally, the code just copied the styles when the textarea was created, but I received feedback that it was confusing that the background colour of textareas thus didn’t change dynamically during a palette change, so I changed things to re-copy the computed styles on every refresh cycle. I guess there are several things to investigate: * Whether you’d get acceptable performance with the original behaviour of only copying the styles during widget creation * Whether the style copying itself can be made more efficient. It may be that there is a particular style property that is very slow to assign, for example. What version of IE are you using? Do the editor toolbar buttons work as expected? Best wishes Jeremy > I have removed this line from framed.js > // Copy all styles > $tw.utils.copyStyles(this.dummyTextArea,this.domNode); > > > and now IE woks fast :) > > textarea style becomes > > <textarea style="margin: 0px; width: 100%; height: 43011px; display: block;" > placeholder="Введите текст заметки"> > > > > -- > 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/e3d5d04c-86dd-4dac-ab4e-c57669e18d8e%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/e3d5d04c-86dd-4dac-ab4e-c57669e18d8e%40googlegroups.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/CD49D9BA-7859-48E8-91CB-14891BB41DC2%40gmail.com. For more options, visit https://groups.google.com/d/optout.