``` --- id: 00krsfao13iy20bhfttocd4 title: |- f...
# questions
g
Copy code
---
id: 00krsfao13iy20bhfttocd4
title: |-
  fdfd,,module.exports = {
    /**
     * Specify behavior to modify the name of the note. If
     * promptUserForModification is true, the modified name will appear in a
     * lookup control to allow the user to further edit the note name before
     * confirming.
     */
    OnWillCreate: {
      setNameModifier(props) {
        return {
          name: [props.currentNoteName, props.selectedText, props.clipboard].join(','),
          promptUserForModification: true
        };
      }
    },
    /**
     * Specify behavior for altering the title of the note when it is created.
     */
    OnCreate: {
      setTitle(props) {
        return [props.currentNoteName, props.selectedText, props.clipboard].join(',');
      }
    }
  }
desc: ''
updated: 1650885343487
created: 1650885343487
traitIds:
  - daily-lab-book
---