mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
에디터에서 이미지등을 입력시 IE6/ IE7에서 경로를 절대경로로 바꾸는 문제를 처리
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3310 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
af62238e0e
commit
61f2dae105
1 changed files with 6 additions and 1 deletions
|
|
@ -14,7 +14,12 @@ xAddEventListener(document, 'mousedown', editorDragStart);
|
|||
xAddEventListener(document, 'mouseup', editorDragStop);
|
||||
|
||||
function editorGetContent(editor_sequence) {
|
||||
return editorRelKeys[editor_sequence]["func"](editor_sequence);
|
||||
// 입력된 내용을 받아옴
|
||||
var content = editorRelKeys[editor_sequence]["func"](editor_sequence);
|
||||
|
||||
// 첨부파일 링크시 url을 변경
|
||||
var reg_pattern = new RegExp( request_uri.replace(/\//g,'\\/')+"(files|common|modules|layouts|widgets)", 'ig' );
|
||||
return content.replace(reg_pattern, "$1");
|
||||
}
|
||||
|
||||
// 에디터에 포커스를 줌
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue