Skip to content

applyContentChanges

Applies a series of content changes to the specified content.

Import:

import { applyContentChanges } from '@mnaoumov/obsidian-lib/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: