Skip to content

Commit

Permalink
Merge branch 'main' into cutNode
Browse files Browse the repository at this point in the history
  • Loading branch information
reffat committed Dec 28, 2024
2 parents 38a7100 + 27cfcda commit 8810e84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/markup/commands/inline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ export const insertLink: StateCommand = ({state, dispatch}) => {
return true;
};

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

0 comments on commit 8810e84

Please sign in to comment.