mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-02-01 01:29:58 +09:00
resize_image 애드온이 스프링노트 모듈의 내용에서 동작하지 않는 문제 해결 및 js 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4288 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
5f95069972
commit
3d6ee68a15
2 changed files with 3 additions and 2 deletions
|
|
@ -26,9 +26,10 @@ function resizeImageContents() {
|
||||||
if(!/\/(modules|addons|classes|common|layouts|libs|widgets)\//i.test(obj.src)) {
|
if(!/\/(modules|addons|classes|common|layouts|libs|widgets)\//i.test(obj.src)) {
|
||||||
var parent = obj.parentNode;
|
var parent = obj.parentNode;
|
||||||
while(parent) {
|
while(parent) {
|
||||||
if(/(document|comment)_([0-9]+)_([0-9]+)/i.test(parent.className) ) break;
|
if(/(document|comment)_([0-9]*)_([0-9]*)/i.test(parent.className) ) break;
|
||||||
parent = parent.parentNode;
|
parent = parent.parentNode;
|
||||||
}
|
}
|
||||||
|
if(!parent) continue;
|
||||||
|
|
||||||
var dummy = xCreateElement("div");
|
var dummy = xCreateElement("div");
|
||||||
dummy.style.visibility = "hidden";
|
dummy.style.visibility = "hidden";
|
||||||
|
|
|
||||||
|
|
@ -105,7 +105,7 @@
|
||||||
|
|
||||||
<div class="pageView">
|
<div class="pageView">
|
||||||
<!--BeforeDocument({$pageid},0)-->
|
<!--BeforeDocument({$pageid},0)-->
|
||||||
<div class="document_{$pageid}_0 xhtmlEditorBody background_no">
|
<div class="document_{$pageid}_0 xhtmlEditorBody background_no xe_content">
|
||||||
{$page->source}
|
{$page->source}
|
||||||
</div>
|
</div>
|
||||||
<!--AfterDocument({$pageid},0)-->
|
<!--AfterDocument({$pageid},0)-->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue