(label)
| 3302 | wrapper.appendChild(range.extractContents()); |
| 3303 | range.insertNode(wrapper); |
| 3304 | saveReportAnnotation(); |
| 3305 | const selection = window.getSelection(); |
| 3306 | selection?.removeAllRanges(); |
| 3307 | state.reportAnnotationRange = null; |
| 3308 | hideReportAnnotationToolbar(); |
| 3309 | } |
| 3310 | |
| 3311 | function clearReportAnnotations() { |
| 3312 | if (!state.currentReport?.report_id) return; |
| 3313 | try { |