Skip to content

Commit b320856

Browse files
authored
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
2 parents 52053e5 + 27cfcda commit b320856

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/markup/commands/inline.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ export const insertLink: StateCommand = ({state, dispatch}) => {
1313
return true;
1414
};
1515

16+
// [major] TODO: remove insertAnchor
1617
const defaultAnchorSnippet = snippet(`#[#{2:text}](#{1:anchor} "#{3:title}")`);
18+
/** @deprecated */
1719
export const insertAnchor: StateCommand = ({state, dispatch}) => {
1820
const {from, to, empty} = state.selection.main;
1921
const anchorSnippet = empty

0 commit comments

Comments
 (0)