...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
var p = document.getElementById('p1'); p.innerText = '텍스트를Change the 변경합니다text.'; editor.updateModel('p1'); |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
var p1 = document.getElementById('p1'); p1.id = 'p2'; p2.innerText = '텍스트를Change the 변경합니다text.'; editor.updateModel('p1', 'p2'); |
...