Hello, 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.
Nevertheless, I even tried to add "my" completion popup window in this new text-iframe widget. (see 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). 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 ? // Copy the styles from the dummy textarea var textAreaStyles = window.getComputedStyle(this.dummyTextArea,null), styleText = []; $tw.utils.each(textAreaStyles,function(name,index) { styleText.push(name + ": " + textAreaStyles[name] + ";"); }); this.iframeTextArea.style.cssText = styleText.join(""); this.iframeTextArea.style.display = "block"; this.iframeTextArea.style.width = "100%"; Again, "bravo" and nice job. 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]. 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/7c9db70f-65ca-44f3-b324-d9065ca3e749%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

