add function XE editor API(getContent)

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6745 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2009-08-11 05:34:28 +00:00
parent 5c51334ff3
commit 6d4453b846

View file

@ -53,7 +53,10 @@ function editorStart_xe(editor_sequence, primary_key, content_key, editor_height
var elAppContainer = jQuery('.xpress-editor', form).get(0);
oEditor.getFrame = function(){ return oWYSIWYGIFrame;}
oEditor.getContent = function(){
editorGetContentTextarea_xe(editor_sequence);
}
var content = form[content_key].value;
if(xFF && !content) content = '<p>&nbsp;</p>';