Skip to Content
Menu
This question has been flagged
1 Reply
6185 Views

Hello again, is there anybody know how to disable website editor for spesific element (id or class)?

for example: I want disable user for editing the element with class tab. 

Thank you for your help.

Avatar
Discard
Author Best Answer

ANSWER: Give attribute contentEditable = "False" to element. for example : <span contentEditable="False"> Text 1 </span>, and your "Text 1" cannot be edited.

Avatar
Discard
Related Posts Replies Views Activity
1
Sep 25
392
5
Aug 25
4964
2
Aug 25
1615
2
Aug 25
809
5
Aug 25
10249