mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 06:40:50 +08:00
style(row_editing comments): make inline comment proper doc
This commit is contained in:
parent
0030e5cc95
commit
2cb2f4ecc0
1 changed files with 4 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue