릴리즈 2.6.0 이상
public setUnlock(selector: String)
'It specifies the DOM selector to allow editing.
It is useful when limiting editing of the entire document and allowing only partial editing.
When applied, it is displayed as an unlock icon ().
Allowed to edit
- DIV
- Elements with "se-contents" and "se-div" classes specified
- TABLE
- TD
- TH
Params: selector
Name | Type | Description |
---|---|---|
selector | string | Selectors to import the DOM to limit editing |
Example:
window.editor.setUnlock('#unlock_element_Id'); window.editor.setUnlock('.editable');
Source View
You can add 'se-unlock' class to the applied element in the Source View Mode of the editor.
체험하기
setText에디터에 일정부분만 편집을 허용하거나 제한 할 수 있습니다.
작성일 | |
---|---|
부서 | |
작성자 | |
영수일 | |