blockly > Field > isCurrentlyEditable

Field.isCurrentlyEditable() method

Check whether this field is currently editable. Some fields are never EDITABLE (e.g. text labels). Other fields may be EDITABLE but may exist on non-editable blocks or be currently disabled.

Signature:

isCurrentlyEditable(): boolean;

Returns:

boolean

Whether this field is currently enabled, editable and on an editable block.