Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

WrapInListGetAttrs

The list node attributes or a callback function to take the current selection block range and return list node attributes. If this callback function returns null, the command won't do anything.

type WrapInListGetAttrs<T extends ListAttributes> = T | ((range: NodeRange) => T | null);

§Type Parameters

§Type

§
T | ((range: NodeRange) => T | null)
[src]