반응형
<script src="https://cdn.ckeditor.com/ckeditor5/16.0.0/classic/ckeditor.js"></script>
...
<textarea id="contents" name="contents" rows="10" cols="80"></textarea>
<script>
ClassicEditor
.create(document.querySelector('#contents'))
.catch(error => {
console.error(error);
});
</script>
반응형
댓글