Documentation
React & Vue JS
React #
Article 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 Article 2
import './static/article-editor.css';
import ArticleEditor from './static/article-editor.js';
// call
ArticleEditor('#editor', {
css: '/path-to-article-css/'
});
To connect plugins, you need to specify the import of Article in the plugin file, like this:
import ArticleEditor from './static/article-editor';
After that you can run the Article with the plugins:
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
// import Article 2
import './static/article-editor.css';
import ArticleEditor from './static/article-editor.js';
import './static/reorder.js';
// call
ArticleEditor('#editor', {
plugins: ['reorder'],
css: '/path-to-article-css/'
});
Vue #
Article Editor has Vue Component you can see how it works and download from GitHub.