部分注释内容恢复 #663

Merged
Eeeros merged 1 commits from Eeeros/forgeplus-react:gitlink_ssr_head into gitlink_ssr_head 2024-04-19 16:57:03 +08:00
5 changed files with 11 additions and 11 deletions
Showing only changes of commit e9ee661977 - Show all commits

View File

@ -9,7 +9,7 @@
import './index.scss';
import React, { useState } from 'react';
import { Form, Button, Input } from 'antd';
// import QuillForEditor from '../../quillForEditor';
import QuillForEditor from '../../quillForEditor';
const FormItem = Form.Item;
function CommentForm(props) {
@ -116,7 +116,7 @@ function CommentForm(props) {
)
}
{/* <QuillForEditor
<QuillForEditor
imgAttrs={{ width: '60px', height: '30px' }}
wrapStyle={{
height: showQuill ? 'auto' : '0px',
@ -131,7 +131,7 @@ function CommentForm(props) {
value={ctx}
showUploadImage={handleShowImage}
onContentChange={handleContentChange}
/> */}
/>
</FormItem>
<FormItem style={{ textAlign: 'right', display: showQuill ? 'block' : 'none' }}>
<Button onClick={handleCancle}>取消</Button>

View File

@ -1,7 +1,7 @@
import './index.scss'
// import 'quill/dist/quill.core.css' // 核心样式
// import 'quill/dist/quill.snow.css' // 有工具栏
// import 'quill/dist/quill.bubble.css' // 无工具栏
import 'quill/dist/quill.core.css' // 核心样式
import 'quill/dist/quill.snow.css' // 有工具栏
import 'quill/dist/quill.bubble.css' // 无工具栏
import './font.css'
import React, { useState, useRef, useEffect } from 'react'
import Quill from 'quill'

View File

@ -1,5 +1,5 @@
import React, { useEffect, useRef, useMemo , useState } from 'react'
// import 'katex/dist/katex.min.css';
import 'katex/dist/katex.min.css';
import marked, { getTocContent, cleanToc, getMathExpressions, resetMathExpressions } from '../common/marked';
import 'code-prettify';
import dompurify from 'dompurify';

View File

@ -6,9 +6,9 @@
* @LastEditors: tangjiang
* @LastEditTime: 2019-12-02 16:33:35
*/
// import 'quill/dist/quill.core.css';
// import 'quill/dist/quill.bubble.css';
// import 'quill/dist/quill.snow.css';
import 'quill/dist/quill.core.css';
import 'quill/dist/quill.bubble.css';
import 'quill/dist/quill.snow.css';
import './index.scss';
import React, { useState, useImperativeHandle, useRef, useEffect } from 'react';
import { Form, Input, InputNumber, Button, Select } from 'antd';

View File

@ -11,7 +11,7 @@
// import 'quill/dist/quill.snow.css';
// import 'katex/dist/katex.css';
import './index.scss';
// import 'katex/dist/katex.min.css';
import 'katex/dist/katex.min.css';
import React from 'react';
import katex from 'katex';
const Quill = require('quill');