我可以在 google 张笔记中添加富文本吗?
Can I add rich text to google sheets note?
我可以使用 Google API 来做到这一点吗?假设note
是richtext
的变量
'repeatCell': {
'range': {
'sheetId': 0,
'startRowIndex': start_row,
'endRowIndex': end_row + 1,
'startColumnIndex': start_col,
'endColumnIndex': end_col + 1,
},
'cell': {
'note': note,
'userEnteredFormat': {
'backgroundColor': backgroundColor,
'numberFormat': numberFormat,
},
},
'fields': 'note,userEnteredFormat',
},
}
正如@Tanaike 所说,注释(和评论)只接受纯文本。但是,您可以在 Issue Tracker.
中填写功能请求
我可以使用 Google API 来做到这一点吗?假设note
是richtext
'repeatCell': {
'range': {
'sheetId': 0,
'startRowIndex': start_row,
'endRowIndex': end_row + 1,
'startColumnIndex': start_col,
'endColumnIndex': end_col + 1,
},
'cell': {
'note': note,
'userEnteredFormat': {
'backgroundColor': backgroundColor,
'numberFormat': numberFormat,
},
},
'fields': 'note,userEnteredFormat',
},
}
正如@Tanaike 所说,注释(和评论)只接受纯文本。但是,您可以在 Issue Tracker.
中填写功能请求