mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 20:44:28 +09:00
blockquote에 대해서는 ul, ol과 같은 동작을 하도록 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2588 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e4bd05cd9e
commit
6e7a807c45
2 changed files with 2 additions and 2 deletions
|
|
@ -167,7 +167,7 @@
|
||||||
$content = $this->get('content');
|
$content = $this->get('content');
|
||||||
|
|
||||||
// OL/LI 태그를 위한 치환 처리
|
// OL/LI 태그를 위한 치환 처리
|
||||||
$content = preg_replace('!<(ol|ul)>!is','<\\1 style="margin-left:40px;">',$content);
|
$content = preg_replace('!<(ol|ul|blockquote)>!is','<\\1 style="margin-left:40px;">',$content);
|
||||||
|
|
||||||
if($add_document_info) return sprintf('<!--BeforeDocument(%d,%d)-->%s<!--AfterDocument(%d,%d)-->', $this->document_srl, $this->get('member_srl'), $content, $this->document_srl, $this->get('member_srl'));
|
if($add_document_info) return sprintf('<!--BeforeDocument(%d,%d)-->%s<!--AfterDocument(%d,%d)-->', $this->document_srl, $this->get('member_srl'), $content, $this->document_srl, $this->get('member_srl'));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -159,7 +159,7 @@ function editorStart(editor_sequence, primary_key, content_key, resizable, edito
|
||||||
'<link rel="stylesheet" href="'+request_uri+editor_path+'/css/editor.css" type="text/css" />'+
|
'<link rel="stylesheet" href="'+request_uri+editor_path+'/css/editor.css" type="text/css" />'+
|
||||||
'<style style="text/css">'+
|
'<style style="text/css">'+
|
||||||
'body {font-size:9pt;margin:0px; height:'+editor_height+'px;}'+
|
'body {font-size:9pt;margin:0px; height:'+editor_height+'px;}'+
|
||||||
'ol, ul { margin-left:40px; }'+
|
'blockquote, ol, ul { margin-left:40px; }'+
|
||||||
'</style>'+
|
'</style>'+
|
||||||
'</head><body editor_sequence="'+editor_sequence+'">'+
|
'</head><body editor_sequence="'+editor_sequence+'">'+
|
||||||
content+
|
content+
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue