applyContentChanges
Applies a series of content changes to the specified content.
Import:
import { applyContentChanges } from 'obsidian-dev-utils/obsidian/file-change';Signature:
function applyContentChanges(params: ApplyContentChangesParams): Promise<string | null>Parameters:
| Parameter | Type | Description |
|---|---|---|
params | ApplyContentChangesParams | The parameters for applying the content changes. |
Returns: Promise<string | null> — A Promise that resolves to the updated content or to null if update didn’t succeed.
Links to this page: