Installing Rich Text Editor

To start using Rich Text Editor, you need to:

  1. Include the necessary JS and CSS scripts into your HTML file.
  2. Call the object constructor.

Files to Include

You need to include 4 files on a page:

<html>
    <head>
        <!-- Webix Library -->
        <script src="codebase/webix.js" type="text/javascript"></script>
        <link rel="stylesheet" href="codebase/webix.css" type="text/css">
 
        <!-- Rich Text Editor -->
        <script type="text/javascript" src="codebase/editor.js"></script>
        <link rel="stylesheet" href="codebase/editor.css" type="text/css">
    </head>
    <body>
        <!-- Rich Text Editor constructor -->
        <script>
            webix.ui({
                view: "editor",
                value: "some text",
                upload: "https://docs.webix.com/richtext-backend/images"     
            });
</script> </body> </html>

See the next chapter to learn more ways of creating Rich Text Editor on a page.

Running Package Samples Locally

To run package samples on a local machine, you should navigate to the Rich Text Editor root folder, install the necessary dependencies and start a development server as:

// navigate to the root folder
cd editor
 
// install dependencies
yarn install //or npm install
 
// start dev server
yarn server //or npm run server
Back to top