Quote:
Originally Posted by henrythacker Is there any way that Zimlets can modify the contents of the e-mail body? I don't think this was the intention for Zimlets, in which case is the only way to acheive this, to modify the source?
I basically just need the ability to replace all the text in the content with a preset string when an option in a Zimlet context menu is clicked. |
For a message that is being composed, or a message that already exists? For compose, no problem. For a message that already exists, it's much more dicey since it also involves re-indexing the message, etc.
For a message that is being composed, you should be able to grab the div that represents the edit element and replace it there.