...
| Name | Type | Description |
|---|---|---|
| selector | string | 편집할 DOM을 가져올 selector |
...
Return: text
| Name | Type | Description |
|---|---|---|
| test | string | DOM에서 추출한 text |
Example:
| Code Block | ||||
|---|---|---|---|---|
| ||||
let field = window.editor.getText('#field');
let name = window.editor.getText('#name');
let birth = window.editor.getText('#birth');
let address = window.editor.getText('#address');
let phone = window.editor.getText('#phone');
let copyright = window.editor.getText('#copyright'); |
...