首页 > 解决方案 > 在模态对话框中修改“标题”

问题描述

我创建了一个非常简单的脚本:

var html = HtmlService.createHtmlOutput('<p style="color:yellow; background:black">Font is yellow / Backround is black!</p>');
SpreadsheetApp.getUi().showModalDialog(html, 'My Headline');

修改“用户界面”是没有问题的——但是我怎样才能修改“标题”呢?

例如,我将标题“我的标题”写成:“我的标题”(粗体字标题)。

标签: user-interfacegoogle-apps-scriptmessage

解决方案


推荐阅读