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

Version 1 Next »

릴리즈 2.6.0 이상

public setLock(selector: String)

DOM selector를 지정하여 편집을 제한합니다.

적용시 lock아이콘( )으로 표현됩니다.


적용 대상

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


Params: selector

NameTypeDescription
selectorstring편집을 제한할 DOM을 가져올 selector

Example:

window.editor.setLock('#lock_element_Id');
window.editor.setLock('.not_editable');


소스보기

에디터의 소스보기에서 적용 대상 Element에 'se-lock'클래스를 추가하여 적용 할 수 있습니다.


체험하기

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


작성일
부서
작성자
영수일


  • No labels