目前,我想为我的数字用户线路和我使用的Angular8和CodeMirror (@ctrl/ngx-codemirror)创建一个简单的文本编辑器,我的问题是如何将以下()简单模式集成到我的angular应用程序中,以便有一个新的模式。/* Example definition of a simple mode that understands a subset of
* JavaScript
我有一个非常简单的ngFor <div *ngFor="let service of loadedServices; let i = index;"> </div>
</div我已经看到,使用ComponentFactoryResolver (https://angular.io/guide/dynamic-component-loader#targetText=Dynamic但该示例展示了如何将