We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import 'braft-editor/dist/index.css'; import 'braft-extensions/dist/code-highlighter.css'; import React from 'react'; import BraftEditor from 'braft-editor'; import CodeHighlighter from 'braft-extensions/dist/code-highlighter'; import { PageContainer } from '@ant-design/pro-layout'; import ProCard from '@ant-design/pro-card';
// Unhandled Rejection (Error): Cannot find module 'draft-js-prism' BraftEditor.use( CodeHighlighter({ includeEditors: ['editor-with-code-highlighter'], }), );
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
➜ fantasy-admin git:(main) ✗ ls node_modules/braft-extensions/dist/ assets color-picker.js index.js mention.js code-highlighter.css emoticon.css markdown.js table.css code-highlighter.js emoticon.js max-length.js table.js color-picker.css header-id.js mention.css
No branches or pull requests
import 'braft-editor/dist/index.css';
import 'braft-extensions/dist/code-highlighter.css';
import React from 'react';
import BraftEditor from 'braft-editor';
import CodeHighlighter from 'braft-extensions/dist/code-highlighter';
import { PageContainer } from '@ant-design/pro-layout';
import ProCard from '@ant-design/pro-card';
// Unhandled Rejection (Error): Cannot find module 'draft-js-prism'
BraftEditor.use(
CodeHighlighter({
includeEditors: ['editor-with-code-highlighter'],
}),
);
The text was updated successfully, but these errors were encountered: