Google sheets 我可以在google sheets便笺中添加富文本吗?
我可以通过使用谷歌API来做到这一点吗?假设Google sheets 我可以在google sheets便笺中添加富文本吗?,google-sheets,google-sheets-api,richtext,Google Sheets,Google Sheets Api,Richtext,我可以通过使用谷歌API来做到这一点吗?假设note是richtext的变量 'repeatCell': { 'range': { 'sheetId': 0, 'startRowIndex': start_row, 'endRowIndex': end_row + 1, 'startColumnIndex': start_col,
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所说,注释(和注释)只接受纯文本。但是,您可以填写功能请求。不幸的是,在当前阶段,富文本不能用于电子表格中的注释,而可以用于单元格值。这是否回答了您的问题?