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 4 Next »

릴리즈 2.6.0 이상

public setUnlock(selector: String)

DOM selector를 지정하여 편집을 허용합니다.

문서 전체에 편집을 제한하고 일부분만 편집을 허용할때 유용합니다.


편집 허용 대상

  • DIV
    • "se-contents", "se-div" 클래스가 지정된 Element
  • TABLE
  • TD
  • TH


Params: selector

NameTypeDescription
selectorstring편집을 허용할 DOM을 가져올 selector

Example:

window.editor.setUnlock('#unlock_element_Id');
window.editor.setUnlock('.editable');



체험하기

Unable to render {include} The included page could not be found.

  • No labels