import { addPlaceholder } from "./descriptor.js";
export const addLinkPlaceholder = (deps) => (state, dispatch) => {
    if (!state.selection.empty)
        return false;
    dispatch?.(addPlaceholder(state.tr, deps).scrollIntoView());
    return true;
};
//# sourceMappingURL=commands.js.map
