ninegrid2 6.1334.0 → 6.1337.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.
- package/dist/bundle.cjs.js +10 -1
- package/dist/bundle.esm.js +10 -1
- package/dist/nx/nxEditor.js +10 -1
- package/package.json +1 -1
- package/src/nx/nxEditor.js +10 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -55354,7 +55354,16 @@ class nxEditor extends nxDiv {
|
|
|
55354
55354
|
else btn.classList.remove('is-active');
|
|
55355
55355
|
});
|
|
55356
55356
|
|
|
55357
|
-
|
|
55357
|
+
// 현재 선택 영역의 폰트 사이즈를 가져와 셀렉트 박스에 반영
|
|
55358
|
+
const fontSize = editor.getAttributes('textStyle').fontSize;
|
|
55359
|
+
console.log(fontSize);
|
|
55360
|
+
const select = this.shadowRoot.querySelector('#font-size');
|
|
55361
|
+
console.log(select);
|
|
55362
|
+
if (fontSize) {
|
|
55363
|
+
select.value = fontSize;
|
|
55364
|
+
} else {
|
|
55365
|
+
select.value = '14px'; // 기본값
|
|
55366
|
+
}
|
|
55358
55367
|
}
|
|
55359
55368
|
|
|
55360
55369
|
#bindEvents() {
|
package/dist/bundle.esm.js
CHANGED
|
@@ -55350,7 +55350,16 @@ class nxEditor extends nxDiv {
|
|
|
55350
55350
|
else btn.classList.remove('is-active');
|
|
55351
55351
|
});
|
|
55352
55352
|
|
|
55353
|
-
|
|
55353
|
+
// 현재 선택 영역의 폰트 사이즈를 가져와 셀렉트 박스에 반영
|
|
55354
|
+
const fontSize = editor.getAttributes('textStyle').fontSize;
|
|
55355
|
+
console.log(fontSize);
|
|
55356
|
+
const select = this.shadowRoot.querySelector('#font-size');
|
|
55357
|
+
console.log(select);
|
|
55358
|
+
if (fontSize) {
|
|
55359
|
+
select.value = fontSize;
|
|
55360
|
+
} else {
|
|
55361
|
+
select.value = '14px'; // 기본값
|
|
55362
|
+
}
|
|
55354
55363
|
}
|
|
55355
55364
|
|
|
55356
55365
|
#bindEvents() {
|
package/dist/nx/nxEditor.js
CHANGED
|
@@ -166,7 +166,16 @@ class nxEditor extends nxDiv {
|
|
|
166
166
|
else btn.classList.remove('is-active');
|
|
167
167
|
});
|
|
168
168
|
|
|
169
|
-
|
|
169
|
+
// 현재 선택 영역의 폰트 사이즈를 가져와 셀렉트 박스에 반영
|
|
170
|
+
const fontSize = editor.getAttributes('textStyle').fontSize;
|
|
171
|
+
console.log(fontSize);
|
|
172
|
+
const select = this.shadowRoot.querySelector('#font-size');
|
|
173
|
+
console.log(select);
|
|
174
|
+
if (fontSize) {
|
|
175
|
+
select.value = fontSize;
|
|
176
|
+
} else {
|
|
177
|
+
select.value = '14px'; // 기본값
|
|
178
|
+
}
|
|
170
179
|
}
|
|
171
180
|
|
|
172
181
|
#bindEvents() {
|
package/package.json
CHANGED
package/src/nx/nxEditor.js
CHANGED
|
@@ -166,7 +166,16 @@ class nxEditor extends nxDiv {
|
|
|
166
166
|
else btn.classList.remove('is-active');
|
|
167
167
|
});
|
|
168
168
|
|
|
169
|
-
|
|
169
|
+
// 현재 선택 영역의 폰트 사이즈를 가져와 셀렉트 박스에 반영
|
|
170
|
+
const fontSize = editor.getAttributes('textStyle').fontSize;
|
|
171
|
+
console.log(fontSize);
|
|
172
|
+
const select = this.shadowRoot.querySelector('#font-size');
|
|
173
|
+
console.log(select);
|
|
174
|
+
if (fontSize) {
|
|
175
|
+
select.value = fontSize;
|
|
176
|
+
} else {
|
|
177
|
+
select.value = '14px'; // 기본값
|
|
178
|
+
}
|
|
170
179
|
}
|
|
171
180
|
|
|
172
181
|
#bindEvents() {
|