Documentation

React & Vue JS

React #

Redactor X can work in React, just import the editor to do this.

import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';

// import Redactor X
import './static/redactorx.css';
import RedactorX from './static/redactorx.js';

// call
RedactorX('#entry');

To connect plugins, you need to specify the import of Redactor X in the plugin file, like this:

import Redactor X from './static/redactorx.js';

After that you can run the Redactor X with the plugins:

import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';

// import Redactor X
import './static/redactorx.css';
import RedactorX from './static/redactorx.js';
import './static/myplugin.js';

// call
RedactorX('#entry', {
    plugins: ['myplugin']
});

Vue #

Redactor X has Vue Component you can see how it works and download from GitHub.