Fields can store additional information in an editor state, and keep it in sync with the rest of the state.
State field instances can be used as Extension values to enable the field in a given state.
Extension
Returns an extension that enables this field and overrides the way it is initialized. Can be useful when you need to provide a non-default starting value for the field.
Static
Define a state field.
Fields can store additional information in an editor state, and keep it in sync with the rest of the state.