ninegrid2 6.1333.0 → 6.1334.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.
@@ -55354,14 +55354,7 @@ class nxEditor extends nxDiv {
55354
55354
  else btn.classList.remove('is-active');
55355
55355
  });
55356
55356
 
55357
- // 현재 선택 영역의 폰트 사이즈를 가져와 셀렉트 박스에 반영
55358
- const fontSize = editor.getAttributes('textStyle').fontSize;
55359
- const select = this.shadowRoot.querySelector('#font-size');
55360
- if (fontSize) {
55361
- select.value = fontSize;
55362
- } else {
55363
- select.value = '14px'; // 기본값
55364
- }
55357
+
55365
55358
  }
55366
55359
 
55367
55360
  #bindEvents() {
@@ -55350,14 +55350,7 @@ class nxEditor extends nxDiv {
55350
55350
  else btn.classList.remove('is-active');
55351
55351
  });
55352
55352
 
55353
- // 현재 선택 영역의 폰트 사이즈를 가져와 셀렉트 박스에 반영
55354
- const fontSize = editor.getAttributes('textStyle').fontSize;
55355
- const select = this.shadowRoot.querySelector('#font-size');
55356
- if (fontSize) {
55357
- select.value = fontSize;
55358
- } else {
55359
- select.value = '14px'; // 기본값
55360
- }
55353
+
55361
55354
  }
55362
55355
 
55363
55356
  #bindEvents() {
@@ -166,14 +166,7 @@ class nxEditor extends nxDiv {
166
166
  else btn.classList.remove('is-active');
167
167
  });
168
168
 
169
- // 현재 선택 영역의 폰트 사이즈를 가져와 셀렉트 박스에 반영
170
- const fontSize = editor.getAttributes('textStyle').fontSize;
171
- const select = this.shadowRoot.querySelector('#font-size');
172
- if (fontSize) {
173
- select.value = fontSize;
174
- } else {
175
- select.value = '14px'; // 기본값
176
- }
169
+
177
170
  }
178
171
 
179
172
  #bindEvents() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninegrid2",
3
3
  "type": "module",
4
- "version": "6.1333.0",
4
+ "version": "6.1334.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -166,14 +166,7 @@ class nxEditor extends nxDiv {
166
166
  else btn.classList.remove('is-active');
167
167
  });
168
168
 
169
- // 현재 선택 영역의 폰트 사이즈를 가져와 셀렉트 박스에 반영
170
- const fontSize = editor.getAttributes('textStyle').fontSize;
171
- const select = this.shadowRoot.querySelector('#font-size');
172
- if (fontSize) {
173
- select.value = fontSize;
174
- } else {
175
- select.value = '14px'; // 기본값
176
- }
169
+
177
170
  }
178
171
 
179
172
  #bindEvents() {