( taskInfo: TaskInfo, plugin: TaskNotesPlugin, originalText: string, displayText?: string, targetDate: Date = createUTCDateFromLocalCalendarDate(new Date()) )
| 15 | private targetDateKey: string; |
| 16 | |
| 17 | constructor( |
| 18 | taskInfo: TaskInfo, |
| 19 | plugin: TaskNotesPlugin, |
| 20 | originalText: string, |
| 21 | displayText?: string, |
| 22 | targetDate: Date = createUTCDateFromLocalCalendarDate(new Date()) |
| 23 | ) { |
| 24 | super(); |
| 25 | this.taskInfo = taskInfo; |
| 26 | this.plugin = plugin; |
| 27 | this.originalText = originalText; |
| 28 | this.displayText = displayText; |
| 29 | this.targetDate = targetDate; |
| 30 | this.targetDateKey = formatDateForStorage(targetDate); |
| 31 | } |
| 32 | |
| 33 | toDOM(view: EditorView): HTMLElement { |
| 34 | // Get visible properties from settings (stores internal FieldMapping keys) |
nothing calls this directly
no test coverage detected