Hi Alain > while I'm not a great fan of toolbars (I usually unview them), I must say > that Jeremy did a great and nice work. And this will greatly enhance people > usablility of TW5.
Thanks! > Nevertheless, I even tried to add "my" completion popup window in this new > text-iframe widget. (see http://snowgoon88.github.io/TW5-extendedit > <http://snowgoon88.github.io/TW5-extendedit>). In the "module" branch I > modified the module so that it can be easily included to any textarea and I > tried to add it to the text-iframe. But this poses problem within the iframe > element... > > 1) if I create my "popup" div element alongside the this.iframeTextArea of > the widget, the CSS rules are messed up because of the "new" document of the > iframe. > 2) if I create my "popup" div element outside of the iframe, as a sibling of > the this.dummyTextArea of the widget, the popup looks fine but then the > computation of the position of the popup is rather hard to compute (up to > now). I’d recommend option (2), mainly because I intend to refactor things so that the edit-text widget optionally wraps the textarea in an iframe, so your code will need to cope with both cases. > Well... Anyone knows how I could somehow transfer the CSS definition of my > popup elements so that they apply and are reconised inside the "#document" of > the iframe ?? That would help me a lot. > Is this the purpose of the following lines in the widget ? No other way > around ? Sadly, yes, this is the only working approach beyond replicating all the style definitions within the iframe. It’s not perfect though; for example, hover effects won’t get transferred. Anyhow, we maybe should refactor it into the dom utility module. > > Again, "bravo" and nice job. Thanks, and likewise with the autocompletion functionality, it’s great to have, and I hope I can help get it working well with the new toolbar stuff. Best wishes Jeremy > Alain > PS : my plan would be to be able to also "stamp" by using a slight deviation > of the completion popup... > > > > -- > 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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > 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/7c9db70f-65ca-44f3-b324-d9065ca3e749%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/7c9db70f-65ca-44f3-b324-d9065ca3e749%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 [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/CEC08DA3-47F7-46FC-9254-AF0638BBF36D%40gmail.com. For more options, visit https://groups.google.com/d/optout.

