I am trying to fix the issue-5560, thanks for the comments of Marius on the
jira issue-5560 page, it made me know the reason to cause the bug.
I think out a way as folloing to sovle the problem:
First, I find the js code for saving wiki pages whether using shortcuts or
by clicking the buttons. According to the analysis of Marius' comments, he
suggest to use editor.getSourceText(onSuccess, onFailure) to get the content
from the wysiwyg editor(I find when in source mode, the editor change to an
plain textarea_ "<textarea class="xPlainTextEditor" style="height:
492px;"></textarea>".)
I think it is a good way to get the content dirctly from wysiwyg editor, so
I searched all the js file to find the editor.getSourceText method,
finnally I found it in js file under xwe, it is the js code which is
generated by GWT.
Cause the js file under xwe aer compressed, I did not find a good way to use
this method out of GWT, so anyone can give me some help to explain the usage
of method editor.getSourceText(onSuccess, onFailure), and tell me how can I
use it outside GWT.
--
Best wishes,
许凌志(Jame Xu)
MOE KLINNS Lab and SKLMS Lab, Xi'an Jiaotong University
Department of Computer Science and Technology, Xi’an Jiaotong University