'How is it possible to include CKEditor without CDN?
I'm using CKEditor in my project. I have used <script src="https://cdn.ckeditor.com/4.17.1/full-all/ckeditor.js"></script> in my component.html but I want to use it offline. I downloaded related js file and used <script src="../src/assets/js/ckeditor.js"></script> but console shows error 404 for that file. The path is correct but it does not work. I tried to add script to angular.Json but it doesn't load js file. How can I solve this problem?
Solution 1:[1]
create a app.manifest file
CACHE MANIFEST
https://cdn.ckeditor.com/4.17.1/full-all/ckeditor.js
and in your HTML :
<html manifest="./app.manifest">
<head>
....
</head>
<body>
<script src="https://cdn.ckeditor.com/4.17.1/full-all/ckeditor.js"></script>
....
</body>
</html>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | debugger |
