Skip to content

Cm5Editor.operation method

Cm5Editor › operation

Unofficial

Buffers all changes inside the function and only updates after it returns.

Signature:

operation(fn: () => T): T

Parameters:

ParameterTypeDescription
fn() => TThe function to execute.

Returns: TThe return value of the function.