英文:
Any any of converting html code to gs friendly code which can be inserted through a custom addon
问题
我想要创建一个用于Google文档的模板构建器插件,在你点击按钮时,它会将格式化的文本插入到当前文档中。
我更多地是在寻找一种从Google文档中获取HTML代码或格式化文本,然后通过按钮点击将其插入到任何文档中的方法。类似于Doc Builder插件...
英文:
I want to build a template builder addon for google docs where when you click a button it inserts formatted test into the current document.
I'm more looking for a way of taking HTML code or even formated text from a google doc and insert that through a button click into any document. Think the Doc Builder addon...
答案1
得分: 0
如果您想创建一个插件,请查看插件快速入门以了解如何部署并使用它。
关于插入格式化文本,已经有一些在Stack Overflow上回答的问题,您可以参考。例如,这个问题得到了一个答案,可以在每次单击菜单中的按钮时在光标位置插入格式化文本。
英文:
If you want to create an add-on please take a look at the Addon Quickstart to get an idea of how to actually you need to deploy this to use it.
About inserting formatted text there are some questions already answered in stack that you can look at. For example this question got an answer to insert formatted text in the position of cursor every time a button in the menu is clicked.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论