style(row_editing comments): make inline comment proper doc

This commit is contained in:
Jakob Schlanstedt 2025-11-05 15:09:02 +01:00
parent 0030e5cc95
commit 2cb2f4ecc0

View file

@ -9,7 +9,10 @@ import server from "../../../services/server";
import branches from "../../../services/branches";
import AttributeDetailWidget from "../../attribute_widgets/attribute_detail";
export default function useRowTableEditing(api: RefObject<Tabulator>, attributeDetailWidget: AttributeDetailWidget, parentNotePath: string): Partial<EventCallBackMethods> { // Adding new rows
/**
* Hook for handling row table editing, including adding new rows.
*/
export default function useRowTableEditing(api: RefObject<Tabulator>, attributeDetailWidget: AttributeDetailWidget, parentNotePath: string): Partial<EventCallBackMethods> {
useLegacyImperativeHandlers({
addNewRowCommand({ customOpts }: CommandListenerData<"addNewRow">) {
if (!customOpts) {