If I insert "<$edit-bitmap>" in a Tiddler :

   1. when I validate the tiddler, I have a blank bitmap *editor* appearing 
   (and not a blank image since I'm in a view mode)
   2. if I re-edit my tiddler, without modifying the image, I get 
   <$edit-bitmap> in the body
   3. if I modify the image (in the view mode) I have now an image (not 
   editable) in the view mode, and the field "type: image/png" is added
   4. if I go in edit mode again, I now have the bitmap editor. No access 
   to the original text is now ever possible.
   5. If I remove the "type : image/png" the tiddler content is now an 
   encoded raw Image ... instead of my original "<$edit-bitmap>"

The edit-bitmap "replace" the whole tiddler. Which is ... disturbing. It 
means I cannot insert some text before or after the  widget call.

Then I discovered that inserting "type:image/png" also tigger the 
edit-bitmap widget on an empty tiddler.

I'm a bit confused. Don't know if I'm missusing it, or if I should add an 
issue to TW5.

I expect to have access to the original text of my tiddler ... whether I 
have and edit-bitmap widget or not. Because, if I can't, how can I change 
my tiddler content ?
I can't even add text after <$edit-bitmap>.

BTW, where is the association between type:image/png and edit-bitmap-widget 
specified ? I was unable to find the mechanisme binding them.

Maybe I should be using a macro instead of a widget ? but still, the edit 
behavior is weird and not really consistent.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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 http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to