CodeMirrorModule.innerMode method
CodeMirrorModule › innerMode
Unofficial
Returns the inner mode and its state for the current position.Signature:
innerMode(mode: Cm5Mode<unknown>, state: unknown): Cm5InnerModeResultParameters:
| Parameter | Type | Description |
|---|---|---|
| mode | Cm5Mode<unknown> | The outer mode. |
| state | unknown | The mode state. |
Returns: Cm5InnerModeResult — An object with the inner mode and state.