mirror of
https://github.com/zadam/trilium.git
synced 2025-12-05 15:04:24 +01:00
style(row_editing comments): make inline comment proper doc
This commit is contained in:
parent
b3cf9c8f2d
commit
cdd08d6971
@ -9,7 +9,10 @@ import server from "../../../services/server";
|
|||||||
import branches from "../../../services/branches";
|
import branches from "../../../services/branches";
|
||||||
import AttributeDetailWidget from "../../attribute_widgets/attribute_detail";
|
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({
|
useLegacyImperativeHandlers({
|
||||||
addNewRowCommand({ customOpts }: CommandListenerData<"addNewRow">) {
|
addNewRowCommand({ customOpts }: CommandListenerData<"addNewRow">) {
|
||||||
if (!customOpts) {
|
if (!customOpts) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user