I used the ckeditor 5 online builder, downloaded a zipped file. I unzipped it and created an html file to include the editor as follow :
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>College Connect</title>
<script src="ckeditor5/build/ckeditor.js"></script>
</head>
<body>
<div id="editor"></div>
<script>
ClassicEditor
.create(document.querySelector('#editor'))
.then(editor => {
console.log(editor);
})
.catch(error => {
console.error(error);
});
</script>
</body>
</html>
that's not working and produces this error Uncaught ReferenceError: ClassicEditor is not defined
however, when i used the full version from here , it worked fine.
Is there something i need to do before using the online builder ?