CKEditor 5 – 来自未来的富文本编辑器

CKEditor是国外的一款富文本编辑器,号称来自未来的富文本编辑器!

Snipaste_2020-03-15_20-34-29

官网

ckeditor官网:https://ckeditor.com/ckeditor-5/

使用文档:https://ckeditor.com/docs/ckeditor5/latest/builds/

演示地址

https://ckeditor.com/ckeditor-5/demo/

使用

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>CKEditor 5 – Classic editor</title>
    <script src="https://cdn.ckeditor.com/ckeditor5/17.0.0/classic/ckeditor.js"></script>
</head>
<body>
    <h1>Classic editor</h1>
    <div id="editor">
        <p>This is some sample content.</p>
    </div>
    <script>
        ClassicEditor
            .create( document.querySelector( '#editor' ) )
            .catch( error => {
                console.error( error );
            } );
    </script>
</body>
</html>

下载

开源地址

GitHub仓库地址:https://github.com/ckeditor/ckeditor5

发表评论

邮箱地址不会被公开。 必填项已用*标注