medium-proeditor
Version:
A powerful & customizable Medium-style rich text editor
9 lines • 432 B
TypeScript
import type { ResolvedPos } from 'prosemirror-model';
/**
* Returns the text content of a resolved prosemirror position
* @param $from The resolved position to get the text content from
* @param maxMatch The maximum number of characters to match
* @returns The text content
*/
export declare const getTextContentFromNodes: ($from: ResolvedPos, maxMatch?: number) => string;
//# sourceMappingURL=getTextContentFromNodes.d.ts.map