BlockSuite API Documentation / @blocksuite/blocks / getDocContentWithMaxLength
Function: getDocContentWithMaxLength()
getDocContentWithMaxLength(
doc
,maxlength
?):string
|undefined
Gets the document content with a max length.
Parameters
doc
maxlength?
number
Returns
string
| undefined
Defined in
packages/affine/block-embed/dist/common/render-linked-doc.d.ts:12