Skip to content

WYSIWYG editor for creating comments and primitive web pages

License

Notifications You must be signed in to change notification settings

TheWitcher1991/HTMLREditor

Repository files navigation

HTMLREDitor Build Status

HTMLREditor is a modern rich text editor built for compatibility and extensibility.

Installation

$ git clone https://github.com/TheWitcher1991/HTMLREditor
$ cd HTMLREditor
$ npm install

Build

$ npm run build

Quickstart

<!-- Create the toolbar and editor container  -->
<div id="#editor"></div>

<!-- Include the HTMLREditor library -->
<script src="${DIRNAME}/build/editor.min.js"></script>

<!-- Initialize HTMLREditor editor -->
<script>
    HTMLREditor
            .register('#editor')
            .catch(err => console.error(err));
</script>

Or can using ES6 import.

<!-- Create the toolbar and editor container  -->
<div id="#editor"></div>

<!-- Initialize HTMLREditor editor -->
<script type="module">
    import HTMLREditor from '${DIRNAME}/src/core/HTMLREditor.js';
    
    HTMLREditor
            .register('#editor')
            .catch(err => console.error(err));
</script>

About

WYSIWYG editor for creating comments and primitive web pages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published