开发者的好消息:在 Frontly 即将发布的版本中,我们将正式推出 Frontly API。
目前它仍在开发中,但你最终将能够为 Frontly 创建插件和扩展。当然,我们还会同步推出 API 文档,以提供更流畅、更实用的体验。
我们迫不及待地想看到大家创造出的精彩内容。
Here’s a short list of some of the APIs we have so far:
1. Text Formatting Bar API
借助文本格式栏 API,开发者可以扩展 Frontly 文本格式栏的功能。利用此功能,你可以在文本格式栏上添加新的按钮/选项。
2. Add Element API
此 API 将允许你创建新元素,并将它们添加到内容编辑器左侧“元素”部分的现有元素列表中。
3. Inspector API
检查器 API 将允许你在每个元素的属性检查器中创建、添加或移除设置。
4. Text API
文本 API 将允许你修改文本样式,具体而言,包括修改文本格式、更改文本背景颜色等功能。
Developers! It’d be great if you could send over some suggestions
These are just some of the basic APIs we have in store for you. We’re in the middle of creating more, but if you have any other ideas of APIs we can add to our console, just leave a comment below, or hit us up at [email protected]. We might just feature your suggestions in the upcoming Frontly release ?