diff options
author | eleanor-park <eleanor_park@brown.edu> | 2024-04-14 14:27:43 -0400 |
---|---|---|
committer | eleanor-park <eleanor_park@brown.edu> | 2024-04-14 14:27:43 -0400 |
commit | 15e40cd865474f524c8e35f9352fc40d4b515ab3 (patch) | |
tree | 4ba71fafec248b22226157908b9fb578e4529df6 /src/fields/documentSchemas.ts | |
parent | d938cd08650279f5c7894793d5fd78ec4068694c (diff) | |
parent | 36d18da80e5e5e1c6cae0dc21c1677a7ab9c1d77 (diff) |
Merge branch 'eleanor-starter' of https://github.com/brown-dash/Dash-Web into eleanor-starter
Diffstat (limited to 'src/fields/documentSchemas.ts')
-rw-r--r-- | src/fields/documentSchemas.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fields/documentSchemas.ts b/src/fields/documentSchemas.ts index 8eeb52709..1cacfe30c 100644 --- a/src/fields/documentSchemas.ts +++ b/src/fields/documentSchemas.ts @@ -96,9 +96,9 @@ export const documentSchema = createSchema({ // drag drop properties _dragOnlyWithinContainer: 'boolean', // whether document can be dropped into a different collection dragFactory: Doc, // the document that serves as the "template" for the onDragStart script. ie, to drag out copies of the dragFactory document. - dropAction: 'string', // override specifying what should happen when something is dropped on this document (can be "embed", "copy", "move") - dragAction: 'string', // override specifying what should happen when this document s dragged (can be "embed", "copy", "move") - childDragAction: 'string', // specify the override for what should happen when the child of a collection is dragged from it and dropped (can be "embed" or "copy") + dropAction: 'string', // override specifying what should happen when something is dropped on this document (dropActionType) + dragAction: 'string', // override specifying what should happen when this document s dragged (dropActionType) + childDragAction: 'string', // specify the override for what should happen when the child of a collection is dragged from it and dropped (dropActionType) dropPropertiesToRemove: listSpec('string'), // properties that should be removed from the embed/copy/etc of this document when it is dropped }); |