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 ( ).
- Elements with "se-contents" and "se-div" classes specified
|selector||string||Selectors to import the DOM to limit editing|
You can add 'se-unlock' class to the applied element in the Source View Mode of the editor.
You can allow or restrict editing to specific parts of the editor.