【发布时间】:2020-04-26 07:40:39
【问题描述】:
如何在 angular8 应用程序中集成编辑器代码编辑器
【问题讨论】:
标签: shell yaml editor angular8 text-editor
如何在 angular8 应用程序中集成编辑器代码编辑器
【问题讨论】:
标签: shell yaml editor angular8 text-editor
ng2-ace-editor 模块也可以用于 angular8
完整代码 angular6 版本参考链接https://stackblitz.com/edit/ace-code-editor
angular8需要在app.component.ts文件中添加以下脚本
导入“大括号/索引”;
导入“大括号/主题/monokai”;
导入“大括号/模式/html”;
导入“大括号/模式/javascript”;
【讨论】: