Advertisement

CKEditor使用前后端代码

阅读量:
复制代码
    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <title>CKEditor 5 – Document editor</title>
    <script src="//cdn.ckeditor.com/ckeditor5/11.2.0/decoupled-document/ckeditor.js"></script>
    </head>
    <body>
    <h1>Document editor</h1>
    <!-- The toolbar will be rendered in this container. -->
    <div id="toolbar-container"></div>
    
    <!-- This container will become the editable. -->
    <div id="editor">
        <p>This is the initial editor content.</p>
    </div>
    
    <script>
        DecoupledEditor
            .create(document.querySel

全部评论 (0)

还没有任何评论哟~