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:
zero 2009-06-17 06:06:58 +00:00
parent e8dbc31bc6
commit 7b179b93f9
4 changed files with 27 additions and 23 deletions

View file

@ -67,7 +67,7 @@
else $allow_fileupload = true;
// content_style 세팅
if(!$option->content_style) $option->content_style = 'xeStyle';
if(!$option->content_style) $option->content_style = 'default';
Context::set('content_style', $option->content_style);
// 기본 글꼴 지정

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><br /></p>';
if(xFF && !content) content = '<p>&nbsp;</p>';
// src, href, url의 XE 상대경로를 http로 시작하는 full path로 변경
content = content.replace(/(src=|href=|url\()("|\')*([^"\'\)]+)("|\'|\))*(\s|>)*/ig, function(m0,m1,m2,m3,m4,m5) {

View file

@ -19,3 +19,5 @@ html, body { height:100%; background-color:transparent; padding:0; margin:0;}
.xe_content blockquote.q5{ border:2px solid #707070;}
.xe_content blockquote.q6{ border:1px dashed #707070;}
.xe_content blockquote.q7{ border:1px dashed #707070; background:#fbfbfb;}
.xe_content p { margin:0; padding:0; }

View file

@ -18,3 +18,5 @@
.xe_content blockquote.q5{ border:2px solid #707070;}
.xe_content blockquote.q6{ border:1px dashed #707070;}
.xe_content blockquote.q7{ border:1px dashed #707070; background:#fbfbfb;}
.xe_content p { margin:0; padding:0; }