릴리즈 2.6.0 이상
public setLock(selector: String)
DOM selector를 지정하여 편집을 제한합니다.
편집 제한 대상
- DIV
- "se-contents", "se-div" 클래스가 지정된 Element
- TABLE
- TD
- TH
Params: selector
Name | Type | Description |
---|---|---|
selector | string | Lock을 설정할 DOM을 가져올 selector |
Example:
window.editor.setLock('#Id'); window.editor.setLock('.notEditable');