Hi Jeremy,

Noticed that a couple of the buttons have a different behaviour to the rest.

Pressing each of the buttons a 2nd time removes the formatting apart from 
those for monospaced and quotes.

Regards
Jon

On Monday, 28 March 2016 20:27:20 UTC+1, Alain Dutech wrote:
>
> About completion : Thank you for taking the time to answer me. I'll play 
> with both cases and see what comes out of the "stable" 5.12 release to, 
> then, finalize my approach.
> Alain 
>
> On Sat, Mar 26, 2016 at 7:18 PM, Jeremy Ruston <jeremy...@gmail.com 
> <javascript:>> wrote:
>
>> 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). 
>> 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 tiddlywiki+...@googlegroups.com <javascript:>.
>> To post to this group, send email to tiddl...@googlegroups.com 
>> <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/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.
>>
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/6yUkcDzp7ko/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddlywiki+...@googlegroups.com <javascript:>.
>> To post to this group, send email to tiddl...@googlegroups.com 
>> <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/CEC08DA3-47F7-46FC-9254-AF0638BBF36D%40gmail.com
>>  
>> <https://groups.google.com/d/msgid/tiddlywiki/CEC08DA3-47F7-46FC-9254-AF0638BBF36D%40gmail.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 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/90c981f1-8fe8-4ec1-bb6c-74f3be500bcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to