Opened 7 years ago

Closed 7 years ago

#933 closed defect (invalid)

Problem saving text - like #907, #903, but in Firefox - also found work around.

Reported by: guest Owned by: gogo
Priority: high Milestone: Version 1.0
Component: Xinha Core Version: trunk
Severity: major Keywords: submit core
Cc:

Description

Despite Bug 907 being marked closed, I am still experiencing the exact same symptoms, which is that I need to show HTML in order for my changes to be saved.

I am using Firefox though.

I tried the current Beta download and the latest nightly build, still the same problem.

If you could reply to spamtrap8754 a-t bob7 dot com, I would appreciate it.

Thanks!!

Change History (4)

comment:1 Changed 7 years ago by guest

  • Summary changed from Problem saving text (like #907, #903, but in Firefox) to Problem saving text - like #907, #903, but in Firefox - also found work around.

Work around:

I guess this should be fixed the right way at some point, but for now, if this code is executed on the submit event, the the correct data is POSTed up to the server:

for (Editor in xinha_editors) {

xinha_editors[Editor]._textArea.value = xinha_editors[Editor].getHTML();

}

Only tested on FFox so far...

comment:2 Changed 7 years ago by ray

This should already happen (search for "onsubmit get the Xinha content and update original textarea" in XinhaCore?.js).

In any case you should always use

editor.outwardHtml(editor.getHTML())

instead of simple .getHTML()

Please specify your problem. The reference to tickets #907, #903 is not correct as this bug specifically touched IE and is definitly fixed.

comment:3 Changed 7 years ago by ray

Please check if this is fixed by changeset:730

comment:4 Changed 7 years ago by ray

  • Resolution set to invalid
  • Status changed from new to closed

no more explanation -- closing this

Note: See TracTickets for help on using tickets.