ckeditor5-custom-c
Version:
A custom CKEditor 5 build with basic functionality
49 lines (46 loc) • 1.92 kB
HTML
<!--
Copyright (c) 2014-2022, CKSource Holding sp. z o.o. All rights reserved.
This file is licensed under the terms of the MIT License (see LICENSE.md).
-->
<html lang="en" dir="ltr">
<head>
<title>CKEditor 5 ClassicEditor build</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/png" href="https://c.cksource.com/a/1/logos/ckeditor5.png" />
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>
<body data-editor="ClassicEditor" data-collaboration="false" data-revision-history="false">
<div id="editor">
</div>
<footer>
<p>
<a href="https://ckeditor.com/ckeditor-5/" target="_blank" rel="noopener">CKEditor 5</a>
– Rich text editor of tomorrow, available today
</p>
<p>
Copyright © 2003-2022,
<a href="https://cksource.com/" target="_blank" rel="noopener">CKSource</a>
Holding sp. z o.o. All rights reserved.
</p>
</footer>
<script src="../build/ckeditor.js"></script>
<script>
ClassicEditor.create(document.querySelector(".editor"), {
licenseKey: "",
})
.then((editor) => {
window.editor = editor;
})
.catch((error) => {
console.error("Oops, something went wrong!");
console.error(
"Please, report the following error on https://github.com/ckeditor/ckeditor5/issues with the build id and the error stack trace:"
);
console.warn("Build id: jgjjnbgw1dw8-nohdljl880ze");
console.error(error);
});
</script>
</body>
</html>