Sets a value indicating whether in-place editing of the text of objects is enabled.
Namespace: MindFusion.Diagramming
Package: Diagram.js
JavaScript Copy Code |
---|
function setAllowInplaceEdit (value) |
Specifies whether users are allowed to edit in-place text of diagram nodes. If enabled, a text-entry field appears at node's position when the node is double-clicked. In-place editing mode can be exited by clicking anywhere outside the text field.
To enter or exit in-place editing mode programmatically, use the beginEdit and endEdit methods of Diagram.