Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

RELEASE 2.6.0 OR ABOVE

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

NameTypeDescription
selectorstringSelectors 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.


Experiencing

setText에디터에 일정부분만 편집을 허용하거나 제한 할 수 있습니다.


작성일
부서
작성자
영수일


  • No labels