Groups
Groups
Sign in
Groups
Groups
chsoft
Conversations
Labels
About
Send feedback
Help
이미지 삽입시 html 소스에서 width, height 안 나오게 하는 방법
81 views
Skip to first unread message
sy...@web2002.co.kr
unread,
Apr 23, 2014, 1:36:34 AM
4/23/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to chs...@googlegroups.com
웹에디터에서 이미지를 삽입하면 보통
[img width=가로, height=세로 .... ]
[img style='(중략) width:가로; height:세로; ']
위와 같이 html 코드에서 가로와 세로값이 자동으로 표시됩니다.
가로와 세로값이 안 나오게 하고 싶은데
소스의 어느부분을 수정하면 될까요?
등록할 때마다 직접 html 창에서 지우기에는 좀 번거로워서요.
답변 부탁드리겠습니다.
chsoft
unread,
Apr 24, 2014, 3:56:01 AM
4/24/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to chs...@googlegroups.com
안녕하세요.
cheditor.js 파일의 'doInsertImage' 함수의 아래 코드를 주석 처리해 주십시오.
newImage.style.width = attr.width;
newImage.style.height = attr.height;
감사합니다.
2014년 4월 23일 수요일 오후 2시 36분 34초 UTC+9,
sy...@web2002.co.kr
님의 말:
sy...@web2002.co.kr
unread,
Apr 25, 2014, 12:36:17 AM
4/25/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to chs...@googlegroups.com
알려주셔서 감사합니다.
그런데 제가 수정하는 에디터 버젼이 5.09.3이라서요 ;;
그 버젼에는 doInsertImage 함수 아래의 코드가
위와 같이 되어 있고
위 함수를 주석처리 후 이미지를 업로드해도
html코드에 width값과 height 값이 계속 따라붙습니다.
이 때는 어느 부분을 수정하면 될지 다시 문의드립니다.
2014년 4월 23일 수요일 오후 2시 36분 34초 UTC+9,
sy...@web2002.co.kr
님의 말:
웹에디터에서 이미지를 삽입하면 보통
chsoft
unread,
Apr 28, 2014, 3:37:42 AM
4/28/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to chs...@googlegroups.com
안녕하세요.
정확하게 처리를 하신 것 같은데요, 제 생각에 outputXhtml 옵션이 true여서 해당 태그를 재 설정하면서
이미지 속성이 다시 들어가는 것 같습니다.
outputXhtml 옵션을 'false'로 한 번 빼보십시오.
감사합니다.
2014년 4월 25일 금요일 오후 1시 36분 17초 UTC+9,
sy...@web2002.co.kr
님의 말:
Reply all
Reply to author
Forward
0 new messages