16 lines
385 B
HTML
16 lines
385 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>CKEditor test</title>
|
|
</head>
|
|
<body>
|
|
<div id="editor"></div>
|
|
<script src="dist/ckeditor.js"></script>
|
|
<script>
|
|
ClassicEditor.create(document.querySelector('#editor'), {})
|
|
.then(editor => {console.log("Initialized", editor)})
|
|
.catch(error => {console.error("Error loading editor:", error.stack)});
|
|
</script>
|
|
</body>
|
|
</html>
|