@@ -31,7 +31,6 @@ import {
3131 convertBoldAndItalicToHTML ,
3232} from '@helpers/HTMLView'
3333import { RE_SCHEDULED_DATES_G } from '@helpers/regex'
34- // import { getTimeBlockString } from '@helpers/timeblocks'
3534import { extractModifierKeys } from '@helpers/react/reactMouseKeyboard.js'
3635import '../css/ItemContent.css'
3736
@@ -79,13 +78,17 @@ function ItemContent({ item /*, children */, thisSection }: Props): React$Node {
7978 } )
8079 }
8180
81+ // TODO: decide whether to keep this, perhaps as a hidden setting
82+ // Remove tag/mention, if they match the item's sectionCode
83+ // if (thisSection.sectionCode === 'TAG') {
84+ // const sectionTagOrMention = thisSection.name
85+ // mainContent = mainContent.replace(sectionTagOrMention, '')
86+ // }
87+
8288 // console.log(`-> ${mainContent}`)
8389
84- // if hasChild, then set suitable icon
85- // v1: use'fa-arrow-down-from-line' icon
86- // v2:
87- // const possParentIcon = dashboardSettings.parentChildMarkersEnabled && item.para?.hasChild ? <i className="fa-regular fa-block-quote parentMarker pad-left"></i> : ''
88- // v3: switch to ellipsis to match what main Editor has just got in 3.15.2
90+ // If hasChild, then set suitable display indicator
91+ // (Earlier options had used 'fa-arrow-down-from-line' and 'fa-block-quote' icons. But switched to ellipsis to match what main Editor added in 3.15.2)
8992 const possParentIcon = dashboardSettings . parentChildMarkersEnabled && item . para ?. hasChild ? < i className = "fa-solid fa-ellipsis parentMarker" > </ i > : ''
9093
9194 // Note: this section now deliberately disabled
0 commit comments