mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 07:39:55 +09:00
XpressEditor의 기본 서식을 default로 지정하도록 하고 default의 경우 p 태그의 margin/padding을 0으로 설정하도록 변경함.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6573 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e8dbc31bc6
commit
7b179b93f9
4 changed files with 27 additions and 23 deletions
|
|
@ -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><br /></p>';
|
||||
if(xFF && !content) content = '<p> </p>';
|
||||
|
||||
// src, href, url의 XE 상대경로를 http로 시작하는 full path로 변경
|
||||
content = content.replace(/(src=|href=|url\()("|\')*([^"\'\)]+)("|\'|\))*(\s|>)*/ig, function(m0,m1,m2,m3,m4,m5) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue