How does it work?
All you have to do is set the
contenteditable attribute on nearly any HTML element to make it editable.
Here's a simple example which creates a
<div> element whose contents the user can edit.
<div contenteditable="true"> This text can be edited by the user. </div>
Here's the above HTML in action:
user_pref("capability.policy.policynames", "allowclipboard"); user_pref("capability.policy.allowclipboard.sites", "https://www.mozilla.org"); user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess"); user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");