English | 简体中文
Brilliant 是一个基于 React, Draft-js 封装的富文本编辑器,使用Typescript实现,支持 Markdown 实时预览。
# Install using yarn
yarn add brilliant-editor
# Install using npm
npm install brilliant-editor --save
import React from 'react';
import Brilliant from 'brilliant-editor';
import 'brilliant-editor/dist/index.css';
const App = () => {
return (
<div>
<Brilliant language="zh"/>
</div>
);
};
export default App;
Edge |
Firefox |
Chrome |
Safari |
Opera |
---|---|---|---|---|
Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |