Skip to content

copyTextManually

Shows a read-only text, selected when focused, for the user to copy by hand, with a button that continues and one that cancels.

Import:

import { copyTextManually } from '@mnaoumov/obsidian-lib/modals/copy-text-manually';

Signature:

function copyTextManually(params: CopyTextManuallyParams): Promise<boolean>

Parameters:

Parameter Type Description
params CopyTextManuallyParams The parameters.

Returns: Promise<boolean> — A Promise that resolves with whether the user continued.


Links to this page: