prodeus-editor

3.0.0 • Public • Published

PRODEUS CKEditor 5 editor build

The Prodeus editor build for CKEditor 5. Just used in the Prodeus Web app for now (https://prodeus.app/)

Quick start

First, install the build from npm:

npm install --save prodeus-editor

And use it in your website:

<div id="editor">
    <p>This is the editor content.</p>
</div>
<script src="../build/ckeditor.js"></script>
<script>
    ClassicEditor.create(document.querySelector("#editor"))
        .then((editor) => {
            window.editor = editor;
        })
        .catch((error) => {
            console.error("There was a problem initializing the editor.", error);
        });
</script>

Or in your JavaScript application:

import ClassicEditor from "prodeus-editor";

// Or using the CommonJS version:
// const ClassicEditor = require( 'prodeus-editor' );

ClassicEditor.create(document.querySelector("#editor"))
    .then((editor) => {
        window.editor = editor;
    })
    .catch((error) => {
        console.error("There was a problem initializing the editor.", error);
    });

Package Sidebar

Install

npm i prodeus-editor

Weekly Downloads

0

Version

3.0.0

License

ISC

Unpacked Size

5.64 MB

Total Files

68

Last publish

Collaborators

  • phitgeek