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

RELEASE 2.6.0 OR ABOVE

public setLock(selector: String)

It limits editing by specifying a DOM selector.
When applied, it is represented by a lock icon (
).


Applicable to

  • 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.setLock('#lock_element_Id');
window.editor.setLock('.not_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