|
https://wickedmagic.tistory.com/552
<!DOCTYPE html><html lang="ko" class="wf-roboto-n3-active wf-roboto-n5-active wf-roboto-n4-active wf-active"><head>
<script src="https://t1.kakaocdn.net/malibu_prod/normal_wpm.js" async=""></script><script type="text/javascript">if (!window.T) { window.T = {} }
window.T.config = {"TOP_SSL_URL":"https://www.tistory.com","PREVIEW":false,"ROLE":"guest","PREV_PAGE":"","NEXT_PAGE":"","BLOG":{"id":885720,"name":"wickedmagic","title":"사악미소의 현대마법의 공방","isDormancy":false,"nickName":"사악미소","status":"open","profileStatus":"normal"},"NEED_COMMENT_LOGIN":false,"COMMENT_LOGIN_CONFIRM_MESSAGE":"","LOGIN_URL":"https://www.tistory.com/auth/login/?redirectUrl=https://wickedmagic.tistory.com/552","DEFAULT_URL":"https://wickedmagic.tistory.com","USER":{"name":null,"homepage":null,"id":0,"profileImage":null},"SUBSCRIPTION":{"status":"none","isConnected":false,"isPending":false,"isWait":false,"isProcessing":false,"isNone":true},"IS_LOGIN":false,"HAS_BLOG":false,"IS_SUPPORT":false,"TOP_URL":"http://www.tistory.com","JOIN_URL":"https://www.tistory.com/member/join","ROLE_GROUP":"visitor"};
window.T.entryInfo = {"entryId":552,"isAuthor":false,"categoryId":711795,"categoryLabel":"DaumEditor"};
window.appInfo = {"domain":"tistory.com","topUrl":"https://www.tistory.com","loginUrl":"https://www.tistory.com/auth/login","logoutUrl":"https://www.tistory.com/auth/logout"};
window.initData = {};
window.TistoryBlog = {
basePath: "",
url: "https://wickedmagic.tistory.com",
tistoryUrl: "https://wickedmagic.tistory.com",
manageUrl: "https://wickedmagic.tistory.com/manage",
token: "NkWmDTilP4PbXnnQmgyBMwxAjRObdK/VWiEbgA+EvmeAYZv0QEQQCy85NW8ePAlE"
};
var servicePath = "";
var blogURL = "";</script>
<!-- BusinessLicenseInfo - START -->
<link href="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/plugin/BusinessLicenseInfo/style.css" rel="stylesheet" type="text/css">
<script>function switchFold(entryId) {
var businessLayer = document.getElementById("businessInfoLayer_" + entryId);
if (businessLayer) {
if (businessLayer.className.indexOf("unfold_license") > 0) {
businessLayer.className = "business_license_layer";
} else {
businessLayer.className = "business_license_layer unfold_license";
}
}
}
</script>
<!-- BusinessLicenseInfo - END -->
<!-- DaumShow - START -->
<style type="text/css">#daumSearchBox {
height: 21px;
background-image: url(//i1.daumcdn.net/imgsrc.search/search_all/show/tistory/plugin/bg_search2_2.gif);
margin: 5px auto;
padding: 0;
}
#daumSearchBox input {
background: none;
margin: 0;
padding: 0;
border: 0;
}
#daumSearchBox #daumLogo {
width: 34px;
height: 21px;
float: left;
margin-right: 5px;
background-image: url(//i1.daumcdn.net/img-media/tistory/img/bg_search1_2_2010ci.gif);
}
#daumSearchBox #show_q {
background-color: transparent;
border: none;
font: 12px Gulim, Sans-serif;
color: #555;
margin-top: 4px;
margin-right: 15px;
float: left;
}
#daumSearchBox #show_btn {
background-image: url(//i1.daumcdn.net/imgsrc.search/search_all/show/tistory/plugin/bt_search_2.gif);
width: 37px;
height: 21px;
float: left;
margin: 0;
cursor: pointer;
text-indent: -1000em;
}
</style>
<!-- DaumShow - END -->
<!-- System - START -->
<!-- System - END -->
<!-- TistoryProfileLayer - START -->
<link href="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/plugin/TistoryProfileLayer/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/plugin/TistoryProfileLayer/script.js"></script>
<!-- TistoryProfileLayer - END -->
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="format-detection" content="telephone=no">
<script src="//t1.daumcdn.net/tistory_admin/lib/jquery/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="//t1.daumcdn.net/tistory_admin/lib/lightbox/js/lightbox-v2.10.0.min.js" defer=""></script>
<script type="text/javascript" src="//t1.daumcdn.net/tiara/js/v1/tiara.min.js"></script><meta name="referrer" content="always">
<meta name="google-adsense-platform-account" content="ca-host-pub-9691043933427338">
<meta name="google-adsense-platform-domain" content="tistory.com">
<meta name="google-adsense-account" content="ca-pub-9184328219859099">
<meta name="description" content="첨부파일 : ■ 다음 에디터(Daum Editor) 세팅하고 사용하기 01. https://github.com/kakao/DaumEditor/tree/gh-pages/download에 접속해서 다음에디터를 다운받자. 02. 화면 최하단을 보면 How to download 라고 적힌 유의사항이 적힌 부분이 있는데. 여기서는 안정적인 stable(7.4.X) 버전대를 사용하기로 한다. 03. Stable(7.4.X)버전에서 가장 높은 버전대를 찾아 선택하고 클릭한다. 04. 해당 버전의 다운로드 페이지로 이동되면 아래 순서대로 작업을 수행한다. ① Download 버튼을 클릭한다. ② 확인 버튼을 클릭하여 daumeditor.zip 파일을 다운받는다. 05. 이제 다음 에디터 프로젝트를 수행할 폴더를 생성하..">
<meta property="og:type" content="article">
<meta property="og:url" content="https://wickedmagic.tistory.com/552">
<meta property="og.article.author" content="사악미소">
<meta property="og:site_name" content="사악미소의 현대마법의 공방">
<meta property="og:title" content="[DaumEditor] 다음 에디터(Daum Editor) 세팅하고 사용하기.">
<meta name="by" content="사악미소">
<meta property="og:description" content="첨부파일 : ■ 다음 에디터(Daum Editor) 세팅하고 사용하기 01. https://github.com/kakao/DaumEditor/tree/gh-pages/download에 접속해서 다음에디터를 다운받자. 02. 화면 최하단을 보면 How to download 라고 적힌 유의사항이 적힌 부분이 있는데. 여기서는 안정적인 stable(7.4.X) 버전대를 사용하기로 한다. 03. Stable(7.4.X)버전에서 가장 높은 버전대를 찾아 선택하고 클릭한다. 04. 해당 버전의 다운로드 페이지로 이동되면 아래 순서대로 작업을 수행한다. ① Download 버튼을 클릭한다. ② 확인 버튼을 클릭하여 daumeditor.zip 파일을 다운받는다. 05. 이제 다음 에디터 프로젝트를 수행할 폴더를 생성하..">
<meta property="og:image" content="https://img1.daumcdn.net/thumb/R800x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F22103B37582D3D2A33">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@TISTORY">
<meta name="twitter:title" content="[DaumEditor] 다음 에디터(Daum Editor) 세팅하고 사용하기.">
<meta name="twitter:description" content="첨부파일 : ■ 다음 에디터(Daum Editor) 세팅하고 사용하기 01. https://github.com/kakao/DaumEditor/tree/gh-pages/download에 접속해서 다음에디터를 다운받자. 02. 화면 최하단을 보면 How to download 라고 적힌 유의사항이 적힌 부분이 있는데. 여기서는 안정적인 stable(7.4.X) 버전대를 사용하기로 한다. 03. Stable(7.4.X)버전에서 가장 높은 버전대를 찾아 선택하고 클릭한다. 04. 해당 버전의 다운로드 페이지로 이동되면 아래 순서대로 작업을 수행한다. ① Download 버튼을 클릭한다. ② 확인 버튼을 클릭하여 daumeditor.zip 파일을 다운받는다. 05. 이제 다음 에디터 프로젝트를 수행할 폴더를 생성하..">
<meta property="twitter:image" content="https://img1.daumcdn.net/thumb/R800x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F22103B37582D3D2A33">
<meta content="https://wickedmagic.tistory.com/552" property="dg:plink">
<meta name="plink">
<meta name="title" content="[DaumEditor] 다음 에디터(Daum Editor) 세팅하고 사용하기.">
<meta name="article:media_name" content="사악미소의 현대마법의 공방">
<meta property="article:mobile_url" content="https://wickedmagic.tistory.com/m/552">
<meta property="article:pc_url" content="https://wickedmagic.tistory.com/552">
<meta property="article:mobile_view_url" content="https://wickedmagic.tistory.com/m/552">
<meta property="article:pc_view_url" content="https://wickedmagic.tistory.com/552">
<meta property="article:talk_channel_view_url" content="https://wickedmagic.tistory.com/m/552">
<meta property="article:pc_service_home" content="https://www.tistory.com">
<meta property="article:mobile_service_home" content="https://www.tistory.com/m">
<meta property="article:txid" content="885720_552">
<meta property="article:published_time" content="2016-11-17T11:59:36+09:00">
<meta property="og:regDate" content="20161117115936">
<meta property="article:modified_time" content="2016-11-18T09:49:00+09:00">
<link rel="stylesheet" type="text/css" href="https://t1.daumcdn.net/tistory_admin/lib/lightbox/css/lightbox.min.css">
<link rel="stylesheet" type="text/css" href="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/style/font.css">
<link rel="stylesheet" type="text/css" href="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/style/content.css">
<link rel="stylesheet" type="text/css" href="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/style/uselessPMargin.css">
<script type="text/javascript">(function() {
var tjQuery = jQuery.noConflict(true);
window.tjQuery = tjQuery;
window.orgjQuery = window.jQuery; window.jQuery = tjQuery;
window.jQuery = window.orgjQuery; delete window.orgjQuery;
})()</script>
<script type="text/javascript" src="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/script/base.js"></script>
<script type="text/javascript" src="//developers.kakao.com/sdk/js/kakao.min.js"></script>
<meta charset="UTF-8">
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, width=device-width">
<title>[DaumEditor] 다음 에디터(Daum Editor) 세팅하고 사용하기.</title>
<link rel="stylesheet" href="https://tistory1.daumcdn.net/tistory/0/pg_Whatever/style.css">
<script src="//t1.daumcdn.net/tistory_admin/lib/jquery/jquery-1.12.4.min.js"></script>
<style type="text/css">.another_category {
border: 1px solid #E5E5E5;
padding: 10px 10px 5px;
margin: 10px 0;
clear: both;
}
.another_category h4 {
font-size: 12px !important;
margin: 0 !important;
border-bottom: 1px solid #E5E5E5 !important;
padding: 2px 0 6px !important;
}
.another_category h4 a {
font-weight: bold !important;
}
.another_category table {
table-layout: fixed;
border-collapse: collapse;
width: 100% !important;
margin-top: 10px !important;
}
* html .another_category table {
width: auto !important;
}
*:first-child + html .another_category table {
width: auto !important;
}
.another_category th, .another_category td {
padding: 0 0 4px !important;
}
.another_category th {
text-align: left;
font-size: 12px !important;
font-weight: normal;
word-break: break-all;
overflow: hidden;
line-height: 1.5;
}
.another_category td {
text-align: right;
width: 80px;
font-size: 11px;
}
.another_category th a {
font-weight: normal;
text-decoration: none;
border: none !important;
}
.another_category th a.current {
font-weight: bold;
text-decoration: none !important;
border-bottom: 1px solid !important;
}
.another_category th span {
font-weight: normal;
text-decoration: none;
font: 10px Tahoma, Sans-serif;
border: none !important;
}
.another_category_color_gray, .another_category_color_gray h4 {
border-color: #E5E5E5 !important;
}
.another_category_color_gray * {
color: #909090 !important;
}
.another_category_color_gray th a.current {
border-color: #909090 !important;
}
.another_category_color_gray h4, .another_category_color_gray h4 a {
color: #737373 !important;
}
.another_category_color_red, .another_category_color_red h4 {
border-color: #F6D4D3 !important;
}
.another_category_color_red * {
color: #E86869 !important;
}
.another_category_color_red th a.current {
border-color: #E86869 !important;
}
.another_category_color_red h4, .another_category_color_red h4 a {
color: #ED0908 !important;
}
.another_category_color_green, .another_category_color_green h4 {
border-color: #CCE7C8 !important;
}
.another_category_color_green * {
color: #64C05B !important;
}
.another_category_color_green th a.current {
border-color: #64C05B !important;
}
.another_category_color_green h4, .another_category_color_green h4 a {
color: #3EA731 !important;
}
.another_category_color_blue, .another_category_color_blue h4 {
border-color: #C8DAF2 !important;
}
.another_category_color_blue * {
color: #477FD6 !important;
}
.another_category_color_blue th a.current {
border-color: #477FD6 !important;
}
.another_category_color_blue h4, .another_category_color_blue h4 a {
color: #1960CA !important;
}
.another_category_color_violet, .another_category_color_violet h4 {
border-color: #E1CEEC !important;
}
.another_category_color_violet * {
color: #9D64C5 !important;
}
.another_category_color_violet th a.current {
border-color: #9D64C5 !important;
}
.another_category_color_violet h4, .another_category_color_violet h4 a {
color: #7E2CB5 !important;
}
</style>
<link rel="stylesheet" type="text/css" href="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/style/revenue.css">
<link rel="canonical" href="https://wickedmagic.tistory.com/552">
<!-- BEGIN STRUCTURED_DATA -->
<script type="application/ld+json">
{"@context":"http://schema.org","@type":"BlogPosting","mainEntityOfPage":{"@id":"https://wickedmagic.tistory.com/552","name":null},"url":"https://wickedmagic.tistory.com/552","headline":"[DaumEditor] 다음 에디터(Daum Editor) 세팅하고 사용하기.","description":"첨부파일 : ■ 다음 에디터(Daum Editor) 세팅하고 사용하기 01. https://github.com/kakao/DaumEditor/tree/gh-pages/download에 접속해서 다음에디터를 다운받자. 02. 화면 최하단을 보면 How to download 라고 적힌 유의사항이 적힌 부분이 있는데. 여기서는 안정적인 stable(7.4.X) 버전대를 사용하기로 한다. 03. Stable(7.4.X)버전에서 가장 높은 버전대를 찾아 선택하고 클릭한다. 04. 해당 버전의 다운로드 페이지로 이동되면 아래 순서대로 작업을 수행한다. ① Download 버튼을 클릭한다. ② 확인 버튼을 클릭하여 daumeditor.zip 파일을 다운받는다. 05. 이제 다음 에디터 프로젝트를 수행할 폴더를 생성하..","author":{"@type":"Person","name":"사악미소","logo":null},"image":{"@type":"ImageObject","url":"https://img1.daumcdn.net/thumb/R800x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F22103B37582D3D2A33","width":"800px","height":"800px"},"datePublished":"20161117T11:59:36","dateModified":"20161118T09:49:00","publisher":{"@type":"Organization","name":"TISTORY","logo":{"@type":"ImageObject","url":"https://t1.daumcdn.net/tistory_admin/static/images/openGraph/opengraph.png","width":"800px","height":"800px"}}}
</script>
<!-- END STRUCTURED_DATA -->
<link rel="stylesheet" type="text/css" href="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/style/dialog.css">
<link rel="stylesheet" type="text/css" href="//t1.daumcdn.net/tistory_admin/www/style/top/font.css">
<link rel="stylesheet" type="text/css" href="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/style/postBtn.css">
<link rel="stylesheet" type="text/css" href="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/style/comment.css">
<link rel="stylesheet" type="text/css" href="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/style/tistory.css">
<script type="text/javascript" src="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/script/common.js"></script>
<script type="text/javascript" src="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/script/comment.js" defer=""></script>
<style type="text/css">#DragSchLayer{display:block;position:absolute;z-index:1000;width:61px;height:31px;margin:-30px 0px 0px -5px;background:url(//search1.daumcdn.net/search/statics/common/pi/btn_drag_rect.png);cursor:pointer} @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx) { #DragSchLayer{background-image:url(//search1.daumcdn.net/search/statics/common/pi/r2/btn_drag_rect.png);background-size:61px 31px}} </style><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" media="all"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" media="all"><style>@font-face{font-family:swiper-icons;src:url("data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA");font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translate3d(0px, 0, 0)}.swiper-pointer-events{touch-action:pan-y}.swiper-pointer-events.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper::before{content:"";flex-shrink:0;order:9999}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}</style></head>
<body id="tt-body-page" class="layout-wide color-bright post-type-text paging-view-more">
<div id="acc-nav">
<a href="#content">본문 바로가기</a>
</div>
<div id="wrap">
<header id="header">
<div class="inner">
<h1>
<a href="https://wickedmagic.tistory.com/">
사악미소의 현대마법의 공방
</a>
</h1>
<button type="button" class="mobile-menu"><span>메뉴</span></button>
<nav id="gnb">
<ul>
<li class="t_menu_home first"><a href="/" target="">홈</a></li>
<li class="t_menu_tag"><a href="/tag" target="">태그</a></li>
<li class="t_menu_medialog"><a href="/media" target="">미디어로그</a></li>
<li class="t_menu_location"><a href="/location" target="">위치로그</a></li>
<li class="t_menu_guestbook last"><a href="/guestbook" target="">방명록</a></li>
</ul>
</nav>
</div>
</header>
<hr>
<section class="container">
<article id="content">
<div class="inner">
<div class="hgroup">
<div class="category">DaumEditor</div>
<h1>[DaumEditor] 다음 에디터(Daum Editor) 세팅하고 사용하기. </h1>
<div class="post-meta">
<span class="author">사악미소</span>
<span class="date">2016. 11. 17. 11:59</span>
</div>
</div>
<div class="entry-content" id="article-view">
<script xxxxonerror="changeAdsenseToAdfit()" async="" src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-9527582522912841" crossorigin="anonymous"></script>
<!-- inventory -->
<div style="text-align: center"><ins class="kakao_ad_area" style="display: inline-block; margin: 50px 0px; position: relative; text-decoration: none; min-width: 655px; min-height: 120px; width: 655px; height: 120px;" data-ad-unit="DAN-nRFiQiN4avFYIKbk" id="kakao_ad_yRc70r"><div data-ad-creative-wrap="outer" style="position: absolute; max-height: inherit; inset: 0px;"><div data-ad-creative-wrap="inner" style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; max-height: inherit; border: 0px;" id="f15157cf-2cba-4256-a63e-8b7bc9169766"><iframe id="c6140607-5cad-40a1-bcf3-7d9f06aeedc3" name="{"id":"f15157cf-2cba-4256-a63e-8b7bc9169766","meta":{"shared":{"sf_ver":"1-1-0","ck_on":0,"flash_ver":0,"unitId":"DAN-nRFiQiN4avFYIKbk","requestId":"b756813c-1c6e-4ae6-b406-4e6cd3edba8e","usePrefersColorScheme":false},"conversionTracking":{"etxId":"MOMENT:conversion_id:1hhNCG7eGysKsFaTVZk5gU--jJSiVMhWs6hGDIUne3-v30AqgEiQK6slCY3eB6yjSNY4z33XmA9AhFtzZVRHNEKMqcz0Gvfw5stBxXigsiE"},"adAttributes":{"unit":"DAN-nRFiQiN4avFYIKbk"}},"supports":{"exp-ovr":true,"exp-push":true,"read-cookie":false,"write-cookie":false},"geom":{"win":{"t":0,"b":942,"l":19,"r":1904,"w":1885,"h":942},"self":{"t":412.09375,"b":532.09375,"l":606.5,"r":1261.5,"w":655,"h":120,"xiv":0,"yiv":0,"iv":0,"z":"auto"},"exp":{"t":412.09375,"b":409.90625,"l":606.5,"r":606.5,"xs":0,"ys":0}},"winHasFocus":true,"html":"<!DOCTYPE html>\n<html lang=\"ko\">\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html;charset=utf-8\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<meta http-equiv=\"imagetoolbar\" content=\"no\">\n<meta http-equiv=\"imagetoolbar\" content=\"false\">\n<meta name=\"viewport\" content=\"width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0\">\n<meta name=\"robots\" content=\"noarchive\">\n<meta name=\"robots\" content=\"nosnippet\">\n<meta name=\"robots\" content=\"noindex\">\n<meta name=\"robots\" content=\"nofollow\">\n<meta name=\"robots\" content=\"noodp\">\n<meta name=\"google\" content=\"notranslate\">\n<meta name=\"dspId\" content=\"MOMENT\">\n<meta name=\"referrer\" content=\"unsafe-url\">\n<title>AdFit NAS Advertisement</title>\n<link rel=\"dns-prefetch\" href=\"//t1.daumcdn.net\">\n<link rel=\"preload\" as=\"image\" href=\"https://t1.daumcdn.net/b2/creative/424072/eb26564cd7c78fdb94a0046a76954ad3.jpg\">\n<link rel=\"preload\" as=\"image\" href=\"https://t1.daumcdn.net/b2/creative/424072/93ded3e4c2ced2e8831a6815cd5165cc.png\">\n\n\n<style>/* reset */\nbody,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,textarea,p,blockquote,th,td,input,select,button{margin:0;padding:0}\nfieldset,img{border:0 none}\ndl,ul,ol,menu,li{list-style:none}\nblockquote, q{quotes: none}\nblockquote:before, blockquote:after,q:before, q:after{content:'';content:none}\ninput,select,textarea,button{vertical-align:middle}\ninput::-ms-clear{display:none}\nbutton{border:0 none;background-color:transparent;cursor:pointer}\nbody{background:#fff;-webkit-text-size-adjust:none;text-align:left}\nbody,th,td,input,select,textarea,button{font-size:12px;line-height:1.5;font-family:'Apple SD Gothic Neo','Malgun Gothic','맑은 고딕','dotum','돋움',sans-serif;color:#333}\na{color:#333;text-decoration:none}\na:active, a:hover{text-decoration:underline}\na:active{background-color:transparent}\naddress,caption,cite,code,dfn,em,var{font-style:normal;font-weight:normal}\n/* global */\n.ir_pm{display:block;overflow:hidden;font-size:0;line-height:0;text-indent:-9999px}\n.ir_wa{display:block;overflow:hidden;position:relative;z-index:-1;width:100%;height:100%}\n.ir_caption{overflow:hidden;width:1px;font-size:1px;line-height:0;text-indent:-9999px}\n.screen_out{overflow:hidden;position:absolute;width:0;height:0;line-height:0;text-indent:-9999px}\n.show{display:block}\n.hide{display:none}\n\n.cm_ad{position:relative;width:655px;height:120px;background:#f5f5f5;box-sizing:border-box;letter-spacing:0}\n.cm_ad .link_ad{display:flex;align-items:center;overflow:hidden;width:100%;height:100%;text-decoration:none}\n.cm_ad .link_ad:after{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid rgba(0,0,0,.03);z-index:10;content:\"\"}\n.cm_ad .link_ad .thumb_img{float:left;overflow:hidden;position:relative;width:120px;height:120px}\n.cm_ad .link_ad .thumb_img .img_thumb{display:inline-block;width:100%;height:100%;vertical-align:top}\n.cm_ad .thumb_img .frame_g{position:absolute;top:0;left:0;width:100%;height:100%;border-right:1px solid rgba(0,0,0,.03);box-sizing:border-box}\n.cm_ad .area_ad{display:block;overflow:hidden;width:535px;padding:16px 106px 16px 35px;box-sizing:border-box;position:relative}\n.cm_ad .tit_ad{display:block;overflow:hidden;max-width:467px;font-weight:bold;font-size:18px;line-height:21px;color:#000}\n.cm_ad .tit_ad2{display:block;overflow:hidden;max-width:345px;margin-top:11px;font-weight:bold;font-size:20px;line-height:24px;color:#000}\n.cm_ad .desc_ad{display:block;overflow:hidden;max-width:467px;min-height:30px;padding-top:4px;font-size:13px;line-height:18px;color:rgba(0,0,0,.7)}\n.cm_ad .btn_ad{position:absolute;right:35px;top:50%;transform:translateY(-50%);height:46px;width:46px}\n.cm_ad .btn_ad .ico_ad{display:inline-block;width:46px;height:46px;font-size:0;line-height:0;background:url(https://t1.daumcdn.net/biz/ui/ad/ico_adarr2.png) no-repeat 0 0;background-size:46px 46px;vertical-align:top;text-indent:-9999px}\n.cm_ad .tit_cm{display:block;height:20px;}\n.cm_ad .tit_cm .thumb_logo{overflow:hidden;float:left;width:20px;height:20px;margin-top:-1px;border-radius:2px}\n.cm_ad .tit_cm .img_logo{width:100%}\n.cm_ad .tit_cm .tit_adcm{display:block;overflow:hidden;padding-left:8px;font-weight:normal;font-size:11px;line-height:20px;color:rgba(0,0,0,.6);text-overflow:ellipsis;white-space:nowrap}\n.cm_ad .desc_ad + .tit_cm{margin-top:7px}\n/*admark*/\n.cm_ad .icon_ad{overflow:hidden;position:absolute;right:0;top:0;width:33px;height:24px;font-size:0px;z-index:11}\n.cm_ad .icon_ad .img_mark{display:block;width:25px;height:16px;margin:4px auto;background:url(https://t1.daumcdn.net/biz/ui/ad/ico_adlogo2.png) no-repeat 0 0;background-size:25px 16px}\n/*imark*/\n.cm_ad .icon_ad.imark{overflow:hidden;position:absolute;right:0;top:0;width:22px;height:22px;font-size:0px}\n.cm_ad .imark .img_mark{display:block;width:14px;height:14px;margin:4px auto;background:url(https://t1.daumcdn.net/biz/ui/ad/ADmark/i_mark_200803.png) no-repeat 0 0;background-size:14px 14px}\n/* window 분기*/\n.os_windows .cm_ad .area_ad{padding-left:34px}\n.os_windows .cm_ad .tit_ad{letter-spacing:-2.3px}\n.os_windows .cm_ad .tit_ad2{letter-spacing:-1.9px}\n.os_windows .cm_ad .desc_ad{letter-spacing:-1.8px}\n.os_windows .cm_ad .tit_cm .tit_adcm{line-height:17px}\n\n/* 이미지 블러 */\n.blur_img{opacity:0}\n.blur_img.show{opacity:1}\n</style>\n<script>!function(){var t={802:function(t,e,n){t.exports=function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p=\"\",e(0)}([function(t,e,r){\"use strict\";function o(t){this.name=\"JackdawError\",this.message=t}function i(t,e){function n(t,e){e=e||{};var n=w(t);return P=A(P,{project:n.projectId}),(P=A(P,e||{})).maxBreadcrumbs=Math.max(0,Math.min(P.maxBreadcrumbs,100)),H=n.endpoint,W=P.transport=e.transport||k,this}function r(t){return\"[object DOMError]\"===Object.prototype.toString.call(t)}function l(t){return\"[object DOMException]\"===Object.prototype.toString.call(t)}function d(t,e){P.debug&&console.log(e)}function f(){j=0,q=null}function h(){return j&&N()-q<j}function p(t){if(h())d(\"warn\",\"Should back off\");else{var e=t.status;if(400===e||401===e||429===e){var n;try{n=t.getResponseHeader(\"Retry-After\"),n=1e3*parseInt(n,10)}catch(t){}j=n||2*j||1e3,q=N()}}}function v(t){return!!B&&(t.stacktrace||B.stacktrace?x(t.stacktrace,B.stacktrace):t.exception||B.exception?E(t.exception,B.exception):t.fingerprint||B.fingerprint?Boolean(t.fingerprint&&B.fingerprint)&&L(t.fingerprint)===L(B.fingerprint):_(t.message,B.message))}function m(t,e,n){if(h())e&&e(new o(\"Should back off\"));else{if(v(t))return d(\"warn\",\"Jackdaw dropped repeat event: \",t),void(e&&e(new o(\"Dropped repeat event\")));(t=A(P,t)).tag=t.tag||{},t.extra=t.extra||{},t.extra[\"session:duration\"]=N()-M,F&&F.length>0&&(t.breadcrumbs={values:[].slice.call(F,0)}),V=t.event_id=O(),B=t,d(\"debug\",\"Jackdaw about to send:\",t);var r=U=t.exception&&t.exception.values[0];D.addBreadcrumb({category:\"sentry\",message:r?(r.type?r.type+\": \":\"\")+r.value:t.message,event_id:V,level:t.level||\"error\"});try{n({url:H,data:t,onSuccess:function(){f(),e&&e()},xxxxonError:function(t){d(\"error\",\"Jackdaw transport failed to send: \",t),t.request&&p(t.request),e&&e(t)}})}catch(t){e&&e(t)}}}function w(t){var e,n=/^(?:(\\w+):)\\/\\/(?:(\\w+)(?::(\\w+))?@)([\\w.-]+)(?::(\\d+))?\\/(.+)/.exec(t);return n?((e={protocol:n[1],user:n[2],pass:n[3]||\"\",host:n[4],port:n[5]||\"\",projectId:n[6]}).endpoint=e.protocol+\"://\"+e.host+(e.port?\":\"+e.port:\"\")+\"/api/\"+e.projectId+\"/store/?sentry_version=7&sentry_key=\"+e.user+(e.pass?\"&sentry_secret=\"+e.pass:\"\"),e):\"\"}function g(t,e){function n(){try{return c.location.href}catch(t){}return\"\"}function r(t,e,n,r){var o={url:e,line:n};if(o.url&&o.line){if(t.incomplete=!1,o.func||(o.func=\"?\"),t.stack.length>0&&t.stack[0].url===o.url){if(t.stack[0].line===o.line)return!1;if(!t.stack[0].line&&t.stack[0].func===o.func)return t.stack[0].line=o.line,!1}return t.stack.unshift(o),t.partial=!0,!0}return t.incomplete=!0,!1}function o(t,e){for(var i,a,s=/function\\s+([_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*)?\\s*\\(/i,c=[],u={},l=!1,d=o.caller;d&&!l;d=d.caller)if(d!==g){if(a={url:null,func:\"?\",line:null,column:null},d.name?a.func=d.name:(i=s.exec(d.toString()))&&(a.func=i[1]),void 0===a.func)try{a.func=i.input.substring(0,i.input.indexOf(\"{\"))}catch(t){}u[\"\"+d]?l=!0:u[\"\"+d]=!0,c.push(a)}e&&c.splice(0,e);var f={name:t.name,message:t.message,url:n(),stack:c};return r(f,t.sourceURL||t.fileName,t.line||t.lineNumber,t.message||t.description),f}var i=null;e=null==e?0:+e;try{if(i=function(t){if(void 0!==t.stack&&t.stack){for(var e,r,o,i=/^\\s*at (?:(.*?) ?\\()?((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|[a-z]:|\\/).*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i,a=/^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:file|ms-appx(?:-web)|https?|webpack|blob):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i,s=/^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\\/.*?|\\[native code\\]|[^@]*bundle)(?::(\\d+))?(?::(\\d+))?\\s*$/i,c=/(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i,u=/\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/,l=t.stack.split(\"\\n\"),d=[],f=0,h=l.length;f<h;++f){if(r=i.exec(l[f])){var p=r[2]&&0===r[2].indexOf(\"native\");r[2]&&0===r[2].indexOf(\"eval\")&&(e=u.exec(r[2]))&&(r[2]=e[1],r[3]=e[2],r[4]=e[3]),o={url:p?null:r[2],func:r[1]||\"?\",args:p?[r[2]]:[],line:r[3]?+r[3]:null,column:r[4]?+r[4]:null}}else if(r=a.exec(l[f]))o={url:r[2],func:r[1]||\"?\",args:[],line:+r[3],column:r[4]?+r[4]:null};else{if(!(r=s.exec(l[f])))continue;r[3]&&r[3].indexOf(\" > eval\")>-1&&(e=c.exec(r[3]))?(r[3]=e[1],r[4]=e[2],r[5]=null):0!==f||r[5]||void 0===t.columnNumber||(d[0].column=t.columnNumber+1),o={url:r[3],func:r[1]||\"?\",args:r[2]?r[2].split(\",\"):[],line:r[4]?+r[4]:null,column:r[5]?+r[5]:null}}!o.func&&o.line&&(o.func=\"?\"),d.push(o)}return d.length?{name:t.name,message:t.message,url:n(),stack:d}:null}}(t))return i}catch(t){}try{if(i=o(t,e+1))return i}catch(t){}return{name:t.name,message:t.message,url:n()}}function b(t,e){function n(t,e){var n={filename:t.url,lineno:t.line,colno:t.column,function:t.func||\"?\"};return t.url||(n.filename=e),n}var r=[];if(t.stack&&t.stack.length&&(R(t.stack,(function(e,o){var i=n(o,t.url);i&&r.push(i)})),e&&e.trimHeadFrames))for(var o=0;o<e.trimHeadFrames&&o<r.length;o++)r[o].in_app=!1;return r=r.slice(0,50)}function y(t,e,n,r,o,i){var a;o&&o.length?(n=o[0].filename||n,o.reverse(),a={frames:o}):n&&(a={frames:[{filename:n,lineno:r,in_app:!0}]});var s=A({exception:{values:[{type:t,value:e,stacktrace:a}]}},i),c=s.exception.values[0];return null==c.type&&\"\"===c.value&&(c.value=\"Unrecoverable error caught\"),s}function E(t,e){return!I(t,e)&&(t=t.values[0],e=e.values[0],t.type===e.type&&t.value===e.value&&!C(t.stacktrace,e.stacktrace)&&x(t.stacktrace,e.stacktrace))}function x(t,e){if(I(t,e))return!1;var n=t.frames,r=e.frames;if(void 0===n||void 0===r)return!1;if(n.length!==r.length)return!1;for(var o,i,a=0;a<n.length;a++)if(o=n[a],i=r[a],o.filename!==i.filename||o.lineno!==i.lineno||o.colno!==i.colno||o.function!==i.function)return!1;return!0}function _(t,e){return!(!t&&!e||t&&!e||!t&&e||t!==e)}function k(t){var e=t.url,n=s.XMLHttpRequest&&new s.XMLHttpRequest;if(!n)return!1;var r=\"withCredentials\"in n;if(!r&&void 0===s.XDomainRequest)return!1;r?n.onreadystatechange=function(){if(4!==n.readyState);else if(200===n.status)t.onSuccess&&t.onSuccess();else if(t.xxxxonError){var e=new o(\"Transport error code: \"+n.status);e.request=n,t.xxxxonError(e)}}:(n=new s.XDomainRequest,e=e.replace(/^https?:/,\"\"),t.onSuccess&&(n.xxxxonload=t.onSuccess),t.xxxxonError&&(n.xxxxonerror=function(){var e=new o(\"Transport error code: XDomainRequest\");e.request=n,t.xxxxonError(e)})),n.open(\"POST\",e,!0),n.send(L(t.data))}function I(t,e){return!!(!!t^!!e)}function C(t,e){return T(t)&&T(e)}function T(t){return void 0===t}function O(){return\"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx\".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return(\"x\"===t?e:3&e|8).toString(16)}))}function L(t){return(JSON.stringify||function t(e){var n=void 0===e?\"undefined\":a(e);if(\"object\"!==n||null===e)return\"string\"===n&&(e='\"'+e+'\"'),String(e);var r,o,i=[],s=e&&e.constructor===Array;for(r in e)\"string\"===(n=void 0===(o=e[r])?\"undefined\":a(o))?o='\"'+o+'\"':\"object\"===n&&null!==o&&(o=t(o)),i.push((s?\"\":'\"'+r+'\":')+String(o));return(s?\"[\":\"{\")+String(i)+(s?\"]\":\"}\")})(t)}function A(t,e){return e?(R(e,(function(e,n){t[e]=n})),t):t}function R(t,e){var n,r;if(\"function\"==typeof e)if(t.length){if(r=t.length)for(n=0;n<r;n++)e.call(null,n,t[n])}else for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.call(null,n,t[n])}function N(){return+new Date}if(this instanceof i==0)return new i(t,e);if(!t)throw new o(\"All I want is a public DSN string\");var S=i._instanceMap=i._instanceMap||{};if(S[t])return e&&S[t].config(t,e),S[t];S[t]=this;var D=this,M=N(),F=[],V=null,B=null,U=null,j=0,q=null,H=null,P={logger:\"javascript\",platform:\"javascript\",request:{headers:{\"User-Agent\":u.userAgent},url:c.location.href,referrer:c.referrer},sdk:{name:\"@kakao/jackdaw-js\",version:\"1.0.5\"},level:\"error\",maxBreadcrumbs:100,debug:!1},W=k;this.config=n,this.addBreadcrumb=function(t){var e=A({timestamp:N()/1e3},t);return F.push(e),F.length>P.maxBreadcrumbs&&F.splice(0,F.length-P.maxBreadcrumbs),this},this.captureMessage=function(t,e,n){var r=W;if(!t)throw new o(\"Need something to send message\");return e&&\"function\"==typeof e.transport&&(r=e.transport,delete e.transport),m(A({message:t+\"\"},e||{}),n,r),this},this.captureException=function(t,e,n){var i=W;if(!t)throw new o(\"Need something to send exception or error\");if(e&&\"function\"==typeof e.transport&&(i=e.transport,delete e.transport),t.error&&(t=t.error),r(t)||l(t)){var a=t.name||(r(t)?\"DOMError\":\"DOMException\"),s=t.message?a+\": \"+t.message:a;return this.captureMessage(s,A(e,{stacktrace:!0,trimHeadFrames:e.trimHeadFrames+1}))}U=t,(e=A({trimHeadFrames:0},e||{})).level=e.level||\"error\";var c=g(t),u=b(c);return m(y(c.name,c.message,c.url,c.lineno,u,e),n,i),this},this.lastException=function(){return U},this.lastData=function(){return B},this.lastEventId=function(){return V},n(t,e)}var a=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},s=\"undefined\"!=typeof window?window:void 0!==n.g?n.g:\"undefined\"!=typeof self?self:{},c=s.document,u=s.navigator;s.Jackdaw||(s.Jackdaw=i),o.prototype=new Error,o.prototype.constructor=o,t.exports=i}])},998:function(t,e,n){t.exports=n(802)},443:function(){var t,e,n,r,o,i,a;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(Element.prototype.matches.call(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}),\"isConnected\"in Node.prototype||Object.defineProperty(Node.prototype,\"isConnected\",{get:function(){return!(this.ownerDocument&&this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}}),!window.addEventListener&&(t=Window.prototype,e=HTMLDocument.prototype,n=Element.prototype,o=\"removeEventListener\",i=\"dispatchEvent\",a=[],t[r=\"addEventListener\"]=e[r]=n[r]=function(t,e){var n=this;a.unshift([n,t,e,function(t){t.currentTarget=n,t.preventDefault=function(){t.returnValue=!1},t.stopPropagation=function(){t.cancelBubble=!0},t.target=t.srcElement||n,e.call(n,t)}]),this.attachEvent(\"on\"+t,a[0][3])},t[o]=e[o]=n[o]=function(t,e){for(var n,r=0;n=a[r];++r)if(n[0]==this&&n[1]==t&&n[2]==e)return this.detachEvent(\"on\"+t,a.splice(r,1)[0][3])},t[i]=e[i]=n[i]=function(t){return this.fireEvent(\"on\"+t.type,t)}),document.getElementsByClassName||(document.getElementsByClassName=function(t){var e,n,r,o=document,i=[];if(o.querySelectorAll)return o.querySelectorAll(\".\"+t);if(o.evaluate)for(n=\".//*[contains(concat(' ', @class, ' '), ' \"+t+\" ')]\",e=o.evaluate(n,o,null,0,null);r=e.iterateNext();)i.push(r);else for(e=o.getElementsByTagName(\"*\"),n=new RegExp(\"(^|\\\\s)\"+t+\"(\\\\s|$)\"),r=0;r<e.length;r++)n.test(e[r].className)&&i.push(e[r]);return i}),function(){if(\"function\"==typeof window.CustomEvent)return!1;function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent(\"CustomEvent\");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}t.prototype=window.Event.prototype,window.CustomEvent=t}()},952:function(){function t(e){return t=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&\"function\"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?\"symbol\":typeof t},t(e)}!function(){\"use strict\";if(\"object\"===(\"undefined\"==typeof window?\"undefined\":t(window)))if(\"IntersectionObserver\"in window&&\"IntersectionObserverEntry\"in window&&\"intersectionRatio\"in window.IntersectionObserverEntry.prototype)\"isIntersecting\"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,\"isIntersecting\",{get:function(){return this.intersectionRatio>0}});else{var e=function(t){for(var e=window.document,n=i(e);n;)n=i(e=n.ownerDocument);return e}(),n=[],r=null,o=null;s.prototype.THROTTLE_TIMEOUT=100,s.prototype.POLL_INTERVAL=null,s.prototype.USE_MUTATION_OBSERVER=!0,s._setupCrossOriginUpdater=function(){return r||(r=function(t,e){o=t&&e?f(t,e):{top:0,bottom:0,left:0,right:0,width:0,height:0},n.forEach((function(t){t._checkForIntersections()}))}),r},s._resetCrossOriginUpdater=function(){r=null,o=null},s.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element===t}))){if(!t||1!==t.nodeType)throw new Error(\"target must be an Element\");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},s.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!==t})),this._unmonitorIntersections(t.ownerDocument),0===this._observationTargets.length&&this._unregisterInstance()},s.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},s.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},s.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if(\"number\"!=typeof t||isNaN(t)||t<0||t>1)throw new Error(\"threshold must be a number between 0 and 1 inclusively\");return t!==n[e-1]}))},s.prototype._parseRootMargin=function(t){var e=(t||\"0px\").split(/\\s+/).map((function(t){var e=/^(-?\\d*\\.?\\d+)(px|%)$/.exec(t);if(!e)throw new Error(\"rootMargin must be specified in pixels or percent\");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},s.prototype._monitorIntersections=function(t){var n=t.defaultView;if(n&&-1===this._monitoringDocuments.indexOf(t)){var r=this._checkForIntersections,o=null,a=null;this.POLL_INTERVAL?o=n.setInterval(r,this.POLL_INTERVAL):(c(n,\"resize\",r,!0),c(t,\"scroll\",r,!0),this.USE_MUTATION_OBSERVER&&\"MutationObserver\"in n&&(a=new n.MutationObserver(r)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(o&&e.clearInterval(o),u(e,\"resize\",r,!0)),u(t,\"scroll\",r,!0),a&&a.disconnect()}));var s=this.root&&(this.root.ownerDocument||this.root)||e;if(t!==s){var l=i(t);l&&this._monitorIntersections(l.ownerDocument)}}},s.prototype._unmonitorIntersections=function(t){var n=this._monitoringDocuments.indexOf(t);if(-1!==n){var r=this.root&&(this.root.ownerDocument||this.root)||e,o=this._observationTargets.some((function(e){var n=e.element.ownerDocument;if(n===t)return!0;for(;n&&n!==r;){var o=i(n);if((n=o&&o.ownerDocument)===t)return!0}return!1}));if(!o){var a=this._monitoringUnsubscribes[n];if(this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),a(),t!==r){var s=i(t);s&&this._unmonitorIntersections(s.ownerDocument)}}}},s.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var e=0;e<t.length;e++)t[e]()},s.prototype._checkForIntersections=function(){if(this.root||!r||o){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(n){var o=n.element,i=l(o),s=this._rootContainsTarget(o),c=n.entry,u=t&&s&&this._computeTargetAndRootIntersection(o,i,e),d=null;this._rootContainsTarget(o)?r&&!this.root||(d=e):d={top:0,bottom:0,left:0,right:0,width:0,height:0};var f=n.entry=new a({time:window.performance&&performance.now&&performance.now(),target:o,boundingClientRect:i,rootBounds:d,intersectionRect:u});c?t&&s?this._hasCrossedThreshold(c,f)&&this._queuedEntries.push(f):c&&c.isIntersecting&&this._queuedEntries.push(f):this._queuedEntries.push(f)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)}},s.prototype._computeTargetAndRootIntersection=function(t,n,i){if(\"none\"!==window.getComputedStyle(t).display){for(var a,s,c,u,d,h,v,m,w=n,g=p(t),b=!1;!b&&g;){var y=null,E=1===g.nodeType?window.getComputedStyle(g):{};if(\"none\"===E.display)return null;if(g===this.root||9===g.nodeType)if(b=!0,g===this.root||g===e)r&&!this.root?!o||0===o.width&&0===o.height?(g=null,y=null,w=null):y=o:y=i;else{var x=p(g),_=x&&l(x),k=x&&this._computeTargetAndRootIntersection(x,_,i);_&&k?(g=x,y=f(_,k)):(g=null,w=null)}else{var I=g.ownerDocument;g!==I.body&&g!==I.documentElement&&\"visible\"!==E.overflow&&(y=l(g))}if(y&&(a=y,s=w,c=void 0,u=void 0,d=void 0,h=void 0,v=void 0,m=void 0,c=Math.max(a.top,s.top),u=Math.min(a.bottom,s.bottom),d=Math.max(a.left,s.left),h=Math.min(a.right,s.right),m=u-c,w=(v=h-d)>=0&&m>=0&&{top:c,bottom:u,left:d,right:h,width:v,height:m}||null),!w)break;g=g&&p(g)}return w}},s.prototype._getRootRect=function(){var t;if(this.root&&!v(this.root))t=l(this.root);else{var n=v(this.root)?this.root:e,r=n.documentElement,o=n.body;t={top:0,left:0,right:r.clientWidth||o.clientWidth,width:r.clientWidth||o.clientWidth,bottom:r.clientHeight||o.clientHeight,height:r.clientHeight||o.clientHeight}}return this._expandRectByRootMargin(t)},s.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return\"px\"===e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},s.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i===n||i===r||i<n!=i<r)return!0}},s.prototype._rootIsInDom=function(){return!this.root||h(e,this.root)},s.prototype._rootContainsTarget=function(t){var n=this.root&&(this.root.ownerDocument||this.root)||e;return h(n,t)&&(!this.root||n===t.ownerDocument)},s.prototype._registerInstance=function(){n.indexOf(this)<0&&n.push(this)},s.prototype._unregisterInstance=function(){var t=n.indexOf(this);-1!==t&&n.splice(t,1)},window.IntersectionObserver=s,window.IntersectionObserverEntry=a}function i(t){try{return t.defaultView&&t.defaultView.frameElement||null}catch(t){return null}}function a(t){this.time=t.time,this.target=t.target,this.rootBounds=d(t.rootBounds),this.boundingClientRect=d(t.boundingClientRect),this.intersectionRect=d(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,r=this.intersectionRect,o=r.width*r.height;this.intersectionRatio=n?Number((o/n).toFixed(4)):this.isIntersecting?1:0}function s(t,e){var n,r,o,i=e||{};if(\"function\"!=typeof t)throw new Error(\"callback must be a function\");if(i.root&&1!==i.root.nodeType&&9!==i.root.nodeType)throw new Error(\"root must be a Document or Element\");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,o=null,function(){o||(o=setTimeout((function(){n(),o=null}),r))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(i.rootMargin),this.thresholds=this._initThresholds(i.threshold),this.root=i.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(\" \"),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function c(t,e,n,r){\"function\"==typeof t.addEventListener?t.addEventListener(e,n,r||!1):\"function\"==typeof t.attachEvent&&t.attachEvent(\"on\".concat(e),n)}function u(t,e,n,r){\"function\"==typeof t.removeEventListener?t.removeEventListener(e,n,r||!1):\"function\"==typeof t.detatchEvent&&t.detatchEvent(\"on\".concat(e),n)}function l(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function d(t){return!t||\"x\"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function f(t,e){var n=e.top-t.top,r=e.left-t.left;return{top:n,left:r,height:e.height,width:e.width,bottom:n+e.height,right:r+e.width}}function h(t,e){for(var n=e;n;){if(n===t)return!0;n=p(n)}return!1}function p(t){var n=t.parentNode;return 9===t.nodeType&&t!==e?i(t):(n&&n.assignedSlot&&(n=n.assignedSlot.parentNode),n&&11===n.nodeType&&n.host?n.host:n)}function v(t){return t&&9===t.nodeType}}()}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,{a:e}),e},n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if(\"object\"==typeof globalThis)return globalThis;try{return this||new Function(\"return this\")()}catch(t){if(\"object\"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){\"use strict\";n(443);function t(t,e){return t&&t.className.indexOf(e)>=0}function e(e,n){e&&(\"classList\"in e?e.classList.add(n):t(e,n)||(e.className+=(e.className?\" \":\"\")+n))}function r(e,n){e&&(\"classList\"in e?e.classList.remove(n):t(e,n)&&(e.className=e.className.replace(new RegExp(\"\\\\s*\".concat(n,\"\\\\s*\"),\"i\"),\"\")))}function o(t){try{return t.detail.source||t.target}catch(e){return t.srcElement||t.target}}!function(){var t=window.navigator.userAgent,e=t.indexOf(\"MSIE \");if(e>-1)return parseInt(t.substring(e+5,t.indexOf(\".\",e)),10);if(t.indexOf(\"Trident/\")>0){var n=t.indexOf(\"rv:\");return parseInt(t.substring(n+3,t.indexOf(\".\",n)),10)}var r=t.indexOf(\"Edge/\");r>0&&parseInt(t.substring(r+5,t.indexOf(\".\",r)),10)}();function i(t,e){for(var n=e.length,r=0;r<n;)t(e[r],r,e),r+=1;return e}function a(t,e){if(-1!==navigator.userAgent.toLowerCase().indexOf(\"firefox\")){var n=t.getElementsByClassName(e);window.addEventListener(\"resize\",r),r()}function r(){!function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,o=e.length;r!==o;r++)try{n.push(t(e[r],r,e))}catch(t){console&&(console.error||console.log)(t)}}((function(t){var e=t.getBoundingClientRect();t.style.width=\"\".concat(e.height,\"px\")}),n)}}function s(){return/daumapps/i.test(window.navigator.userAgent.toLowerCase())}function c(){return/kakaotalk/i.test(window.navigator.userAgent.toLowerCase())}s()&&(window.addEventListener(\"daumapps:tab_activation_change\",(function(t){window.isCurrentWebViewActivated=t.detail.isActivated,window.dispatchEvent(new CustomEvent(\"adfit:isCurrentWebViewActivated\",{detail:t.detail}))})),window.addEventListener(\"daumapps:update_browser_info\",(function(t){window.useMediaAutoPlay=t.detail.mediaAutoPlayEnabled,window.dispatchEvent(new CustomEvent(\"adfit:useMediaAutoPlay\",{detail:t.detail}))}))),c()&&(window.addEventListener(\"kakaotalk:activatixxxxonChange\",(function(t){window.isCurrentWebViewActivated=t.detail.isActivated,window.dispatchEvent(new CustomEvent(\"adfit:isCurrentWebViewActivated\",{detail:t.detail}))})),window.addEventListener(\"kakaotalk:autoPlayAvailableStatus\",(function(t){window.useMediaAutoPlay=t.detail.isAvailable,window.dispatchEvent(new CustomEvent(\"adfit:useMediaAutoPlay\",{detail:t.detail}))})));n(952);var u=function(){try{return window.localStorage&&\"true\"===window.localStorage.getItem(\"debug\")||!0===window._ADFIT_NAS_LOGGER_}catch(t){return!0===window._ADFIT_NAS_LOGGER_}}();function l(){try{var t=Array.prototype.slice.call(arguments);t.unshift(\"[\".concat(\"layout_ftl_builder\",\"@\").concat(\"1.4.0\",\"]\")),u&&window.console.log.apply(window.console,t)}catch(t){}}function d(t){return function(){var e=Array.prototype.slice.call(arguments);return e.unshift(\"\".concat(t,\":\")),l.apply(null,e)}}const f=l;var h=\"ad-viewable\",p=d(\"viewableObserverFactory\");IntersectionObserver._setupCrossOriginUpdater&&(p(\"IntersectionObserver._setupCrossOriginUpdater detected \"),window.addEventListener(\"frameIntersectionRect\",(function(t){p(\"incoming frameIntersectionRect message: \".concat(JSON.stringify(t.detail))),IntersectionObserver._setupCrossOriginUpdater()(t.detail.boundingClientRect,t.detail.intersectionRect)})));var v=n(998),m=n.n(v);function w(t){this.message=t||\"\"}function g(t){this.message=t||\"\"}function b(t){this.message=t||\"\"}function y(t){var e={addBreadcrumb:function(){return e},captureException:function(){}};try{return m()&&m()(t)}catch(t){return e}}w.prototype=new Error,w.prototype.name=\"ImageRatioError\",w.prototype.constructor=w,g.prototype=new Error,g.prototype.name=\"ResourceFetchError\",g.prototype.constructor=g,b.prototype=new Error,b.prototype.name=\"RuntimeError\",b.prototype.constructor=b,window.xxxxonerror=function(t,e,n,r,o){f(\"window.xxxxonerror: \".concat(t,\" \").concat(e,\" \").concat(n,\" \").concat(r,\" \").concat(o)),y(\"https://d54bf56b8d5d42bdbce087ab8c96163c@aem-kakao-collector.onkakao.net/3078\").captureException(o)};try{/^mac/.test(navigator.platform.toLowerCase())&&(document.head.parentNode.className=\"os_mac\")||/^win/.test(navigator.platform.toLowerCase())&&(document.head.parentNode.className=\"os_windows\")||navigator.userAgent.match(/Android/i)&&(document.head.parentNode.className=\"os_android\")}catch(t){}var E=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=n.log,a=void 0===o?function(t){return t}:o,s=n.viewableContinuousTime,c=void 0===s?1e3:s,u=n.viewableThreshold,l=void 0===u?.5:u,d=n.viewableTimerIdAttribute,f=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=n.log,a=void 0===o?function(){}:o,s=n.onViewableCallback,c=void 0===s?function(t,e){}:s,u=n.onDismissCallback,l=void 0===u?function(t,e){}:u,d=n.viewableThreshold,f=void 0===d?.5:d,h=n.viewableContinuousTime,p=void 0===h?1e3:h,v=n.viewableTimerIdAttribute,m=void 0===v?\"data-ad-viewable-timer-id\":v;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.log,n=void 0===e?function(){}:e,r=t.onVisibleCallback,o=void 0===r?function(t,e){}:r,a=t.onDismissCallback,s=void 0===a?function(t,e){}:a,c=t.threshold,u=void 0===c?.5:c;return new IntersectionObserver((function(t,e){i((function(t){if(n(\"entry.isIntersecting: \".concat(t.isIntersecting)),n(\"entry.intersectionRatio: \".concat(t.intersectionRatio)),t.isIntersecting&&t.intersectionRatio>=u)try{\"function\"==typeof o&&o(t,e)}catch(t){}else try{\"function\"==typeof s&&s(t,e)}catch(t){}}),t)}),{threshold:u})}({log:a,threshold:f,onVisibleCallback:function(n,r){if(!t(n.target,\"viewable\")){var o=n.target.getAttribute(m);if(o&&(a(\"reset timer\"),clearTimeout(Number(o)),n.target.removeAttribute(m)),n.isIntersecting&&n.intersectionRatio>=f){a(\"first visible!\");var i=setTimeout((function(){if(a(\"still visible?\"),n.isIntersecting&&n.intersectionRatio>=f){a(\"fire viewable callback\"),e(n.target,\"viewable\"),n.target.removeAttribute(m);try{\"function\"==typeof c&&c(n,r)}catch(t){}}}),p);n.target.setAttribute(m,String(i))}}},onDismissCallback:function(t,e){try{var n=t.target.getAttribute(m);n&&(a(\"reset timer\"),clearTimeout(Number(n)),t.target.removeAttribute(m)),r(t.target,\"viewable\"),\"function\"==typeof l&&l(t,e)}catch(t){}}})}({log:a,viewableThreshold:l,viewableContinuousTime:c,viewableTimerIdAttribute:void 0===d?\"data-ad-viewable-timer-id\":d,onViewableCallback:function(t){a(\"dispatch internal viewable event\"),t.target.dispatchEvent(new CustomEvent(h))},onDismissCallback:function(t){a(\"dispatch internal dismiss event\"),t.target.dispatchEvent(new CustomEvent(\"ad-dismiss\"))}});return function(t,e){try{t&&!t._attachedViewableEventListener&&(a(\"add event listener once\"),t._attachedViewableEventListener=!0,t.addEventListener(h,(function n(){a(\"remove event listener once\"),t.removeEventListener(h,n);try{a(\"run viewable event\"),\"function\"==typeof e&&e(t)}catch(t){}})),f.observe(t))}catch(t){a(t)}return{unobserve:function(){return f.unobserve(t)}}}}({log:f,viewableContinuousTime:1e3,viewableThreshold:.5});window.$sf=window.$sf||{ext:{inViewPercentage:function(){return f(\"cannot use $sf.ext.inViewPercentage\"),0},register:function(){f(\"cannot use $sf.ext.register api\")},meta:function(){return f(\"cannot use $sf.ext.meta api\"),null}}},window.addEventListener(\"message\",(function(t){try{var e=JSON.parse(t.data);if(\"adfit\"!==e.from)return!1;f(\"dispatch global event: \".concat(e.type,\" \").concat(JSON.stringify(e.detail))),window.dispatchEvent(new CustomEvent(e.type,{detail:e.detail}))}catch(t){}})),window.addEventListener(\"message\",(function t(e){e&&\"ad-fit-viewable-fired\"===e.data&&!window.isViewableFired&&(window.removeEventListener(\"message\",t),window.isViewableFired=!0)})),window.addEventListener(\"adfit:rendered\",(function n(r){var i=o(r);i&&!t(i,\"rendered\")&&(window.removeEventListener(\"adfit:rendered\",n),e(i,\"rendered\"))})),window.addEventListener(\"adfit:rendered\",(function t(e){window.removeEventListener(\"adfit:rendered\",t);var n=o(e);if(!n)return y(\"https://d54bf56b8d5d42bdbce087ab8c96163c@aem-kakao-collector.onkakao.net/3078\").captureException(new Error(\"installViewableObserver: no event target\")),!1;var r=s()&&/m\\.daum\\.net/.test(document.referrer)&&document.referrer.indexOf(\"view=\")>-1,i=c()&&/search\\.daum\\.net\\/kakao/.test(document.referrer);function a(t){E(t,(function(){f(\"dispatch viewable event: \"),window.dispatchEvent(new CustomEvent(\"adfit:viewable\"))}))}r||i?window.isCurrentWebViewActivated?a(n):window.addEventListener(\"adfit:isCurrentWebViewActivated\",(function t(e){e.detail.isActivated&&(window.removeEventListener(\"adfit:isCurrentWebViewActivated\",t),a(n))})):a(n)})),window.addEventListener(\"adfit:assetFetchLoad\",(function(t){var e=d(\"assetFetchLoadDocumentEventHandler\"),n=o(t);if(!n)return e(\"no event target\"),!1;if(r(n.parentNode,\"spinner\"),\"IMG\"===n.tagName.toUpperCase()&&\"naturalWidth\"in n){var i=n.naturalWidth,a=n.naturalHeight,s=n.width,c=n.height,u=i/a,l=s/c,f=parseInt(n.getAttribute(\"data-asset-width\"),10),h=parseInt(n.getAttribute(\"data-asset-height\"),10),p=f/h,v=u===p||l===p;if(n.complete&&!1===v){var m=new w(n.src);y(\"https://830b454857374cdf9f8ff20eccc5901b@aem-kakao-collector.onkakao.net/3081\").addBreadcrumb({category:\"renderedEventHandler\",message:\"\\uc774\\ubbf8\\uc9c0 \\ube44\\uc728 \\ub9de\\uc9c0 \\uc54a\\uc74c\",level:\"warn\"}).captureException(m,{tags:{dspId:(document.querySelector('meta[name=\"dspId\"]')||{content:\"unknown\"}).content,referrer:document.referrer,assetUrl:n.src,assetImageWidth:f,assetImageHeight:h,imageNaturalWidth:i,imageNaturalHeight:a,imageDomWidth:s,imageDomHeight:c}})}}})),window.addEventListener(\"adfit:assetFetchError\",(function(t){var n=d(\"assetFetchErrorEventHandler\"),i=o(t);if(!i)return n(\"no event target\"),!1;var a=i.src,s=parseInt(i.getAttribute(\"data-asset-fetch-retry-cnt\")||0),c=parseInt(i.getAttribute(\"data-asset-fetch-retry-max-count\")||3),u=parseInt(i.getAttribute(\"data-asset-fetch-retry-interval\")||2e3);if(i.style.visibility=\"hidden\",e(i.parentNode,\"spinner\"),s<c)return i.setAttribute(\"data-asset-fetch-retry-cnt\",s+1),setTimeout((function(){n(\"retry to load asset: \",s,a),i.style.visibility=\"visible\",i.src=a}),u),!1;if(r(i.parentNode,\"spinner\"),a!==window.location.href){n(\"send asset loading event: \",a);var l=new g(a);y(\"https://d54bf56b8d5d42bdbce087ab8c96163c@aem-kakao-collector.onkakao.net/3078\").addBreadcrumb({category:\"errorEventHandler\",message:\"asset \\ub85c\\ub529 \\uc5d0\\ub7ec\",level:\"error\"}).captureException(l,{tags:{dspId:(document.querySelector('meta[name=\"dspId\"]')||{content:\"unknown\"}).content,referrer:document.referrer,tagName:i instanceof Node&&i.tagName,assetUrl:i.src,assetWidth:i.width,assetHeight:i.height}})}})),window.addEventListener(\"adfit:addTrackingEventListener\",(function(t){var e=d(\"addTrackingWindowEventListener\"),n=t.detail;if(n.eventType&&n.eventUrl){var r=n.eventType,o=n.eventUrl;e(r,o),window.addEventListener(\"adfit:\".concat(r),(function t(){var n,i,a;e(\"fire \".concat(r,\" event beacon: \"),o),window.removeEventListener(\"adfit:\".concat(r),t),i=function(t,n){t&&e(t,n)},i=(a=i)&&\"function\"==typeof a?i:function(){},(n=o)?setTimeout((function(){var t=new Image;t.xxxxonabort=function(){return i(new g(\"resource fetch error: \".concat(n)),null)},t.xxxxonerror=function(){return i(new g(\"resource fetch error: \".concat(n)),null)},t.xxxxonload=function(){return i(null,n)},t.src=n}),1):i(new b(\"url is not provided\"))}))}})),window.addEventListener(\"DOMContentLoaded\",(function(){try{var t=document.body.querySelector(\"[data-ad-node]\")||document.getElementById(\"ad-0\");f(\"DOMContentLoaded: \",t),n=t,\"addEventListener\"in window&&window.addEventListener(\"message\",(function(t){var o=n||document.body.firstElementChild;\"fontChange:big\"===t.data?e(o,\"fs_big\"):\"fontChange:normal\"===t.data&&r(o,\"fs_big\")})),a(t),function(t,n){t=t||document.body.firstElementChild;try{t&&n&&e(t,\"themed\")}catch(t){}}(t,window.$sf.ext.meta(\"usePrefersColorScheme\")),i((function(t){t&&t.addEventListener(\"click\",(function(){window.dispatchEvent(new CustomEvent(\"adfit:click\"))}))}),t.querySelectorAll(\"[data-adfit-click]\")),function(t){var e=t.querySelector(\"[data-adfit-render]\");e&&\"src\"in e?\"IMG\"===e.tagName&&e.complete?window.dispatchEvent(new CustomEvent(\"adfit:rendered\",{detail:{source:t}})):e.addEventListener(\"VIDEO\"===e.tagName?\"loadstart\":\"load\",(function(){window.dispatchEvent(new CustomEvent(\"adfit:rendered\",{detail:{source:t}}))})):window.dispatchEvent(new CustomEvent(\"adfit:rendered\",{detail:{source:t}}))}(t),function(t){i((function(t){var e=\"VIDEO\"===t.tagName?\"loadedposter\":\"load\";\"IMG\"===t.tagName&&t.complete?window.dispatchEvent(new CustomEvent(\"adfit:assetFetchLoad\",{detail:{url:t.src,source:t}})):(t.addEventListener(\"error\",(function(t){var e=o(t);window.dispatchEvent(new CustomEvent(\"adfit:assetFetchError\",{detail:{url:e.src,source:e}}))})),t.addEventListener(e,(function(t){var e=t.srcElement||t.target;window.dispatchEvent(new CustomEvent(\"adfit:assetFetchLoad\",{detail:{url:e.src,source:e}}))})))}),t.querySelectorAll(\"[data-asset-width][data-asset-height]\"))}(t)}catch(t){f(t),y(\"https://d54bf56b8d5d42bdbce087ab8c96163c@aem-kakao-collector.onkakao.net/3078\").captureException(t)}var n}))}()}();</script></head>\n<body style=\"margin:0;padding:0;background-color:transparent;width:100%;\">\n<script>window.dispatchEvent(new CustomEvent('adfit:addTrackingEventListener', {\"detail\": {eventType: \"viewable\", eventUrl: \"https://tr.ad.daum.net/vimp?wa=mSj0Au5v224UwugeQl6w4w&enc=2vae8b4BQlevLkPz-yR62HRxVXvD0t3sf_ANPXIy7RJlQexWhExPOW6v4guPt5GpIshd9FKYpgVeCXMapldsF5FuqOmxhGY8F4Vmb9Btey3fr4EszuXDfS6EhbKXdz4zOGGJ_HzyTsftFWuyYpjf2u2EDWZ7BT20-pEo-pTftaYBgR9d_O3WRjMsA7ok0d8T3lYod71pYqHR9qjca1QWT_yuGh2wZbvR-_SYGLVhzgBTBMVFnyzPoNC9_BOko-6UFoU5EO60epkBZF_oVzp4AePb9pHy9NjLYNdeHLXl33qHolh5xVSX02LCygl9glbp724mSV_kXpP5zf6CvKvURuy9A2AkrTBo4Z2VQDDDF3Fi-AIE1usjjvMgwfI-QEEkuD8hX4x9ibp9EXogmvRWOQKeZZxj3s88nl87zihneHn1MfDiHNAqP7ZImC3Vxfal&signature=313f5b5ce3d080ab8f13ac0409859ccd&lc=1\"}}));window.dispatchEvent(new CustomEvent('adfit:addTrackingEventListener', {\"detail\": {eventType: \"hide\", eventUrl: \"https://tr.ad.daum.net/ac?wa=mSj0Au5v224UwugeQl6w4w&enc=2vae8b4BQlevLkPz-yR62HRxVXvD0t3sf_ANPXIy7RJlQexWhExPOW6v4guPt5GpIshd9FKYpgVeCXMapldsF5FuqOmxhGY8F4Vmb9Btey3fr4EszuXDfS6EhbKXdz4zOGGJ_HzyTsftFWuyYpjf2u2EDWZ7BT20-pEo-pTftaYBgR9d_O3WRjMsA7ok0d8T3lYod71pYqHR9qjca1QWT_yuGh2wZbvR-_SYGLVhzgBTBMVFnyzPoNC9_BOko-6UFoU5EO60epkBZF_oVzp4AePb9pHy9NjLYNdeHLXl33qHolh5xVSX02LCygl9glbp724mSV_kXpP5zf6CvKvURuy9A2AkrTBo4Z2VQDDDF3Fi-AIE1usjjvMgwfI-QEEkuD8hX4x9ibp9EXogmvRWOQKeZZxj3s88nl87zihneHnMSPbcg5N_gZ_m4ufIdzlP&signature=c7850529e90e217b7746d111f01787bb&lc=1\"}}));window.dispatchEvent(new CustomEvent('adfit:addTrackingEventListener', {\"detail\": {eventType: \"rendered\", eventUrl: \"https://serv.ds.kakao.com/dspr/sync?dspr=08WpB6OoVjMm9kd9ZXRBpR1ac5RlRCnJcXuv3-y0kdqXiUnT5VhIAkx7dr73K8c5CLZLu0PsXDgp2wb-SD8QX77w9_jy-ys_VC6PGyf2ZbVxDx1KrQkmqvGE5f9XbfVmCykOoPe28I_HBEgDj3SdlOLnKIzNynJHNDAStY1bpyO791cnFP83iCEHdU0f9Adnj3jCxRErFlFF7Lc9XbKpOdBDxDYFCahEE6l8Hi2zfs8ilQniAR3u54dziCJDXk4Ejqz328UuxWicpeam3apUtNMNaU4QxXjRqLq84l-RVnWDcB3xtGuf1Njyz71YIBXuGBTLLSd-uDzlSub5x9674UI4GR9NJQ4A2K0B5N4kw31a3v0yul6505mmwuMbp5cepr62wAuEeyuIm5STpq904rGL_XyF-7G8gKZopI4uByevj6n37txkrSOxodix9jimn6CJOwTyfOfHMXnKsXLsJhoPSzk-wpMzvW0w5boIP6JHkBo8TJQwMBjdnHU6vMxrPcmIR46MVCOCAIdEdXozjPqhJpEWM_-j7LtSQTitwW2ngI2BDLGBJZtlch-gToGR\"}}));</script>\n<div class=\"cm_ad\" id=\"ad-0\">\n <strong class=\"screen_out\">광고 링크</strong>\n <a data-adfit-click\n href=\"https://tr.ad.daum.net/clk?wa=mSj0Au5v224UwugeQl6w4w&enc=2vae8b4BQlevLkPz-yR62HRxVXvD0t3sf_ANPXIy7RJlQexWhExPOW6v4guPt5GpIshd9FKYpgVeCXMapldsF5FuqOmxhGY8F4Vmb9Btey3fr4EszuXDfS6EhbKXdz4zOGGJ_HzyTsftFWuyYpjf2u2EDWZ7BT20-pEo-pTftaYBgR9d_O3WRjMsA7ok0d8T3lYod71pYqHR9qjca1QWT_yuGh2wZbvR-_SYGLVhzgBTBMVFnyzPoNC9_BOko-6UFoU5EO60epkBZF_oVzp4AePb9pHy9NjLYNdeHLXl33rET5PzmlqpiLWZsJQBPqUy4JoqgpkxgODTO8rgiynv5nk2Eel_BueGkgiQ26F8A6GCtRre8iNz8AYciBjvDSznrs4GIaG23JV1Pihk0MPNoqpyhRnCP8Sq_FqjUzGMfJsQB9sbCOwgZuZfUmPsfe9zKAITc5fVa6JT04TBVupMo0-GiDePonVBCb-A5YFSEtcqewhEJDcPqplhxhKs8AgTyfuM8pRiRMffIvBXFh5kClumHoNxzY_XVFkIUacvZgY6FCEQlevZUJV1fo2PLKRkLdh-IPsMZSaPtvvBiaPQvMIDfyAkVLNCQJ_TRK5vYQ2DPcd4TVa7b5Wq3DNkyW3SlSbrCwjKT8UhjqUNnxZ9BG15YaD4ZVT5I_pDM86RFpTuMHE6I7-FEdm3GCiYd1A4rUc5trd-M7BGVRwBWtymODbAG2i4JTfbhXZHnz-6E2nkyyeS038_Imkc8nzVxVXIv0Cx5N4RLGEXv6GgpVXFhnVb7oHg1FuyXet8JSyBMNO4x9498e-9H1kzPhAlA00-iVIQJC4awXM6nH_YAYoMXbz8_Syo2PNoM1x-zN_Asc72UvG--5LK3VeU_dYY1MWu&signature=5081b9acab96b0289803d3c6668fef07&lc=1\"\n rel=\"noopener\"\n target=\"_blank\"\n class=\"link_ad\">\n <span class=\"blur_img\" style=\"position:absolute;left:120px;top:0px;width:535px;height:120px\">\n <canvas class=\"img_blur\" style=\"position:absolute;width:100%;height:100%;opacity:0.2\"></canvas>\n </span>\n <span class=\"thumb_img\">\n <img\n data-ad-render\n data-asset-width=\"500\"\n data-asset-height=\"500\"\n src=\"https://t1.daumcdn.net/b2/creative/424072/eb26564cd7c78fdb94a0046a76954ad3.jpg\"\n alt=\"광고 24년 3월 TV 사전구매 캠페인\"\n class=\"img_thumb\">\n <span class=\"frame_g\"></span>\n </span>\n <span class=\"area_ad\">\n \n <strong class=\"tit_ad\">삼성TV QLED 4K 3월 구매이벤트</strong>\n <span class=\"desc_ad\">Tving 3개월 이용권 증정+구매선착순 400명 신세계 상품권 교환권 증정</span>\n <strong class=\"tit_cm\">\n <span class=\"thumb_logo\">\n <img\n src=\"https://t1.daumcdn.net/b2/creative/424072/93ded3e4c2ced2e8831a6815cd5165cc.png\"\n alt=\"\"\n class=\"img_logo\">\n <span class=\"frame_line\"></span>\n <span class=\"frame_g\"></span>\n </span>\n <span class=\"tit_adcm\">삼성전자</span>\n </strong>\n </span>\n <span class=\"btn_ad\">\n <span class=\"ico_ad\">자세히 보기</span>\n </span>\n </a>\n <a href=\"https://tr.ad.daum.net/clk?wa=mSj0Au5v224UwugeQl6w4w&enc=2vae8b4BQlevLkPz-yR62HRxVXvD0t3sf_ANPXIy7RJlQexWhExPOW6v4guPt5GpIshd9FKYpgVeCXMapldsF5FuqOmxhGY8F4Vmb9Btey3fr4EszuXDfS6EhbKXdz4zOGGJ_HzyTsftFWuyYpjf2u2EDWZ7BT20-pEo-pTftaYBgR9d_O3WRjMsA7ok0d8T3lYod71pYqHR9qjca1QWT_yuGh2wZbvR-_SYGLVhzgBTBMVFnyzPoNC9_BOko-6UFoU5EO60epkBZF_oVzp4AePb9pHy9NjLYNdeHLXl33rET5PzmlqpiLWZsJQBPqUy4JoqgpkxgODTO8rgiynv5nk2Eel_BueGkgiQ26F8A6GCtRre8iNz8AYciBjvDSznrs4GIaG23JV1Pihk0MPNoqpyhRnCP8Sq_FqjUzGMfJsQB9sbCOwgZuZfUmPsfe9zKAITc5fVa6JT04TBVupMo0-GiDePonVBCb-A5YFSEtcqewhEJDcPqplhxhKs8AgTyfuM8pRiRMffIvBXFh5kClumHoNxzY_XVFkIUacvZgY6FCEQlevZUJV1fo2PLKRkLdh-IPsMZSaPtvvBiaPQvMIDfyAkVLNCQJ_TRK5vYQ2DPcd4TVa7b5Wq3DNkyW3SlSbrCwjKT8UhjqUNnxZ9BG15YaD4ZVT5I_pDM86RFpTuMHE6I7-FEdm3GCiYd1A4rUc5trd-M7BGVRwBWtymODbAG2i4JTfbhXZHnz-6E2nkyyeS038_Imkc8nzVxVXIv0Cx5N4RLGEXv6GgpVXFhnVb7oHg1FuyXet8JSyBMNO4x9498e-9H1kzPhAlA00-iVIQJC4awXM6nH_YAYoMXbz8_Syo2PNoM1x-zN_Asc72UvG--5LK3VeU_dYY1MWu&signature=5081b9acab96b0289803d3c6668fef07&lc=1\"\n class=\"icon_ad \"\n \n target=\"_blank\">\n <span class=\"img_mark\">광고 정보</span>\n </a>\n</div>\n<script type=\"text/javascript\">\n (function () {\n var WIDTH = 655;\n var HEIGHT = 120;\n var IMG_WIDTH = 120;\n var IMG_HEIGHT = 120;\n\n var TARGET_WIDTH = WIDTH - IMG_WIDTH;\n var TARGET_HEIGHT = HEIGHT;\n var SCALE_X = 5;\n var SCALE_Y = 5;\n var OFFSET_X = (IMG_WIDTH * SCALE_X - TARGET_WIDTH) / 2;\n var OFFSET_Y = (IMG_HEIGHT * SCALE_Y - TARGET_HEIGHT) / 2;\n var BLUR_RADIUS = 25;\n\n var VALUE_THRESHOLD = 0.6;\n\n try {\n var imgThumb = document.querySelector('.img_thumb');\n\n if (isCrossOriginImage(imgThumb.src)) {\n loadTenthImage(imgThumb.src, applyEffect);\n } else if (imgThumb.complete) {\n applyEffect(imgThumb);\n } else {\n imgThumb.addEventListener('load', function () {\n applyEffect(imgThumb);\n });\n }\n } catch (e) { /* ignore */\n }\n\n function isCrossOriginImage(imageUrl) {\n return imageUrl.indexOf(window.location.origin) !== 0;\n }\n\n function isThumbnailUrl(imageUrl) {\n return /^(https?:\\/\\/)?[a-zA-Z0-9.-]*(daumcdn|kakaocdn)\\.net\\/thumb\\//i.test(imageUrl);\n }\n\n function loadTenthImage(imageUrl, callback) {\n var image = document.createElement('img');\n var tenthUrl = window.location.origin + '/thumb/';\n\n image.crossOrigin = 'Anonymous';\n image.addEventListener('load', function () {\n if (typeof callback === 'function') {\n callback(image);\n }\n });\n\n if (isThumbnailUrl(imageUrl)) {\n var fnameIndex = imageUrl.indexOf('/?fname=');\n var fname = imageUrl.substring(fnameIndex);\n var optionIndex = imageUrl.indexOf('/thumb/') + '/thumb/'.length;\n var option = imageUrl.substring(optionIndex, fnameIndex);\n image.src = tenthUrl + option + fname;\n } else {\n image.src = tenthUrl + '@1x/?fname=' + encodeURIComponent(imageUrl);\n }\n }\n\n function applyEffect(image) {\n var imgBlur = document.querySelector('.img_blur');\n drawStackBlurredImage(imgBlur, image, IMG_WIDTH, HEIGHT, TARGET_WIDTH, TARGET_HEIGHT, SCALE_X, SCALE_Y, OFFSET_X, OFFSET_Y, BLUR_RADIUS);\n\n var blurredImageData = imgBlur.getContext('2d').getImageData(0, 0, imgBlur.width, imgBlur.height);\n var averageRGB = getAverageRGB(blurredImageData);\n var averageHSV = getHSVfromRGB(averageRGB);\n\n if (averageHSV.v >= VALUE_THRESHOLD) {\n document.querySelector('.blur_img').classList.add('show');\n }\n }\n\n function drawStackBlurredImage(canvas, image, imageWidth, imageHeight, targetWidth, targetHeight, scaleX, scaleY, offsetX, offsetY, radius) {\n var ctx = canvas.getContext('2d');\n\n var blurX = Math.floor(offsetX / scaleX);\n var blurY = Math.floor(offsetY / scaleY);\n var blurWidth = Math.floor(targetWidth / scaleX);\n var blurHeight = Math.floor(targetHeight / scaleY);\n\n canvas.width = blurWidth;\n canvas.height = blurHeight;\n\n ctx.drawImage(image, -blurX, -blurY, imageWidth, imageHeight);\n\n var blurredImageData = getStackBlurredImageData(ctx, blurWidth, blurHeight, 0, 0, blurWidth, blurHeight, radius);\n\n ctx.putImageData(blurredImageData, 0, 0);\n }\n\n function getStackBlurredImageData(ctx, width, height, blurX, blurY, blurWidth, blurHeight, radius) {\n var imageData1 = ctx.getImageData(0, 0, width, height);\n var imageData2 = ctx.getImageData(0, 0, width, height);\n\n applyUniDirectionalStackBlur(imageData1, imageData2, blurX, blurY, blurWidth, blurHeight, radius, false);\n applyUniDirectionalStackBlur(imageData2, imageData1, blurX, blurY, blurWidth, blurHeight, radius, true);\n\n return imageData1;\n }\n\n function applyUniDirectionalStackBlur(imageData, targetImageData, blurX, blurY, blurWidth, blurHeight, radius, transpose) {\n var imageDataReader = ImageDataReader(imageData, transpose);\n var targetImageDataReader = ImageDataReader(targetImageData, transpose);\n\n if (transpose) {\n var temp = blurX;\n blurX = blurY;\n blurY = temp;\n\n temp = blurWidth;\n blurWidth = blurHeight;\n blurHeight = temp;\n }\n\n var stack;\n var x, y;\n for (y = blurY; y < blurY + blurHeight; ++y) {\n stack = createStack(imageDataReader, radius, blurX, y);\n for (x = blurX; x < blurX + blurWidth; ++x) {\n targetImageDataReader.setPixel(x, y, [\n Math.floor(stack.stack[0] / stack.stackSize),\n Math.floor(stack.stack[1] / stack.stackSize),\n Math.floor(stack.stack[2] / stack.stackSize),\n Math.floor(stack.stack[3] / stack.stackSize)\n ]);\n stack.next();\n }\n }\n }\n\n function clip(value, minInclusive, maxInclusive) {\n return Math.min(Math.max(value, minInclusive), maxInclusive);\n }\n\n function ImageDataReader(imageData, transpose) {\n var width = transpose ? imageData.height : imageData.width;\n var height = transpose ? imageData.width : imageData.height;\n\n var getPixel = transpose ? function (x, y) {\n var clippedX = clip(x, 0, width - 1);\n var clippedY = clip(y, 0, height - 1);\n var pixelIndex = height * 4 * clippedX + clippedY * 4;\n return [\n imageData.data[pixelIndex],\n imageData.data[pixelIndex + 1],\n imageData.data[pixelIndex + 2],\n imageData.data[pixelIndex + 3]\n ];\n } : function (x, y) {\n var clippedX = clip(x, 0, width - 1);\n var clippedY = clip(y, 0, height - 1);\n var pixelIndex = width * 4 * clippedY + clippedX * 4;\n return [\n imageData.data[pixelIndex],\n imageData.data[pixelIndex + 1],\n imageData.data[pixelIndex + 2],\n imageData.data[pixelIndex + 3]\n ];\n };\n\n var setPixel = transpose ? function (x, y, pixel) {\n var clippedX = clip(x, 0, width - 1);\n var clippedY = clip(y, 0, height - 1);\n var pixelIndex = height * 4 * clippedX + clippedY * 4;\n imageData.data[pixelIndex] = pixel[0];\n imageData.data[pixelIndex + 1] = pixel[1];\n imageData.data[pixelIndex + 2] = pixel[2];\n imageData.data[pixelIndex + 3] = pixel[3];\n } : function (x, y, pixel) {\n var clippedX = clip(x, 0, width - 1);\n var clippedY = clip(y, 0, height - 1);\n var pixelIndex = width * 4 * clippedY + clippedX * 4;\n imageData.data[pixelIndex] = pixel[0];\n imageData.data[pixelIndex + 1] = pixel[1];\n imageData.data[pixelIndex + 2] = pixel[2];\n imageData.data[pixelIndex + 3] = pixel[3];\n };\n\n return {width: width, height: height, getPixel: getPixel, setPixel: setPixel};\n }\n\n function createStack(imageDataReader, radius, x, y) {\n var i, j;\n\n var stack = [0, 0, 0, 0];\n var leftDiagonal = [0, 0, 0, 0];\n var rightDiagonal = [0, 0, 0, 0];\n\n var stackWeights = new Array(radius * 2 + 1);\n for (i = 0; i <= radius; ++i) {\n stackWeights[i] = i + 1;\n stackWeights[stackWeights.length - 1 - i] = i + 1;\n }\n var stackSize = stackWeights.reduce(function (prev, curr) {\n return prev + curr;\n }, 0);\n\n var pixel, pixelX;\n for (i = 0; i <= radius; ++i) {\n pixelX = x - radius + i;\n pixel = imageDataReader.getPixel(pixelX, y);\n for (j = 0; j < 4; ++j) {\n stack[j] += pixel[j] * stackWeights[i];\n leftDiagonal[j] += pixel[j];\n }\n }\n\n for (i = radius + 1; i <= radius * 2; ++i) {\n pixelX = x - radius + i;\n pixel = imageDataReader.getPixel(pixelX, y);\n for (j = 0; j < 4; ++j) {\n stack[j] += pixel[j] * stackWeights[i];\n rightDiagonal[j] += pixel[j];\n }\n }\n\n pixelX = x - radius + i;\n pixel = imageDataReader.getPixel(pixelX, y);\n for (j = 0; j < 4; ++j) {\n rightDiagonal[j] += pixel[j];\n }\n\n var currentX = x;\n var next = function () {\n var leftDiagonalLeftX = currentX - radius;\n var leftDiagonalLeftPixel = imageDataReader.getPixel(leftDiagonalLeftX, y);\n\n var nextPixelX = currentX + 1;\n var nextPixel = imageDataReader.getPixel(nextPixelX, y);\n\n var rightDiagonalNextX = currentX + radius + 1;\n var rightDiagonalNextPixel = imageDataReader.getPixel(rightDiagonalNextX, y);\n\n for (var i = 0; i < 4; ++i) {\n stack[i] = stack[i] - leftDiagonal[i] + rightDiagonal[i];\n leftDiagonal[i] = leftDiagonal[i] - leftDiagonalLeftPixel[i] + nextPixel[i];\n rightDiagonal[i] = rightDiagonal[i] - nextPixel[i] + rightDiagonalNextPixel[i];\n }\n currentX += 1;\n };\n\n return {stack: stack, leftDiagonal: leftDiagonal, rightDiagonal: rightDiagonal, stackSize: stackSize, next: next};\n }\n\n function getAverageRGB(imageData) {\n var redTotal = 0;\n var greenTotal = 0;\n var blueTotal = 0;\n\n var rgb = {r: 0, g: 0, b: 0, a: 1};\n\n var count = imageData.data.length;\n\n for (var i = 0; i < count; i = i + 4) {\n redTotal += imageData.data[i];\n greenTotal += imageData.data[i + 1];\n blueTotal += imageData.data[i + 2];\n }\n\n rgb.r = ~~(redTotal * 4 / count);\n rgb.g = ~~(greenTotal * 4 / count);\n rgb.b = ~~(blueTotal * 4 / count);\n\n return rgb;\n }\n\n function mod(n, m) {\n return ((n % m) + m) % m;\n }\n\n function getHSVfromRGB(rgb) {\n var r = rgb.r / 255;\n var g = rgb.g / 255;\n var b = rgb.b / 255;\n\n var v = Math.max(r, g, b);\n var diff = v - Math.min(r, g, b);\n var s = v === 0 ? 0 : diff / v;\n var h;\n\n if (diff === 0) {\n h = 0;\n } else if (v === r) {\n h = 60 * mod(((g - b) / diff), 6);\n } else if (v === g) {\n h = 60 * (((b - r) / diff) + 2);\n } else {\n h = 60 * (((r - g) / diff) + 4);\n }\n\n return {s: s, v: v, h: h};\n }\n })();\n</script>\n\n</body>\n</html>\n"}" title="광고" frameborder="0" scrolling="no" marginwidth="0" marginheight="0" allowtransparency="true" src="https://t1.daumcdn.net/kas/static/safeframe.html" style="position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; max-height: inherit; border: 0px; min-width: 655px; min-height: 120px;"></iframe></div><div data-ad-creative-wrap="border" style="position: absolute; background-color: rgb(229, 229, 229); left: 0px; top: 0px; width: 1px; height: 100%;"></div><div data-ad-creative-wrap="border" style="position: absolute; background-color: rgb(229, 229, 229); right: 0px; top: 0px; width: 1px; height: 100%;"></div><div data-ad-creative-wrap="border" style="position: absolute; background-color: rgb(229, 229, 229); left: 0px; top: 0px; width: 100%; height: 1px;"></div><div data-ad-creative-wrap="border" style="position: absolute; background-color: rgb(229, 229, 229); left: 0px; bottom: 0px; width: 100%; height: 1px;"></div></div></ins></div>
<script id="adfit_script" type="text/javascript" src="//t1.daumcdn.net/kas/static/ba.min.js" async=""></script>
<script>
if(window.ObserveAdsenseUnfilledState !== undefined){ ObserveAdsenseUnfilledState(); }
</script>
<!-- System - START -->
<div class="revenue_unit_wrap">
<div class="revenue_unit_item adsense responsive">
<div class="revenue_unit_info">반응형</div>
<script src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" async="async"></script>
<ins class="adsbygoogle" style="display: block;" data-ad-host="ca-host-pub-9691043933427338" data-ad-client="ca-pub-9184328219859099" data-ad-format="auto"></ins>
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
</div>
</div>
<!-- System - END -->
<div class="tt_article_useless_p_margin contents_style"><p><br></p><p><br></p><p><br></p><p>첨부파일 : <span class="imageblock" style="display: inline-block; height: auto; max-width: 100%;"><a href="https://t1.daumcdn.net/cfile/tistory/215CD137582D46E034"><img alt="" src="https://i1.daumcdn.net/cfs.tistory/v/0/blog/image/extension/zip.gif" style="vertical-align: middle;" xxxxonerror="this.xxxxonerror=null; this.src='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png'; this.srcset='//t1.daumcdn.net/tistory_admin/static/images/no-image-v1.png';">editor.zip</a></span></p><p><br></p><p><br></p><p><b><span style="font-size: 24pt;">■</span><span style="font-size: 24pt;"> 다음 에디터(Daum Editor) 세팅하고 사용하기</span></b><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><span style="font-size: 12pt;">01. <a href="https://github.com/kakao/DaumEditor/tree/gh-pages/download" target="_blank" class="tx-link" style="color: rgb(9, 0, 255);"><span style="color: rgb(9, 0, 255);"><u>https://github.com/kakao/DaumEditor/tree/gh-pages/download</u></span></a>에 접속해서 다음에디터를 다운받자.</span><br></p><p style="text-align: left; clear: none; float: none;"><span class="imageblock" style="display: inline-block; width: 800px; width: 800px; height: 497px;; height: auto; max-width: 100%;" href="https://t1.daumcdn.net/cfile/tistory/2320F34D582D356D28?original" data-lightbox="lightbox" data-alt="null"><img src="https://t1.daumcdn.net/cfile/tistory/2320F34D582D356D28" style="width: 800px; height: 497px;" srcset="https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2320F34D582D356D28" width="800" height="497" filename="그림01.jpg" filemime="image/jpeg" original="yes"></span></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><span style="font-size: 12pt;">02. 화면 최하단을 보면 How to download 라고 적힌 유의사항이 적힌 부분이 있는데.</span></p><p style="text-align: left; clear: none; float: none;"><span style="font-size: 12pt;"> 여기서는 안정적인 <b><span style="color: rgb(9, 0, 255);">stable(7.4.X)</span></b> 버전대를 사용하기로 한다.</span><br></p><p style="text-align: left; clear: none; float: none;"><span class="imageblock" style="display: inline-block; width: 800px; width: 800px; height: 377px;; height: auto; max-width: 100%;" href="https://t1.daumcdn.net/cfile/tistory/2313EF4D582D356E37?original" data-lightbox="lightbox" data-alt="null"><img src="https://t1.daumcdn.net/cfile/tistory/2313EF4D582D356E37" style="width: 800px; height: 377px;" srcset="https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2313EF4D582D356E37" width="800" height="377" filename="그림02.jpg" filemime="image/jpeg" original="yes"></span></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><span style="font-size: 12pt;">03. <b><span style="color: rgb(9, 0, 255);">Stable(7.4.X)</span></b>버전에서 가장 높은 버전대를 찾아 선택하고 클릭한다.</span><br></p><p style="text-align: left; clear: none; float: none;"><span class="imageblock" style="display: inline-block; width: 800px; width: 800px; height: 486px;; height: auto; max-width: 100%;" href="https://t1.daumcdn.net/cfile/tistory/232A814D582D356F1D?original" data-lightbox="lightbox" data-alt="null"><img src="https://t1.daumcdn.net/cfile/tistory/232A814D582D356F1D" style="width: 800px; height: 486px;" srcset="https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F232A814D582D356F1D" width="800" height="486" filename="그림03.jpg" filemime="image/jpeg" original="yes"></span></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><span style="font-size: 12pt;">04. 해당 버전의 다운로드 페이지로 이동되면 아래 순서대로 작업을 수행한다.<br></span></p><p style="text-align: left; clear: none; float: none;"> <span style="font-size: 11pt;">① <b><span style="color: rgb(102, 0, 255);">Download</span></b> 버튼을 클릭한다.</span><br></p><p style="text-align: left; clear: none; float: none;"> <span style="font-size: 11pt;">② 확인 버튼을 클릭하여 <b><span style="color: rgb(102, 0, 255);">daumeditor.zip</span></b> 파일을 다운받는다.</span><br></p><p style="text-align: left; clear: none; float: none;"><span class="imageblock" style="display: inline-block; width: 800px; width: 800px; height: 486px;; height: auto; max-width: 100%;" href="https://t1.daumcdn.net/cfile/tistory/2725494D582D356F23?original" data-lightbox="lightbox" data-alt="null"><img src="https://t1.daumcdn.net/cfile/tistory/2725494D582D356F23" style="width: 800px; height: 486px;" srcset="https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2725494D582D356F23" width="800" height="486" filename="그림04.jpg" filemime="image/jpeg"></span></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><span style="font-size: 12pt;">05. 이제 다음 에디터 프로젝트를 수행할 폴더를 생성하고 아래 순서대로 작업을 진행한다.</span></p><p style="text-align: left; clear: none; float: none;"><span style="font-size:11pt;"> </span><span style="font-size: 11pt;">① 다음 에디터 프로젝트를 진행할 <b><span style="color: rgb(102, 0, 255);">editor</span></b> 라는 폴더를 생성한다.<br></span></p><p style="text-align: left; clear: none; float: none;"><span style="font-size: 11pt;"> ② 위에서 다운받은 <b><span style="color: rgb(9, 0, 255);">daumeditor.zip</span></b> 파일의 압축을 해제한다.<br></span></p><p style="text-align: left; clear: none; float: none;"><span style="font-size: 12pt;"><span style="font-size: 11pt;"> ③ 압축해제된 폴더의 이름을 <b><span style="color: rgb(102, 0, 255);">daumEditor</span></b>로 변경하였다.</span><br></span></p><p style="text-align: left; clear: none; float: none;"><span class="imageblock" style="display: inline-block; width: 800px; width: 800px; height: 453px;; height: auto; max-width: 100%;" href="https://t1.daumcdn.net/cfile/tistory/263F454D582D357004?original" data-lightbox="lightbox" data-alt="null"><img src="https://t1.daumcdn.net/cfile/tistory/263F454D582D357004" style="width: 800px; height: 453px;" srcset="https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F263F454D582D357004" width="800" height="453" filename="그림05.jpg" filemime="image/jpeg" original="yes"></span></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><span style="font-size: 12pt;">06. 이제 다음에디터를 불러와서 사용할 <b><span style="color: rgb(102, 0, 255);">board.php</span></b> 파일 생성한다.</span><br></p><p style="text-align: left; clear: none; float: none;"><span class="imageblock" style="display: inline-block; width: 800px; width: 800px; height: 453px;; height: auto; max-width: 100%;" href="https://t1.daumcdn.net/cfile/tistory/2221CA4D582D357027?original" data-lightbox="lightbox" data-alt="null"><img src="https://t1.daumcdn.net/cfile/tistory/2221CA4D582D357027" style="width: 800px; height: 453px;" srcset="https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F2221CA4D582D357027" width="800" height="453" filename="그림06.jpg" filemime="image/jpeg" original="yes"></span></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><span style="font-size: 12pt;">07. 생성한 <b><span style="color: rgb(102, 0, 255);">board.php</span></b> 파일에 들어갈 소소는 아래와 같다.</span></p><table class="txc-table" style="border: medium none; border-collapse: collapse;" 맑은="" 고딕",sans-serif;font-size:13px"="" width="850" cellspacing="0" cellpadding="0" border="0" height="615"><tbody><tr><td style="width: 964px; height: 24px; border-width: 1px; border-style: solid; border-color: rgb(204, 204, 204); background-color: rgb(250, 244, 192);"><p> <b><span style="font-size: 12pt; color: rgb(0, 0, 0);">board.php</span></b><br></p></td>
</tr>
<tr><td style="width: 964px; height: 24px; border-bottom: 1px solid rgb(204, 204, 204); border-right: 1px solid rgb(204, 204, 204); border-left: 1px solid rgb(204, 204, 204); background-color: rgb(255, 255, 255);"><p><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><br><html><br><head><br><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><br><title>Daum 에디터</title><br><script src="https://code.jquery.com/jquery-1.12.4.min.js" type="text/javascript"></script><br><script type="text/javascript"><br>function saveContent() {<br> if(jQuery("#title").val() == "") {<br> alert("제목을 입력해 주세요.");<br> jQuery("#title").focus();<br> return;<br> }<br><br> Editor.save(); <b><span style="color: rgb(0, 87, 102);">// 이 함수를 호출하여 글을 등록하면 된다.</span></b><br>}<br></script><br></head><br><body><br><form name="tx_editor_form" id="tx_editor_form" action="<b><span style="color: rgb(102, 0, 255);">view.php</span></b>" method="<b><span style="color: rgb(102, 0, 255);">post</span></b>" enctype="multipart/form-data" accept-charset="utf-8"><br> <b>제목 :</b> <input type="text" id="title" name="title" style="width:680px;"/><br><div style="height:10px;"></div><br><div style="width:750px;"><br><b><span style="color: rgb(255, 0, 221);"><?php</span></b><br> <b><span style="color: rgb(0, 85, 255);">include_once</span></b> (<b><span style="color: rgb(102, 0, 255);">"./daumEditor/editor.html"</span></b>); <b><span style="color: rgb(0, 87, 102);">// 다음 에디터를 include 한다.</span></b><br><b><span style="color: rgb(255, 0, 221);">?></span></b><br><div align="right"><input type="button" value="등록" xxxxonClick="saveContent();"/></div><br></div><br></form><br></body><br></html><br></p></td>
</tr>
</tbody></table><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><span style="font-size: 12pt;">08. 다음으로 작성된 값을 출력할 </span><b><span style="font-size: 12pt; color: rgb(102, 0, 255);">view.php</span></b><span style="font-size: 12pt;">를 생성한다.</span><br></p><p style="text-align: left; clear: none; float: none;"><span class="imageblock" style="display: inline-block; width: 800px; width: 800px; height: 453px;; height: auto; max-width: 100%;" href="https://t1.daumcdn.net/cfile/tistory/221E414D582D35712B?original" data-lightbox="lightbox" data-alt="null"><img src="https://t1.daumcdn.net/cfile/tistory/221E414D582D35712B" style="width: 800px; height: 453px;" srcset="https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F221E414D582D35712B" width="800" height="453" filename="그림07.jpg" filemime="image/jpeg" original="yes"></span></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><span style="font-size: 12pt;">09.</span><span style="font-size: 12pt;"> <b><span style="color: rgb(102, 0, 255);">view.php</span></b></span><span style="font-size: 12pt;">에 들어갈 소스는 아래와 같다.</span><br></p><table class="txc-table" style="border: medium none; border-collapse: collapse;" 맑은="" 고딕",sans-serif;font-size:13px"="" width="800" cellspacing="0" cellpadding="0" border="0" height="121"><tbody><tr><td style="width: 964px; height: 24px; border-width: 1px; border-style: solid; border-color: rgb(204, 204, 204); background-color: rgb(250, 244, 192);"><p> <b><span style="font-size: 12pt; color: rgb(0, 0, 0);">view.php</span></b><br></p></td>
</tr>
<tr><td style="width: 964px; height: 24px; border-bottom: 1px solid rgb(204, 204, 204); border-right: 1px solid rgb(204, 204, 204); border-left: 1px solid rgb(204, 204, 204); background-color: rgb(255, 255, 255);"><p><?php<br> <b><span style="color: rgb(0, 85, 255);">echo</span></b> <b><span style="color: rgb(255, 94, 0);">"<pre>"</span></b>;<br> <b><span style="color: rgb(255, 0, 0);">print_r</span></b>(<b><span style="color: rgb(9, 0, 255);">$</span><span style="color: rgb(102, 0, 255);">_POST</span></b>);<br> <b><span style="color: rgb(0, 85, 255);">echo</span></b> <b><span style="color: rgb(255, 94, 0);">"</pre>"</span></b>;<br>?><br></p></td>
</tr>
</tbody></table><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><span style="font-size: 12pt;">1</span><span style="font-size: 12pt;">0. 이제 위에서 압축을 해제하 명칭을 변경한 <b><span style="color: rgb(102, 0, 255);">daumEditor</span></b> 폴더의 <b><span style="color: rgb(102, 0, 255);">editor.html</span></b> 파일을 수정한다.</span><br></p><p style="text-align: left; clear: none; float: none;"><span class="imageblock" style="display: inline-block; width: 800px; width: 800px; height: 453px;; height: auto; max-width: 100%;" href="https://t1.daumcdn.net/cfile/tistory/22187C4D582D357132?original" data-lightbox="lightbox" data-alt="null"><img src="https://t1.daumcdn.net/cfile/tistory/22187C4D582D357132" style="width: 800px; height: 453px;" srcset="https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F22187C4D582D357132" width="800" height="453" filename="그림08.jpg" filemime="image/jpeg" original="yes"></span></p><p><br></p><p><br></p><p><br></p><p><br><span style="font-size: 12pt;">12. <b><span style="color: rgb(102, 0, 255);">editor.hml</span></b> 파일을 수정한다. 아래 코드는 원래 적혀있던 주석들은 다 삭제해 두었다.</span><br></p><p><span style="font-size: 11pt;"> ① </span><span style="font-size: 11pt;">상대경로로 잡혀 있는 부분은 전부 <b><span style="color: rgb(9, 0, 255);">절대경로로 변경</span><span style="color: rgb(9, 0, 255);">하고</span></b> <b><span style="color: rgb(9, 0, 255);">파란색 글씨</span></b>로 표기하였다.</span></p><p><span style="font-size: 11pt;"> ② 샘플로 들어가 있거나 <b><span style="color: rgb(102, 0, 255);">board.php</span></b>에서 미리 지정한기능 혹은 필요없어 <b><span style="color: rgb(255, 0, 0);">삭제해야 하는 부분은 빨간색으로 표기</span></b>하였다.</span><br></p><table class="txc-table" style="border: medium none; border-collapse: collapse; width: 841px;" 맑은="" 고딕",sans-serif;font-size:13px"="" width="1000" cellspacing="0" cellpadding="0" border="0"><tbody><tr><td style="width:1000px;height:24px;border-width: 1px; border-style: solid; border-color: rgb(204, 204, 204); background-color: rgb(250, 244, 192);"><p> <b><span style="font-size: 12pt; color: rgb(0, 0, 0);">editor.html</span></b><br></p></td>
</tr>
<tr><td style="width: 840px; height: 24px; border-bottom: 1px solid rgb(204, 204, 204); border-right: 1px solid rgb(204, 204, 204); border-left: 1px solid rgb(204, 204, 204); background-color: rgb(255, 255, 255);"><p><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><br><html><br><head><br><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><br><title>Daum 에디터 - 등록화면 예제</title><br><br><b><span style="color: rgb(9, 0, 255);"><!-- 절대 경로로 변경 --></span></b><br><link rel="<b><span style="color: rgb(9, 0, 255);">stylesheet" href="http://localhost/editor/daumEditor/css/editor.css</span></b>" type="text/css" charset="utf-8"/><br><script src="<b><span style="color: rgb(9, 0, 255);">http://localhost/editor/daumEditor/js/editor_loader.js?environment=development</span></b>" type="text/javascript" charset="utf-8"></script><br><br></head><br><body><br><div class="body"><br><br><b><span style="color: rgb(255, 0, 0);"><!-- form 태그 삭제 --></span></b><br><b><span style="color: rgb(255, 0, 0);"><!-- <form name="tx_editor_form" id="tx_editor_form" action="http://posttestserver.com/post.php" method="post" accept-charset="utf-8"> --></span></b><br><br> <div id="tx_trex_container" class="tx-editor-container"><br> <div id="tx_sidebar" class="tx-sidebar"><br> <div class="tx-sidebar-boundary"><br> <ul class="tx-bar tx-bar-left tx-nav-attach"><br> <li class="tx-list"><br> <div unselectable="on" id="tx_image" class="tx-image tx-btn-trans"><br> <a href="xxxxjavascript:;" title="사진" class="tx-text">사진</a><br> </div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" id="tx_file" class="tx-file tx-btn-trans"><br> <a href="xxxxjavascript:;" title="파일" class="tx-text">파일</a><br> </div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" id="tx_media" class="tx-media tx-btn-trans"><br> <a href="xxxxjavascript:;" title="외부컨텐츠" class="tx-text">외부컨텐츠</a><br> </div><br> </li><br> <li class="tx-list tx-list-extra"><br> <div unselectable="on" class="tx-btn-nlrbg tx-extra"><br> <a href="xxxxjavascript:;" class="tx-icon" title="버튼 더보기">버튼 더보기</a><br> </div><br> <ul class="tx-extra-menu tx-menu" style="left:-48px;" unselectable="on"></ul><br> </li><br> </ul><br> <ul class="tx-bar tx-bar-right"><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-lrbg tx-fullscreen" id="tx_fullscreen"><br> <a href="xxxxjavascript:;" class="tx-icon" title="넓게쓰기 (Ctrl+M)">넓게쓰기</a><br> </div><br> </li><br> </ul><br> <ul class="tx-bar tx-bar-right tx-nav-opt"><br> <li class="tx-list"><br> <div unselectable="on" class="tx-switchtoggle" id="tx_switchertoggle"><br> <a href="xxxxjavascript:;" title="에디터 타입">에디터</a><br> </div><br> </li><br> </ul><br> </div><br> </div><br> <div id="tx_toolbar_basic" class="tx-toolbar tx-toolbar-basic"><div class="tx-toolbar-boundary"><br> <ul class="tx-bar tx-bar-left"><br> <li class="tx-list"><br> <div id="tx_fontfamily" unselectable="on" class="tx-slt-70bg tx-fontfamily"><br> <a href="xxxxjavascript:;" title="글꼴">굴림</a><br> </div><br> <div id="tx_fontfamily_menu" class="tx-fontfamily-menu tx-menu" unselectable="on"></div><br> </li><br> </ul><br> <ul class="tx-bar tx-bar-left"><br> <li class="tx-list"><br> <div unselectable="on" class="tx-slt-42bg tx-fontsize" id="tx_fontsize"><br> <a href="xxxxjavascript:;" title="글자크기">9pt</a><br> </div><br> <div id="tx_fontsize_menu" class="tx-fontsize-menu tx-menu" unselectable="on"></div><br> </li><br> </ul><br> <ul class="tx-bar tx-bar-left tx-group-font"><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-lbg tx-bold" id="tx_bold"><br> <a href="xxxxjavascript:;" class="tx-icon" title="굵게 (Ctrl+B)">굵게</a><br> </div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-bg tx-underline" id="tx_underline"><br> <a href="xxxxjavascript:;" class="tx-icon" title="밑줄 (Ctrl+U)">밑줄</a><br> </div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-bg tx-italic" id="tx_italic"><br> <a href="xxxxjavascript:;" class="tx-icon" title="기울임 (Ctrl+I)">기울임</a><br> </div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-bg tx-strike" id="tx_strike"><br> <a href="xxxxjavascript:;" class="tx-icon" title="취소선 (Ctrl+D)">취소선</a><br> </div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-slt-tbg tx-forecolor" id="tx_forecolor"><br> <a href="xxxxjavascript:;" class="tx-icon" title="글자색">글자색</a><br> <a href="xxxxjavascript:;" class="tx-arrow" title="글자색 선택">글자색 선택</a><br> </div><br> <div id="tx_forecolor_menu" class="tx-menu tx-forecolor-menu tx-colorpallete" unselectable="on"></div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-slt-brbg tx-backcolor" id="tx_backcolor"><br> <a href="xxxxjavascript:;" class="tx-icon" title="글자 배경색">글자 배경색</a><br> <a href="xxxxjavascript:;" class="tx-arrow" title="글자 배경색 선택">글자 배경색 선택</a><br> </div><br> <div id="tx_backcolor_menu" class="tx-menu tx-backcolor-menu tx-colorpallete" unselectable="on"></div><br> </li><br> </ul><br> <ul class="tx-bar tx-bar-left tx-group-align"><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-lbg tx-alignleft" id="tx_alignleft"><br> <a href="xxxxjavascript:;" class="tx-icon" title="왼쪽정렬 (Ctrl+,)">왼쪽정렬</a><br> </div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-bg tx-aligncenter" id="tx_aligncenter"><br> <a href="xxxxjavascript:;" class="tx-icon" title="가운데정렬 (Ctrl+.)">가운데정렬</a><br> </div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-bg tx-alignright" id="tx_alignright"><br> <a href="xxxxjavascript:;" class="tx-icon" title="오른쪽정렬 (Ctrl+/)">오른쪽정렬</a><br> </div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-rbg tx-alignfull" id="tx_alignfull"><br> <a href="xxxxjavascript:;" class="tx-icon" title="양쪽정렬">양쪽정렬</a><br> </div><br> </li><br> </ul><br> <ul class="tx-bar tx-bar-left tx-group-tab"><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-lbg tx-indent" id="tx_indent"><br> <a href="xxxxjavascript:;" title="들여쓰기 (Tab)" class="tx-icon">들여쓰기</a><br> </div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-rbg tx-outdent" id="tx_outdent"><br> <a href="xxxxjavascript:;" title="내어쓰기 (Shift+Tab)" class="tx-icon">내어쓰기</a><br> </div><br> </li><br> </ul><br> <ul class="tx-bar tx-bar-left tx-group-list"><br> <li class="tx-list"><br> <div unselectable="on" class="tx-slt-31lbg tx-lineheight" id="tx_lineheight"><br> <a href="xxxxjavascript:;" class="tx-icon" title="줄간격">줄간격</a><br> <a href="xxxxjavascript:;" class="tx-arrow" title="줄간격">줄간격 선택</a><br> </div><br> <div id="tx_lineheight_menu" class="tx-lineheight-menu tx-menu" unselectable="on"></div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-slt-31rbg tx-styledlist" id="tx_styledlist"><br> <a href="xxxxjavascript:;" class="tx-icon" title="리스트">리스트</a><br> <a href="xxxxjavascript:;" class="tx-arrow" title="리스트">리스트 선택</a><br> </div><br> <div id="tx_styledlist_menu" class="tx-styledlist-menu tx-menu" unselectable="on"></div><br> </li><br> </ul><br> <ul class="tx-bar tx-bar-left tx-group-etc"><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-lbg tx-emoticon" id="tx_emoticon"><br> <a href="xxxxjavascript:;" class="tx-icon" title="이모티콘">이모티콘</a><br> </div><br> <div id="tx_emoticon_menu" class="tx-emoticon-menu tx-menu" unselectable="on"></div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-bg tx-link" id="tx_link"><br> <a href="xxxxjavascript:;" class="tx-icon" title="링크 (Ctrl+K)">링크</a><br> </div><br> <div id="tx_link_menu" class="tx-link-menu tx-menu"></div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-bg tx-specialchar" id="tx_specialchar"><br> <a href="xxxxjavascript:;" class="tx-icon" title="특수문자">특수문자</a><br> </div><br> <div id="tx_specialchar_menu" class="tx-specialchar-menu tx-menu"></div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-bg tx-table" id="tx_table"><br> <a href="xxxxjavascript:;" class="tx-icon" title="표만들기">표만들기</a><br> </div><br> <div id="tx_table_menu" class="tx-table-menu tx-menu" unselectable="on"><br> <div class="tx-menu-inner"><br> <div class="tx-menu-preview"></div><br> <div class="tx-menu-rowcol"></div><br> <div class="tx-menu-deco"></div><br> <div class="tx-menu-enter"></div><br> </div><br> </div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-rbg tx-horizontalrule" id="tx_horizontalrule"><br> <a href="xxxxjavascript:;" class="tx-icon" title="구분선">구분선</a><br> </div><br> <div id="tx_horizontalrule_menu" class="tx-horizontalrule-menu tx-menu" unselectable="on"></div><br> </li><br> </ul><br> <ul class="tx-bar tx-bar-left"><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-lbg tx-richtextbox" id="tx_richtextbox"><br> <a href="xxxxjavascript:;" class="tx-icon" title="글상자">글상자</a><br> </div><br> <div id="tx_richtextbox_menu" class="tx-richtextbox-menu tx-menu"><br> <div class="tx-menu-header"><br> <div class="tx-menu-preview-area"><br> <div class="tx-menu-preview"></div><br> </div><br> <div class="tx-menu-switch"><br> <div class="tx-menu-simple tx-selected"><a><span>간단 선택</span></a></div><br> <div class="tx-menu-advanced"><a><span>직접 선택</span></a></div><br> </div><br> </div><br> <div class="tx-menu-inner"></div><br> <div class="tx-menu-footer"><br> <b><span style="color: rgb(9, 0, 255);"><!-- 이미지 파일 경로 수정 --></span></b><br> <img class="tx-menu-confirm" src="<b><span style="color: rgb(9, 0, 255);">http://localhost/editor/daumEditor/images/icon/editor/btn_confirm.gif?rv=1.0.1</span></b>" alt=""/><br> <img class="tx-menu-cancel" hspace="3" src="<b><span style="color: rgb(9, 0, 255);">http://localhost/editor/daumEditor/images/icon/editor/btn_cancel.gif?rv=1.0.1</span></b>" alt=""/><br> </div><br> </div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-bg tx-quote" id="tx_quote"><br> <a href="xxxxjavascript:;" class="tx-icon" title="인용구 (Ctrl+Q)">인용구</a><br> </div><br> <div id="tx_quote_menu" class="tx-quote-menu tx-menu" unselectable="on"></div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-bg tx-background" id="tx_background"><br> <a href="xxxxjavascript:;" class="tx-icon" title="배경색">배경색</a><br> </div><br> <div id="tx_background_menu" class="tx-menu tx-background-menu tx-colorpallete" unselectable="on"></div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-rbg tx-dictionary" id="tx_dictionary"><br> <a href="xxxxjavascript:;" class="tx-icon" title="사전">사전</a><br> </div><br> </li><br> </ul><br> <ul class="tx-bar tx-bar-left tx-group-undo"><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-lbg tx-undo" id="tx_undo"><br> <a href="xxxxjavascript:;" class="tx-icon" title="실행취소 (Ctrl+Z)">실행취소</a><br> </div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-rbg tx-redo" id="tx_redo"><br> <a href="xxxxjavascript:;" class="tx-icon" title="다시실행 (Ctrl+Y)">다시실행</a><br> </div><br> </li><br> </ul><br> <ul class="tx-bar tx-bar-right"><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-nlrbg tx-advanced" id="tx_advanced"><br> <a href="xxxxjavascript:;" class="tx-icon" title="툴바 더보기">툴바 더보기</a><br> </div><br> </li><br> </ul><br> </div><br> </div><br> <div id="tx_toolbar_advanced" class="tx-toolbar tx-toolbar-advanced"><div class="tx-toolbar-boundary"><br> <ul class="tx-bar tx-bar-left"><br> <li class="tx-list"><br> <div class="tx-tableedit-title"></div><br> </li><br> </ul><br> <ul class="tx-bar tx-bar-left tx-group-align"><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-lbg tx-mergecells" id="tx_mergecells"><br> <a href="xxxxjavascript:;" class="tx-icon2" title="병합">병합</a><br> </div><br> <div id="tx_mergecells_menu" class="tx-mergecells-menu tx-menu" unselectable="on"></div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-bg tx-insertcells" id="tx_insertcells"><br> <a href="xxxxjavascript:;" class="tx-icon2" title="삽입">삽입</a><br> </div><br> <div id="tx_insertcells_menu" class="tx-insertcells-menu tx-menu" unselectable="on"></div><br> </li><br> <li class="tx-list"><br> <div unselectable="on" class="tx-btn-rbg tx-deletecells" id="tx_deletecells"><br> <a href="xxxxjavascript:;" class="tx-icon2" title="삭제">삭제</a><br> </div><br> <div id="tx_deletecells_menu" class="tx-deletecells-menu tx-menu" unselectable="on"></div><br> </li><br> </ul><br> <ul class="tx-bar tx-bar-left tx-group-align"><br> <li class="tx-list"><br> <div id="tx_cellslinepreview" unselectable="on" class="tx-slt-70lbg tx-cellslinepreview"><br> <a href="xxxxjavascript:;" title="선 미리보기"></a><br> </div><br> <div id="tx_cellslinepreview_menu" class="tx-cellslinepreview-menu tx-menu" unselectable="on"></div><br> </li><br> <li class="tx-list"><br> <div id="tx_cellslinecolor" unselectable="on" class="tx-slt-tbg tx-cellslinecolor"><br> <a href="xxxxjavascript:;" class="tx-icon2" title="선색">선색</a><br> <div class="tx-colorpallete" unselectable="on"></div><br> </div><br> <div id="tx_cellslinecolor_menu" class="tx-cellslinecolor-menu tx-menu tx-colorpallete" unselectable="on"></div><br> </li><br> <li class="tx-list"><br> <div id="tx_cellslineheight" unselectable="on" class="tx-btn-bg tx-cellslineheight"><br> <a href="xxxxjavascript:;" class="tx-icon2" title="두께">두께</a><br> </div><br> <div id="tx_cellslineheight_menu" class="tx-cellslineheight-menu tx-menu" unselectable="on"></div><br> </li><br> <li class="tx-list"><br> <div id="tx_cellslinestyle" unselectable="on" class="tx-btn-bg tx-cellslinestyle"><br> <a href="xxxxjavascript:;" class="tx-icon2" title="스타일">스타일</a><br> </div><br> <div id="tx_cellslinestyle_menu" class="tx-cellslinestyle-menu tx-menu" unselectable="on"></div><br> </li><br> <li class="tx-list"><br> <div id="tx_cellsoutline" unselectable="on" class="tx-btn-rbg tx-cellsoutline"><br> <a href="xxxxjavascript:;" class="tx-icon2" title="테두리">테두리</a><br> </div><br> <div id="tx_cellsoutline_menu" class="tx-cellsoutline-menu tx-menu" unselectable="on"></div><br> </li><br> </ul><br> <ul class="tx-bar tx-bar-left"><br> <li class="tx-list"><br> <div id="tx_tablebackcolor" unselectable="on" class="tx-btn-lrbg tx-tablebackcolor" style="background-color:#9aa5ea;"><br> <a href="xxxxjavascript:;" class="tx-icon2" title="테이블 배경색">테이블 배경색</a><br> </div><br> <div id="tx_tablebackcolor_menu" class="tx-tablebackcolor-menu tx-menu tx-colorpallete" unselectable="on"></div><br> </li><br> </ul><br> <ul class="tx-bar tx-bar-left"><br> <li class="tx-list"><br> <div id="tx_tabletemplate" unselectable="on" class="tx-btn-lrbg tx-tabletemplate"><br> <a href="xxxxjavascript:;" class="tx-icon2" title="테이블 서식">테이블 서식</a><br> </div><br> <div id="tx_tabletemplate_menu" class="tx-tabletemplate-menu tx-menu tx-colorpallete" unselectable="on"></div><br> </li><br> </ul><br> </div><br></div><br><br> <div id="tx_canvas" class="tx-canvas"><br> <div id="tx_loading" class="tx-loading"></p><p> <b><span style="color: rgb(9, 0, 255);"><!-- 이미지 파일 경로 수정 --></span></b></p><p> <div><img src="<b><span style="color: rgb(9, 0, 255);">http://localhost/editor/daumEditor/images/icon/editor/loading2.png</span></b>" width="113" height="21" align="absmiddle"/></div><br> </div><br> <div id="tx_canvas_wysiwyg_holder" class="tx-holder" style="display:block;"><br> <iframe id="tx_canvas_wysiwyg" name="tx_canvas_wysiwyg" allowtransparency="true" frameborder="0"></iframe><br> </div><br> <div class="tx-source-deco"><br> <div id="tx_canvas_source_holder" class="tx-holder"><br> <textarea id="tx_canvas_source" rows="30" cols="30"></textarea><br> </div><br> </div><br> <div id="tx_canvas_text_holder" class="tx-holder"><br> <textarea id="tx_canvas_text" rows="30" cols="30"></textarea><br> </div><br> </div><br><br> <div id="tx_resizer" class="tx-resize-bar"><br> <div class="tx-resize-bar-bg"></div></p><p> <b><span style="color: rgb(9, 0, 255);"><!-- 이미지 파일 경로 수정 --></span></b></p><p> <img id="tx_resize_holder" src="<b><span style="color: rgb(9, 0, 255);">http://localhost/editor/daumEditor/images/icon/editor/skin/01/btn_drag01.gif</span></b>" width="58" height="12" unselectable="on" alt=""/><br> </div><br><br> <b><span style="color: rgb(255, 0, 0);"><!-- 다음 에디터 로고 삭제 --></span></b><br><b><span style="color: rgb(255, 0, 0);"> <!--</span><br><span style="color: rgb(255, 0, 0);"> <div class="tx-side-bi" id="tx_side_bi"></span><br><span style="color: rgb(255, 0, 0);"> <div style="text-align: right;"></span><br><span style="color: rgb(255, 0, 0);"> <img hspace="4" height="14" width="78" align="absmiddle" src="http://localhost/editor/daumEditor/images/icon/editor/editor_bi.png" /></span><br><span style="color: rgb(255, 0, 0);"> </div></span><br><span style="color: rgb(255, 0, 0);"> </div></span><br><span style="color: rgb(255, 0, 0);"> --></span></b><br><br> <div id="tx_attach_div" class="tx-attach-div"><br> <div id="tx_attach_txt" class="tx-attach-txt">파일 첨부</div><br> <div id="tx_attach_box" class="tx-attach-box"><br> <div class="tx-attach-box-inner"><br> <div id="tx_attach_preview" class="tx-attach-preview"><br> <p></p></p><p> <b><span style="color: rgb(9, 0, 255);"><!-- 이미지 파일 경로 수정 --></span></b></p><p> <img src="<b><span style="color: rgb(9, 0, 255);">http://localhost/editor/daumEditor/images/icon/editor/pn_preview.gif</span></b>" width="147" height="108" unselectable="on"/><br> </div><br> <div class="tx-attach-main"><br> <div id="tx_upload_progress" class="tx-upload-progress"><br> <div>0%</div><br> <p>파일을 업로드하는 중입니다.</p><br> </div><br> <ul class="tx-attach-top"><br> <li id="tx_attach_delete" class="tx-attach-delete"><br> <a>전체삭제</a><br> </li><br> <li id="tx_attach_size" class="tx-attach-size"><br> 파일: <span id="tx_attach_up_size" class="tx-attach-size-up"></span>/<span id="tx_attach_max_size"></span><br> </li><br> <li id="tx_attach_tools" class="tx-attach-tools"></li><br> </ul><br> <ul id="tx_attach_list" class="tx-attach-list"></ul><br> </div><br> </div><br> </div><br> </div><br> </div><br> <br><!-- form 태그 삭제 --><br><!-- </form> --><br><br><br><!-- 에디터 끝 --><br><script type="text/javascript"><br> var config = {<br> txHost : ""<br> , txPath : ""<br> , txService : "sample"<br> , txProject : "sample"<br> , initializedId : ""<br> , wrapper : "tx_trex_container"<br> , form : "tx_editor_form" + ""<br> , txIconPath : "<b><span style="color: rgb(9, 0, 255);">http://localhost/editor/daumEditor/images/icon/editor/</span></b>"<br> , txDecoPath : "<b><span style="color: rgb(9, 0, 255);">http://localhost/editor/daumEditor/images/deco/contents/</span></b>"<br> , canvas: {<br> exitEditor:{ }<br> , styles: {<br> color : "#123456"<br> , fontFamily : "굴림"<br> , fontSize : "10pt"<br> , backgroundColor : "#FFFFFF"<br> , lineHeight : "1.5"<br> , padding : "8px"<br> }<br> , showGuideArea: false<br> }<br> , events : {<br> preventUnload: false<br> }<br> , sidebar : {<br> attachbox : {<br> show : true,<br> confirmForDeleteAll : true<br> }<br> }<br> , size: {<br> contentWidth : 700<br> }<br> };<br> EditorJSLoader.ready(function(Editor) {<br> var editor = new Editor(config);<br> });<br></script><br><script type="text/javascript"><br> <b><span style="color: rgb(255, 0, 0);">/* saveContent( )함수 삭제 ( board.php 파일에서 호출 하게 끔 변경 함 ) */</span></b><br><b><span style="color: rgb(255, 0, 0);"> /*</span><br><span style="color: rgb(255, 0, 0);"> function saveContent() {</span><br><span style="color: rgb(255, 0, 0);"> Editor.save(); // 이 함수를 호출하여 글을 등록하면 된다.</span><br><span style="color: rgb(255, 0, 0);"> }</span><br><span style="color: rgb(255, 0, 0);"> */</span></b><br><br> function validForm(editor) {<br> var validator = new Trex.Validator();<br> var content = editor.getContent();<br> if (!validator.exists(content)) {<br> alert("내용을 입력하세요");<br> return false;<br> }<br> return true;<br> }<br><br> function setForm(editor) {<br> var i = "";<br> var input = "";<br> var form = editor.getForm();<br> var content = editor.getContent();<br><br> var textarea = document.createElement('textarea');<br> textarea.name = "content";<br> textarea.value = content;<br> form.createField(textarea);<br><br> var images = editor.getAttachments('image');<br> for(i = 0; i < images.length; i++) {<br> if (images[i].existStage) {<br> alert("attachment information - image[" + i + "] \r\n" + JSON.stringify(images[i].data));<br> input = document.createElement('input');<br> input.type = "hidden";<br> input.name = "attach_image";<br> input.value = images[i].data.imageurl;<br> form.createField(input);<br> }<br> }<br><br> var files = editor.getAttachments('file');<br> for(i = 0; i < files.length; i++) {<br> input = document.createElement('input');<br> input.type = "hidden";<br> input.name = "attach_file";<br> input.value = files[i].data.attachurl;<br> form.createField(input);<br> }<br> return true;<br> }<br></script><br><br><b><span style="color: rgb(255, 0, 0);"><!-- 저장 버튼 삭제 ( </span></b><b><span style="color: rgb(255, 0, 0);"><b><span style="color: rgb(255, 0, 0);">saveContent( ) 함수는 board.php에서 호출하게 변경 ) </span></b>--></span></b><br><b><span style="color: rgb(255, 0, 0);"><!-- <div><button xxxxonclick="saveContent()">SAMPLE - submit contents</button></div> --></span></b><br><br><b><span style="color: rgb(255, 0, 0);"><!-- 샘플 컨텐츠 추가 내용 삭제 --></span></b><br><b><span style="color: rgb(255, 0, 0);"><!--</span><br><span style="color: rgb(255, 0, 0);"><textarea id="sample_contents_source" style="display:none;"></span><br><span style="color: rgb(255, 0, 0);"> <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p></span><br><span style="color: rgb(255, 0, 0);"> <p style="text-align: center;"></span><br><span style="color: rgb(255, 0, 0);"> <img src="https://t1.daumcdn.net/cfile/blog/2064CD374EE1ACCB0F" class="tx-daum-image" style="clear:none;float:none;"/></span><br><span style="color: rgb(255, 0, 0);"> </p></span><br><span style="color: rgb(255, 0, 0);"> <p></span><br><span style="color: rgb(255, 0, 0);"> <a href="https://t1.daumcdn.net/cfile/blog/207C8C1B4AA4F5DC01"><img src="snapshot/images/icon/p_gif_s.gif"/> editor_bi.gif</a></span><br><span style="color: rgb(255, 0, 0);"> </p></span><br><span style="color: rgb(255, 0, 0);"></textarea></span><br><span style="color: rgb(255, 0, 0);">--></span></b></p><p><b></b><br><b><span style="color: rgb(255, 0, 0);"><!-- 샘플 스크립트 삭제 --></span></b><br><b><span style="color: rgb(255, 0, 0);"><!--</span><br><span style="color: rgb(255, 0, 0);"><script type="text/javascript"></span><br><span style="color: rgb(255, 0, 0);"> function loadContent() {</span><br><span style="color: rgb(255, 0, 0);"> var attachments = {};</span><br><span style="color: rgb(255, 0, 0);"> attachments['image'] = [];</span><br><span style="color: rgb(255, 0, 0);"> attachments['image'].push({</span><br><span style="color: rgb(255, 0, 0);"> "attacher": "image"</span><br><span style="color: rgb(255, 0, 0);"> , "data": {</span><br><span style="color: rgb(255, 0, 0);"> "imageurl" : "https://t1.daumcdn.net/cfile/blog/2064CD374EE1ACCB0F"</span><br><span style="color: rgb(255, 0, 0);"> , "filename" : "github.gif"</span><br><span style="color: rgb(255, 0, 0);"> , "filesize" : 59501</span><br><span style="color: rgb(255, 0, 0);"> , "originalurl" : "https://t1.daumcdn.net/cfile/blog/2064CD374EE1ACCB0F"</span><br><span style="color: rgb(255, 0, 0);"> , "thumburl" : "https://t1.daumcdn.net/cfile/blog/2064CD374EE1ACCB0F"</span><br><span style="color: rgb(255, 0, 0);"> }</span><br><span style="color: rgb(255, 0, 0);"> });</span><br><span style="color: rgb(255, 0, 0);"> attachments['file'] = [];</span><br><span style="color: rgb(255, 0, 0);"> attachments['file'].push({</span><br><span style="color: rgb(255, 0, 0);"> "attacher" : "file"</span><br><span style="color: rgb(255, 0, 0);"> , "data" : {</span><br><span style="color: rgb(255, 0, 0);"> "attachurl" : "https://t1.daumcdn.net/cfile/blog/207C8C1B4AA4F5DC01"</span><br><span style="color: rgb(255, 0, 0);"> , "filemime" : "image/gif"</span><br><span style="color: rgb(255, 0, 0);"> , "filename" : "editor_bi.gif"</span><br><span style="color: rgb(255, 0, 0);"> , "filesize" : 640</span><br><span style="color: rgb(255, 0, 0);"> }</span><br><span style="color: rgb(255, 0, 0);"> });</span><br><span style="color: rgb(255, 0, 0);"> Editor.modify({</span><br><span style="color: rgb(255, 0, 0);"> "attachments": function() {</span><br><span style="color: rgb(255, 0, 0);"> var allattachments = [];</span><br><span style="color: rgb(255, 0, 0);"> for (var i in attachments) {</span><br><span style="color: rgb(255, 0, 0);"> allattachments = allattachments.concat(attachments[i]);</span><br><span style="color: rgb(255, 0, 0);"> }</span><br><span style="color: rgb(255, 0, 0);"> return allattachments;</span><br><span style="color: rgb(255, 0, 0);"> }(),</span><br><span style="color: rgb(255, 0, 0);"> "content" : document.getElementById("sample_contents_source")</span><br><span style="color: rgb(255, 0, 0);"> });</span><br><span style="color: rgb(255, 0, 0);"> }</span><br><span style="color: rgb(255, 0, 0);"></script></span><br><span style="color: rgb(255, 0, 0);">--></span></b><br><br><b><span style="color: rgb(255, 0, 0);"><!-- 샘플 버튼 삭제 --></span></b><br><b><span style="color: rgb(255, 0, 0);"><!-- <div><button xxxxonclick='loadContent()'>SAMPLE - load contents to editor</button></div> --></span></b><br><br></body><br></html><br></p></td>
</tr>
</tbody></table><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><span style="font-size: 12pt;">13. 이제 <b><span style="color: rgb(9, 0, 255);">board.php</span></b>를 실행하고 다음에디터가 잘 실행되는 지 확인해 보자.</span></p><p><span style="font-size: 12pt;"> 정상적으로 출력이 된다면 제목과 내용을 작성한뒤 <b><span style="color: rgb(9, 0, 255);">등록</span></b>버튼을 클릭해보자.</span><br></p><p style="text-align: left; clear: none; float: none;"><span class="imageblock" style="display: inline-block; width: 784px; height: auto; max-width: 100%;" href="https://t1.daumcdn.net/cfile/tistory/22103B37582D3D2A33?original" data-lightbox="lightbox" data-alt="null"><img src="https://t1.daumcdn.net/cfile/tistory/22103B37582D3D2A33" style="max-width: 100%; height: auto;" srcset="https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F22103B37582D3D2A33" width="784" height="673" filename="그림09.jpg" filemime="image/jpeg"></span></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><br></p><p style="text-align: left; clear: none; float: none;"><span style="font-size: 12pt;">14. 아래와같이 결과가 잘 전송되는 것을 확인 할 수 있다.</span><br></p><p style="text-align: left; clear: none; float: none;"><span class="imageblock" style="display: inline-block; width: 784px; height: auto; max-width: 100%;" href="https://t1.daumcdn.net/cfile/tistory/241D7837582D3D2B25?original" data-lightbox="lightbox" data-alt="null"><img src="https://t1.daumcdn.net/cfile/tistory/241D7837582D3D2B25" style="max-width: 100%; height: auto;" srcset="https://img1.daumcdn.net/thumb/R1280x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F241D7837582D3D2B25" width="784" height="673" filename="그림10.jpg" filemime="image/jpeg"></span></p><p></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p><p><br></p></div>
<!-- System - START -->
<div class="revenue_unit_wrap">
<div class="revenue_unit_item adsense responsive">
<div class="revenue_unit_info">반응형</div>
<script src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" async="async"></script>
<ins class="adsbygoogle" style="display: block;" data-ad-host="ca-host-pub-9691043933427338" data-ad-client="ca-pub-9184328219859099" data-ad-format="auto"></ins>
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
</div>
</div>
<!-- System - END -->
<div class="container_postbtn #post_button_group">
<div class="postbtn_like"><script>window.ReactionButtonType = 'reaction';
window.ReactionApiUrl = '//wickedmagic.tistory.com/reaction';
window.ReactionReqBody = {
entryId: 552
}</script>
<div class="wrap_btn" id="reaction-552"><button class="btn_post uoc-icon"><div class="uoc-icon"><span class="ico_postbtn ico_like">좋아요</span><span class="txt_like uoc-count">2</span></div></button></div>
<script src="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/script/reaction-button-container.min.js"></script><div class="wrap_btn wrap_btn_share"><button type="button" class="btn_post sns_btn btn_share" aria-expanded="false" data-thumbnail-url="https://img1.daumcdn.net/thumb/R800x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F22103B37582D3D2A33" data-title="[DaumEditor] 다음 에디터(Daum Editor) 세팅하고 사용하기." data-description="첨부파일 : ■ 다음 에디터(Daum Editor) 세팅하고 사용하기 01. https://github.com/kakao/DaumEditor/tree/gh-pages/download에 접속해서 다음에디터를 다운받자. 02. 화면 최하단을 보면 How to download 라고 적힌 유의사항이 적힌 부분이 있는데. 여기서는 안정적인 stable(7.4.X) 버전대를 사용하기로 한다. 03. Stable(7.4.X)버전에서 가장 높은 버전대를 찾아 선택하고 클릭한다. 04. 해당 버전의 다운로드 페이지로 이동되면 아래 순서대로 작업을 수행한다. ① Download 버튼을 클릭한다. ② 확인 버튼을 클릭하여 daumeditor.zip 파일을 다운받는다. 05. 이제 다음 에디터 프로젝트를 수행할 폴더를 생성하.." data-profile-image="https://t1.daumcdn.net/cfile/tistory/1962B8414EF32DD630" data-profile-name="사악미소" data-pc-url="https://wickedmagic.tistory.com/552" data-relative-pc-url="/552" data-blog-title="사악미소의 현대마법의 공방"><span class="ico_postbtn ico_share">공유하기</span></button>
<div class="layer_post" id="tistorySnsLayer" style="display: none;"><div class="bundle_post"><button class="btn_mark" data-service="url"><span class="ico_sns ico_url"></span><span class="txt_sns">URL 복사</span></button><button class="btn_mark" data-service="kakaotalk"><span class="ico_sns ico_kt"></span><span class="txt_sns">카카오톡 공유</span></button><button class="btn_mark" data-service="facebook"><span class="ico_sns ico_fb"></span><span class="txt_sns">페이스북 공유</span></button><button class="btn_mark" data-service="twitter"><span class="ico_sns ico_x"></span><span class="txt_sns">엑스 공유</span></button><span class="ico_postbtn ico_arrbt"></span></div></div>
</div><div class="wrap_btn wrap_btn_etc" data-entry-id="552" data-entry-visibility="public" data-category-visibility="public"><button type="button" class="btn_post btn_etc2" aria-expanded="false"><span class="ico_postbtn ico_etc">게시글 관리</span></button>
<div class="layer_post" id="tistoryEtcLayer" style="display: none;"></div>
</div></div>
<button type="button" class="btn_menu_toolbar btn_subscription #subscribe" data-blog-id="885720" data-url="https://wickedmagic.tistory.com/552" data-device="web_pc"><em class="txt_state">구독하기</em><strong class="txt_tool_id">사악미소의 현대마법의 공방</strong><span class="img_common_tistory ico_check_type1"></span></button><div class="postbtn_ccl" data-ccl-type="2" data-ccl-derive="1">
<a href="https://creativecommons.org/licenses/by/4.0/deed.ko" target="_blank" class="link_ccl" rel="license">
<span class="bundle_ccl">
<span class="ico_postbtn ico_ccl1">저작자표시</span>
</span>
</a>
</div>
<!--
<rdf:RDF xmlns="https://web.resource.org/cc/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:rdf="https://www.w3.org/1999/02/22-rdf-syntax-ns#">
<Work rdf:about="">
<license rdf:resource="https://creativecommons.org/licenses/by/4.0/deed.ko" />
</Work>
<License rdf:about="https://creativecommons.org/licenses/by/4.0/deed.ko">
<permits rdf:resource="https://web.resource.org/cc/Reproduction"/>
<permits rdf:resource="https://web.resource.org/cc/Distribution"/>
<requires rdf:resource="https://web.resource.org/cc/Notice"/>
<requires rdf:resource="https://web.resource.org/cc/Attribution"/>
<permits rdf:resource="https://web.resource.org/cc/DerivativeWorks"/>
</License>
</rdf:RDF>
--> <div data-tistory-react-app="SupportButton"></div>
</div>
<!-- PostListinCategory - START -->
<div class="another_category another_category_color_gray">
<h4>'<a href="/category/DaumEditor">DaumEditor</a>' 카테고리의 다른 글</h4>
<div class="table-wrap"><table>
<tbody><tr>
<th><a href="/554">[DaumEditor] 다음 오픈 멀티 에디터 제작</a> <span>(0)</span></th>
<td>2017.05.29</td>
</tr>
<tr>
<th><a href="/556">[DaumEditor] 다음 에디터 팝업창 오픈 하여 사용하기.</a> <span>(0)</span></th>
<td>2016.12.05</td>
</tr>
<tr>
<th><a href="/553">[DaumEditor] 다음 에디터 사진첨부(uploadify) 기능 추가하기.</a> <span>(10)</span></th>
<td>2016.11.17</td>
</tr>
</tbody></table></div>
</div>
<!-- PostListinCategory - END -->
</div>
<div class="related-articles">
<h2><strong>'DaumEditor'</strong> Related Articles</h2>
<ul>
<li>
<a href="/554?category=711795">
<span class="thum">
<img src="//i1.daumcdn.net/thumb/C200x200/?fname=https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F273466385833ABFB19" alt="">
</span>
<span class="title">[DaumEditor] 다음 오픈 멀티 에디터 제작</span>
</a>
</li>
<li>
<a href="/556?category=711795">
<span class="thum">
<img src="//i1.daumcdn.net/thumb/C200x200/?fname=https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F21520D4558451F7534" alt="">
</span>
<span class="title">[DaumEditor] 다음 에디터 팝업창 오픈 하여 사용하기.</span>
</a>
</li>
<li>
<a href="/553?category=711795">
<span class="thum">
<img src="//i1.daumcdn.net/thumb/C200x200/?fname=https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F241D6A49582D724921" alt="">
</span>
<span class="title">[DaumEditor] 다음 에디터 사진첨부(uploadify) 기능 추가하기.</span>
</a>
</li>
</ul>
</div>
<div data-tistory-react-app="Namecard"><div class="tt_box_namecard"><div class="tt_cont"><a href="https://wickedmagic.tistory.com" class="tt_tit_cont">사악미소의 현대마법의 공방</a><a href="https://wickedmagic.tistory.com" class="tt_desc">사악미소 님의 블로그입니다.</a><button type="button" class="tt_btn_subscribe"><span class="tt_txt_g">구독하기</span><span class="tt_img_area_reply tt_ico_cross"></span></button></div><a href="https://wickedmagic.tistory.com" class="tt_wrap_thumb"><span class="tt_thumb_g" style="background-image: url("https://img1.daumcdn.net/thumb/S56x56/?scode=mtistory2&fname=https%3A%2F%2Ft1.daumcdn.net%2Fcfile%2Ftistory%2F1962B8414EF32DD630");"></span></a></div></div><div id="entry552Comment">
<div data-tistory-react-app="Comment"><div class="tt-comment-cont"><div class="tt-box-total"><span class="tt_txt_g">댓글</span><span class="tt_num_g">1</span></div><div class="tt-area-reply"><ul class="tt-list-reply"><li class="tt-item-reply rp_general"><div class="tt-wrap-cmt"><div class="tt-box-thumb"><a><span class="tt-thumbnail" style="background-image: url("https://img1.daumcdn.net/thumb/C88x88/?fname=https%3A%2F%2Ft1.daumcdn.net%2Ftistory_admin%2Fblog%2Fadmin%2Fprofile_default_06.png");"></span></a></div><div class="tt-box-content"><div class="tt-box-meta"><a target="_blank" rel="noreferrer" class="tt-link-user">뚀정</a></div><div class="tt-wrap-desc"><p class="tt_desc">다음 웹 에디터 다 따라해봤는데 안됐는데<br><br>됍니다 ㅠㅠㅠ 정말 감사합니다 ㅠㅠㅠ 복받으실꺼예요 2017년도 복 다가져 가세요 !!!!!!!!!!!!!!!!</p></div><div class="tt-wrap-info"><span class="tt_date">2017. 2. 22. 13:29</span><span class="tt-wrap-link-comment"><a href="#" class="tt-link-comment"><span class="tt_txt_g">답글</span></a></span></div><div class="tt-box-modify"><button type="button" class="tt_img_area_reply tt-button-modify">더보기</button><ul class="tt-list-modify"><li><a href="#">수정</a></li><li><a href="#">삭제</a></li><li><a href="#">신고</a></li><li><a href="#">링크복사</a></li></ul></div><div class="tt_box_pwd" style="display: none;"><form class="tt_form_pwd"><fieldset><legend class="screen_out">비밀번호 입력</legend><input class="tt_inp_g" type="password" title="비밀번호" placeholder="비밀번호를 입력하세요." maxlength="12" value=""><button type="submit" class="tt_btn_submit" disabled=""><span class="tt_img_area_reply tt_ico_check">입력하기</span></button></fieldset></form></div></div></div></li></ul></div><form style="margin: 0px;"><div class="tt-area-write"><div class="tt-box-thumb"><span class="tt-thumbnail" style="background-image: url("https://img1.daumcdn.net/thumb/C88x88/?fname=https%3A%2F%2Ft1.daumcdn.net%2Ftistory_admin%2Fblog%2Fadmin%2Fprofile_default_06.png");"></span></div><div class="tt_wrap_write"><div class="tt-box-account"><input type="text" title="이름" placeholder="이름" maxlength="32" value=""><input type="password" title="비밀번호" maxlength="12" placeholder="비밀번호" value=""></div><div class="tt-box-textarea"><div class="tt-inner-g"><div contenteditable="true" placeholder="내용을 입력하세요." class="tt-cmt"></div></div></div><div class="tt-box-write"><label class="tt-xe-label"><input type="checkbox" id="secret"><span class="tt_img_area_reply tt-xe-input-helper"></span><span class="tt-xe-label-text">비밀글</span></label><button type="submit" class="tt-btn_register" disabled="">등록</button></div></div></div></form></div></div>
</div>
<script type="text/javascript">loadedComments[552]=true;
findFragmentAndHighlight(552);</script>
</div>
</article>
<aside id="aside">
<div class="inner">
<div class="sidebar-1">
<!-- 공지사항 -->
<div class="posts">
<h2>공지사항</h2>
<ul>
</ul>
</div>
<!-- 최근 포스트 -->
<div class="posts">
<h2>최근 포스트</h2>
<ul>
<li><a href="/597">블로그 폐쇄 합니다.</a></li>
<li><a href="/596">[AJAX] 파일 업로드 하고 썸네일 생성하기</a></li>
<li><a href="/595">[jQuery] 이미지 슬라이드 제작</a></li>
<li><a href="/594">[jQuery] 쇼핑몰 상품박스 예제</a></li>
</ul>
</div>
</div>
<div class="sidebar-2">
<!-- 태그 -->
<div class="tags">
<h2>태그</h2>
<div class="items">
<a href="/tag/CKEditor">CKEditor</a>
<a href="/tag/TCPDF">TCPDF</a>
<a href="/tag/php">php</a>
<a href="/tag/%EC%BD%94%EB%93%9C%EC%9D%B4%EA%B7%B8%EB%82%98%EC%9D%B4%ED%84%B0">코드이그나이터</a>
<a href="/tag/CK%EC%97%90%EB%94%94%ED%84%B0">CK에디터</a>
<a href="/tag/Premiere%20Pro">Premiere Pro</a>
<a href="/tag/CodeIgniter">CodeIgniter</a>
<a href="/tag/Masonry">Masonry</a>
<a href="/tag/jQuery">jQuery</a>
<a href="/tag/%ED%94%84%EB%A6%AC%EB%AF%B8%EC%96%B4%20%ED%94%84%EB%A1%9C">프리미어 프로</a>
</div>
<a href="/tag" class="more">더보기</a>
</div>
</div>
<div class="sidebar-3">
<!-- 검색 -->
<div class="search">
<h2>검색</h2>
<fieldset>
<label for="search" class="screen_out">블로그 내 검색</label>
<input id="search" type="text" name="search" value="" placeholder="검색내용을 입력하세요." xxxxonkeypress="if (event.keyCode == 13 ) { try {
window.location.href = '/search' + '/' + looseURIEncode(document.getElementsByName('search')[0].value);
document.getElementsByName('search')[0].value = '';
return false;
} catch (e) {} }">
<button type="button" xxxxonclick="try {
window.location.href = '/search' + '/' + looseURIEncode(document.getElementsByName('search')[0].value);
document.getElementsByName('search')[0].value = '';
return false;
} catch (e) {}">검색</button>
</fieldset>
</div>
<!-- 전체 방문자 -->
<div class="count">
<h2>전체 방문자</h2>
<p class="total">1,486,803</p>
<ul>
<li><strong>오늘</strong>457</li>
<li><strong>어제</strong>459</li>
</ul>
</div>
</div>
</div>
</aside>
</section>
<hr>
<footer id="footer">
<p class="copyright">DESIGN BY <a href="#">TISTORY</a> <a href="https://wickedmagic.tistory.com/manage" class="admin">관리자</a></p>
</footer>
</div>
<script src="https://tistory1.daumcdn.net/tistory/0/pg_Whatever/images/script.js"></script>
<div class="#menubar menu_toolbar ">
<h2 class="screen_out">티스토리툴바</h2>
</div>
<div class="#menubar menu_toolbar "></div>
<div class="layer_tooltip">
<div class="inner_layer_tooltip">
<p class="desc_g"></p>
</div>
</div>
<iframe id="editEntry" style="position:absolute;width:1px;height:1px;left:-100px;top:-100px" src="//wickedmagic.tistory.com/api"></iframe>
<!-- CallBack - START -->
<script> (function () {
var blogTitle = '사악미소의 현대마법의 공방';
(function () {
function isShortContents () {
return window.getSelection().toString().length < 30;
}
function isCommentLink (elementID) {
return elementID === 'commentLinkClipboardInput'
}
function copyWithSource (event) {
if (isShortContents() || isCommentLink(event.target.id)) {
return;
}
var range = window.getSelection().getRangeAt(0);
var contents = range.cloneContents();
var temp = document.createElement('div');
temp.appendChild(contents);
var url = document.location.href;
var decodedUrl = decodeURI(url);
var postfix = ' [' + blogTitle + ':티스토리]';
event.clipboardData.setData('text/plain', temp.innerText + '\n출처: ' + decodedUrl + postfix);
event.clipboardData.setData('text/html', '<pre data-ke-type="codeblock">' + temp.innerHTML + '</pre>' + '출처: <a href="' + url + '">' + decodedUrl + '</a>' + postfix);
event.preventDefault();
}
document.addEventListener('copy', copyWithSource);
})()
})()</script>
<!-- CallBack - END -->
<!-- DragSearchHandler - START -->
<script src="//search1.daumcdn.net/search/statics/common/js/g/search_dragselection.min.js"></script>
<!-- DragSearchHandler - END -->
<script> (function (win, doc, src) {
win.Wpm = win.Wpm || function (name, param) {
win.Wpm.queue = win.Wpm.queue || [];
const { queue } = win.Wpm;
queue.push([name, param]);
};
const script = doc.createElement('script');
script.src = src;
script.async = 1;
const [elem] = doc.getElementsByTagName('script');
elem.parentNode.insertBefore(script, elem);
})(window, document, 'https://t1.kakaocdn.net/malibu_prod/normal_wpm.js');
const APP_KEY = 'fd21bd1c091849f9a2555e49c43a73dd';
Wpm('appKey', APP_KEY);</script>
<script type="text/javascript">(function($) {
$(document).ready(function() {
lightbox.options.fadeDuration = 200;
lightbox.options.resizeDuration = 200;
lightbox.options.wrapAround = false;
lightbox.options.albumLabel = "%1 / %2";
})
})(tjQuery);</script>
<div style="margin:0; padding:0; border:none; background:none; float:none; clear:none; z-index:0"></div>
<script type="text/javascript" src="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/script/common.js"></script>
<script type="text/javascript">window.roosevelt_params_queue = window.roosevelt_params_queue || [{channel_id: 'dk', channel_label: '{tistory}'}]</script>
<script type="text/javascript" src="//t1.daumcdn.net/midas/rt/dk_bt/roosevelt_dk_bt.js" async="async"></script>
<script type="text/javascript" src="https://tistory1.daumcdn.net/tistory_admin/userblog/tistory-20727ff99067657a6f16db1ece6ce2f18c274e00/static/script/menubar.min.js"></script>
<script>window.tiara = {"svcDomain":"user.tistory.com","section":"글뷰","trackPage":"글뷰_보기","page":"글뷰","key":"885720-552","customProps":{"userId":"0","blogId":"885720","entryId":"552","role":"guest","trackPage":"글뷰_보기","filterTarget":false},"entry":{"entryId":"552","categoryName":"DaumEditor","categoryId":"711795","author":"580790","image":"cfile26.uf@22103B37582D3D2A331F35.jpg","plink":"/552","tags":[]},"kakaoAppKey":"3e6ddd834b023f24221217e370daed18","appUserId":"null"}</script>
<script type="module" src="https://t1.daumcdn.net/tistory_admin/frontend/tiara/v1.0.0/index.js"></script>
<script src="https://t1.daumcdn.net/tistory_admin/frontend/tiara/v1.0.0/polyfills-legacy.min.js" nomodule="true" defer="true"></script>
<script src="https://t1.daumcdn.net/tistory_admin/frontend/tiara/v1.0.0/index-legacy.js" nomodule="true" defer="true"></script>
<div id="lightboxOverlay" class="lightboxOverlay" style="width: 1868px; height: 40241px; display: block;"></div><div id="lightbox" class="lightbox" style="display: block; top: 17450px; left: 0px;"><div class="lb-outerContainer" style="width: 792px; height: 681px;"><div class="lb-container"><img class="lb-image" src="https://t1.daumcdn.net/cfile/tistory/22103B37582D3D2A33?original" style="display: block; width: 784px; height: 673px;" alt="null"><div class="lb-nav" style="display: block; pointer-events: auto;"><a class="lb-prev" href="" style="display: block;"></a><a class="lb-next" href="" style="display: block;"></a></div><div class="lb-loader" style="display: none; opacity: 0;"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer" style="display: block; width: 792px;"><div class="lb-data"><div class="lb-details"><span class="lb-caption" style="display: none;"></span><span class="lb-number">9 / 10</span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div></body><div class="notranslate" style="position: absolute; top: 0; right:0;" id="vd-root-d19608294"></div></html>
https://www.w3schools.com/html/tryit.asp?filename=tryhtml_default
HTML tag 위즈윅 ++
|
첫댓글 https://www.w3schools.com/html/tryit.asp?filename=tryhtml_default
<iframe id="editEntry" style="position:absolute;width:1px;height:1px;left:-100px;top:-100px" src="//wickedmagic.tistory.com/api"></iframe>
https://wickedmagic.tistory.com/552
https://wickedmagic.tistory.com/552?category=711795