ninegrid2 6.1293.0 → 6.1295.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -120093,6 +120093,13 @@ class nxEditor extends nxDiv {
120093
120093
 
120094
120094
  this.root.appendChild(htmlTmpl.content.cloneNode(true));
120095
120095
  const textarea = this.root.querySelector("textarea");
120096
+ console.log(textarea);
120097
+ if (!textarea) {
120098
+ console.error("nxEditor 초기화 실패: textarea를 찾을 수 없습니다.");
120099
+ return;
120100
+ }
120101
+
120102
+
120096
120103
 
120097
120104
  try {
120098
120105
  // ClassicEditor.create에 사용할 모든 플러그인을 명시적으로 주입합니다.
@@ -120089,6 +120089,13 @@ class nxEditor extends nxDiv {
120089
120089
 
120090
120090
  this.root.appendChild(htmlTmpl.content.cloneNode(true));
120091
120091
  const textarea = this.root.querySelector("textarea");
120092
+ console.log(textarea);
120093
+ if (!textarea) {
120094
+ console.error("nxEditor 초기화 실패: textarea를 찾을 수 없습니다.");
120095
+ return;
120096
+ }
120097
+
120098
+
120092
120099
 
120093
120100
  try {
120094
120101
  // ClassicEditor.create에 사용할 모든 플러그인을 명시적으로 주입합니다.
@@ -40,6 +40,13 @@ class nxEditor extends nxDiv {
40
40
 
41
41
  this.root.appendChild(htmlTmpl.content.cloneNode(true));
42
42
  const textarea = this.root.querySelector("textarea");
43
+ console.log(textarea);
44
+ if (!textarea) {
45
+ console.error("nxEditor 초기화 실패: textarea를 찾을 수 없습니다.");
46
+ return;
47
+ }
48
+
49
+
43
50
 
44
51
  try {
45
52
  // ClassicEditor.create에 사용할 모든 플러그인을 명시적으로 주입합니다.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.1293.0",
4
+ "version": "6.1295.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
package/rollup.config.js CHANGED
@@ -29,7 +29,10 @@ export default {
29
29
  // 2. SVG 처리 (CKEditor의 핵심 에러 해결 포인트)
30
30
  // 2. SVG를 순수 문자열로 처리 (stringify: true가 핵심)
31
31
  string({
32
- include: '**/*.svg'
32
+ include: [
33
+ '**/*.svg',
34
+ 'node_modules/@ckeditor/ckeditor5-*/theme/icons/*.svg'
35
+ ]
33
36
  }),
34
37
  url({
35
38
  exclude: ['**/*.svg'],
@@ -40,6 +40,13 @@ class nxEditor extends nxDiv {
40
40
 
41
41
  this.root.appendChild(htmlTmpl.content.cloneNode(true));
42
42
  const textarea = this.root.querySelector("textarea");
43
+ console.log(textarea);
44
+ if (!textarea) {
45
+ console.error("nxEditor 초기화 실패: textarea를 찾을 수 없습니다.");
46
+ return;
47
+ }
48
+
49
+
43
50
 
44
51
  try {
45
52
  // ClassicEditor.create에 사용할 모든 플러그인을 명시적으로 주입합니다.