diff --git a/VamPa/src/main/webapp/WEB-INF/views/admin/goodsEnroll.jsp b/VamPa/src/main/webapp/WEB-INF/views/admin/goodsEnroll.jsp index 65c3fe6..4f7ca2b 100644 --- a/VamPa/src/main/webapp/WEB-INF/views/admin/goodsEnroll.jsp +++ b/VamPa/src/main/webapp/WEB-INF/views/admin/goodsEnroll.jsp @@ -11,6 +11,7 @@ src="https://code.jquery.com/jquery-3.4.1.js" integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU=" crossorigin="anonymous"> + @@ -90,7 +91,7 @@
- +
@@ -98,7 +99,7 @@
- +
@@ -131,6 +132,24 @@ $("#enrollBtn").on("click",function(e){ }); + +/* 위지윅 적용 */ + + /* 책 소개 */ + ClassicEditor + .create(document.querySelector('#bookIntro_textarea')) + .catch(error=>{ + console.error(error); + }); + + /* 책 목차 */ + ClassicEditor + .create(document.querySelector('#bookContents_textarea')) + .catch(error=>{ + console.error(error); + }); + + diff --git a/VamPa/src/main/webapp/resources/css/admin/goodsEnroll.css b/VamPa/src/main/webapp/resources/css/admin/goodsEnroll.css index 490a4e7..2f411d0 100644 --- a/VamPa/src/main/webapp/resources/css/admin/goodsEnroll.css +++ b/VamPa/src/main/webapp/resources/css/admin/goodsEnroll.css @@ -139,6 +139,9 @@ ul{ text-align-last: center; } +.ck-content { /* ckeditor 높이 */ + height: 170px; +} /* 버튼 영역 */ .btn_section{ diff --git a/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties b/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties index 24cfe4b..c454437 100644 --- a/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties +++ b/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven Integration for Eclipse -#Mon Mar 22 16:56:34 KST 2021 +#Tue Mar 23 08:56:29 KST 2021 m2e.projectLocation=C\:\\Users\\sjinj\\git\\Blog_Project\\VamPa m2e.projectName=VamPa groupId=com.vam diff --git a/VamPa_MySQL/src/main/webapp/WEB-INF/views/admin/goodsEnroll.jsp b/VamPa_MySQL/src/main/webapp/WEB-INF/views/admin/goodsEnroll.jsp index 65c3fe6..4f7ca2b 100644 --- a/VamPa_MySQL/src/main/webapp/WEB-INF/views/admin/goodsEnroll.jsp +++ b/VamPa_MySQL/src/main/webapp/WEB-INF/views/admin/goodsEnroll.jsp @@ -11,6 +11,7 @@ src="https://code.jquery.com/jquery-3.4.1.js" integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU=" crossorigin="anonymous"> + @@ -90,7 +91,7 @@
- +
@@ -98,7 +99,7 @@
- +
@@ -131,6 +132,24 @@ $("#enrollBtn").on("click",function(e){ }); + +/* 위지윅 적용 */ + + /* 책 소개 */ + ClassicEditor + .create(document.querySelector('#bookIntro_textarea')) + .catch(error=>{ + console.error(error); + }); + + /* 책 목차 */ + ClassicEditor + .create(document.querySelector('#bookContents_textarea')) + .catch(error=>{ + console.error(error); + }); + + diff --git a/VamPa_MySQL/src/main/webapp/resources/css/admin/goodsEnroll.css b/VamPa_MySQL/src/main/webapp/resources/css/admin/goodsEnroll.css index 490a4e7..2f411d0 100644 --- a/VamPa_MySQL/src/main/webapp/resources/css/admin/goodsEnroll.css +++ b/VamPa_MySQL/src/main/webapp/resources/css/admin/goodsEnroll.css @@ -139,6 +139,9 @@ ul{ text-align-last: center; } +.ck-content { /* ckeditor 높이 */ + height: 170px; +} /* 버튼 영역 */ .btn_section{ diff --git a/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties b/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties index 759cbc2..de16d61 100644 --- a/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties +++ b/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven Integration for Eclipse -#Mon Mar 22 16:56:35 KST 2021 +#Tue Mar 23 08:56:29 KST 2021 m2e.projectLocation=C\:\\Users\\sjinj\\git\\Blog_Project\\VamPa_MySQL m2e.projectName=VamPa_MySQL groupId=com.vam