Instance Property

editable

A Boolean that indicates whether the user is allowed to edit the document.

Declaration

@property(nonatomic, getter=isEditable) BOOL editable;

Discussion

YES if the receiver allows the user to edit the HTML document, NO if it doesn’t.

You can change the receiver’s document programmatically regardless of this setting.

Normally, an HTML document is not editable unless the elements within the document are editable. This property provides a low-level way to make the contents of a WebView object editable without altering the document or DOM structure.

See Also

Getting and Setting Document Editing Attributes

smartInsertDeleteEnabled

A Boolean that indicates whether smart-space insertion and deletion is enabled.

continuousSpellCheckingEnabled

A Boolean that indicates whether the web view has continuous spell-checking enabled.

spellCheckerDocumentTag

The spell-checker document tag for this document.

undoManager

The receiver’s undo manager.

editingDelegate

The receiver’s editing delegate.

- editableDOMRangeForPoint:

Returns the editable DOM object located at a given point.