Skip to content

Commit

Permalink
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
dpolevodin authored Dec 30, 2024
2 parents 52053e5 + 27cfcda commit b320856
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 b320856

Please sign in to comment.