mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 23:29:57 +09:00
이미지 파일 삽입시 빈 줄 추가
<p><br /></p>를 이미지 삽입 시 <img /> 다음 줄에 추가. (사람마다 다르긴 하겠지만, 주요 포털들의 에디터 및 수많은 경우에 이미지 다음에 빈 줄을 삽입하므로, XE에도 적용되면 어떨가 해서 수정했습니다.)
This commit is contained in:
parent
12bc6b7d34
commit
873a8dd024
1 changed files with 1 additions and 1 deletions
|
|
@ -422,7 +422,7 @@ function insertUploadedFile(editorSequence) {
|
||||||
temp_code = '';
|
temp_code = '';
|
||||||
temp_code += "<img src=\""+file.download_url+"\" alt=\""+file.source_filename+"\"";
|
temp_code += "<img src=\""+file.download_url+"\" alt=\""+file.source_filename+"\"";
|
||||||
if(obj.complete === true) { temp_code += " width=\""+obj.width+"\" height=\""+obj.height+"\""; }
|
if(obj.complete === true) { temp_code += " width=\""+obj.width+"\" height=\""+obj.height+"\""; }
|
||||||
temp_code += " />\r\n";
|
temp_code += " />\r\n<p><br /></p>\r\n";
|
||||||
text.push(temp_code);
|
text.push(temp_code);
|
||||||
} else {
|
} else {
|
||||||
// 이미지외의 경우는 multimedia_link 컴포넌트 연결
|
// 이미지외의 경우는 multimedia_link 컴포넌트 연결
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue