Move samples to dedicated subfolder
This commit is contained in:
27
samples/ckeditor.html
Normal file
27
samples/ckeditor.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>CKEditor 5 Example</title>
|
||||
<link rel="stylesheet" href="../styles.css" />
|
||||
<script src="https://cdn.ckeditor.com/ckeditor5/41.1.0/classic/ckeditor.js"></script>
|
||||
<script>const besUrl = 'http://localhost:225/api/v2/check';</script>
|
||||
<script src="../service.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="editor">
|
||||
<!-- <p>Na mizo nisem položil knjigo.</p> -->
|
||||
<p>Na mizo nisem položil <b>knjigo</b>.</p>
|
||||
</div>
|
||||
<bes-popup-el></bes-popup-el>
|
||||
<script>
|
||||
ClassicEditor.create(document.querySelector('#editor'))
|
||||
.then(newEditor => {
|
||||
BesCKService.register(newEditor.ui.view.editable.element, newEditor)
|
||||
})
|
||||
.catch(error => {
|
||||
console.error(error)
|
||||
})
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user