yabab-dev / ng2-ckeditor

Angular2 CKEditor component
MIT License
358 stars 96 forks source link

[Enhacement] Load CKEditor on demand #300

Open Aleksandr-ru opened 4 years ago

Aleksandr-ru commented 4 years ago

The idea is to remove step

Include CKEditor javascript files in your application :
<script src="https://cdn.ckeditor.com/4.14.1/full/ckeditor.js"></script>

and make editor JS loaded only in first component creation, see official package code

Editor url should be changeable via module config.