Creating Rich Text Editor

You can create Rich Text Editor as a Webix view or as a standalone Jet app. Both ways will lead to the same result.

  • Creating Rich Text Editor as a Webix view:
webix.ready(function() {   
  webix.ui({
    view: "editor",
    value: "Hello World",
    upload: "https://docs.webix.com/richtext-backend/images"
  });
});

Related sample:  Rich Text Editor: Basic Configuration

  • Initializing Rich Text Editor as an instance of the Jet app class and render it in the document body (or in any other HTML container):
webix.ready(function() {     
  const app = new editor.App({
    value: "Hello World",
    upload: "https://docs.webix.com/richtext-backend/images"
  });
 
  app.render(document.body);
});

Related sample:  Rich Text Editor: Init as App

Back to top