r6506 관련 * P태그 삽입시 BR태그 포함하도록 수정

* FF에서 커서가 잡히지 않는 문제

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6517 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2009-06-11 06:29:46 +00:00
parent 199191666d
commit d7e732dad4

View file

@ -55,7 +55,7 @@ function editorStart_xe(editor_sequence, primary_key, content_key, editor_height
oEditor.getFrame = function(){ return oWYSIWYGIFrame;}
var content = form[content_key].value;
if(!content) content = "<p></p>";
if(!content) content = '<p><br /></p>';
// src, href, url의 XE 상대경로를 http로 시작하는 full path로 변경
content = content.replace(/(src=|href=|url\()("|\')*([^"\'\)]+)("|\'|\))*(\s|>)*/ig, function(m0,m1,m2,m3,m4,m5) {