편집할 DOM selector를 지정하여 text를 추출 할 수 있는 API입니다.
Name | Type | Description |
---|---|---|
selector | string | 편집할 DOM을 가져올 selector |
Name | Type | Description |
---|---|---|
test | string | DOM에서 추출한 text |
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'); |