mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +09:00
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:
parent
5c51334ff3
commit
6d4453b846
1 changed files with 4 additions and 1 deletions
|
|
@ -53,6 +53,9 @@ function editorStart_xe(editor_sequence, primary_key, content_key, editor_height
|
||||||
var elAppContainer = jQuery('.xpress-editor', form).get(0);
|
var elAppContainer = jQuery('.xpress-editor', form).get(0);
|
||||||
|
|
||||||
oEditor.getFrame = function(){ return oWYSIWYGIFrame;}
|
oEditor.getFrame = function(){ return oWYSIWYGIFrame;}
|
||||||
|
oEditor.getContent = function(){
|
||||||
|
editorGetContentTextarea_xe(editor_sequence);
|
||||||
|
}
|
||||||
|
|
||||||
var content = form[content_key].value;
|
var content = form[content_key].value;
|
||||||
if(xFF && !content) content = '<p> </p>';
|
if(xFF && !content) content = '<p> </p>';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue