@vtechguys/tiptap-anchor-heading
v0.0.7
Published
Anchor/Outline heading, table of content for tiptap editor
Downloads
7
Maintainers
Readme
Anchor Heading
A tiptap extension to allow anchor your headings,and make it easy to create outlines.
Features:
- Scroll/Focus to anchor
- Unique anchor
AnchorHeading.configure({
// heading levels allowed
levels: [1, 2, 3],
onAnchorUpdate(anchorIds) {
// runs and gives you list of anchorIds,
// whenever there is any update made to anchors
}
})