Ticket #645 (closed defect: fixed)

Opened 3 years ago

Last modified 10 months ago

Save as function only saves the original html

Reported by: jjiimm_64@… Owned by: gogo
Priority: normal Milestone: 0.95
Component: Xinha Core Version:
Severity: normal Keywords: save as
Cc:

Description

The save as function only saves the original html, not the edited version. Are there plans to save the edited version or should I try and do my own save as button?

Attachments

.2 (0 bytes) - added by anonymous 3 years ago.

Change History

Changed 3 years ago by anonymous

  • owner changed from akaEdge to gogo
  • component changed from Documentation to Xinha Core

Changed 3 years ago by ray

That´s right. Why!? I wonder where IE got this from. If this cannot be fixed, imho this function has to be removed. After all if find it rather problematic that this is as far as I see a IE only function. That´s a real shame, because I think that Xinha most of the time does work better in Mozilla.

Changed 3 years ago by ray

This is a rather dirty one I think, but it seems to work:

xinha_config.btnList['saveas'] =[ "Save as", "ed_saveas.gif", false, function(e) {e._textArea.value = e.getHTML();e.initIframe();e.execCommand("saveas",false,"noname.htm");} ];

in your config file

Changed 3 years ago by anonymous

  • attachment .2 added

Changed 10 months ago by ray

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.95

rev [943]: added a function that creates a fresh document to save in an extra iframe, which is way cleaner than calling initIframe()

Note: See TracTickets for help on using tickets.