Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
6335 Lượt xem

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.

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 9 25
2008
Login Website Đã xử lý
3
thg 9 25
147287
1
thg 9 25
1075
4
thg 9 25
5774
2
thg 8 25
1152