feat: 增加二级分类及标签

This commit is contained in:
秋水浮尘
2023-10-17 01:25:19 +08:00
parent 7ba8d52bfe
commit 5214648d90
9 changed files with 392 additions and 299 deletions

View File

@@ -1,11 +1,19 @@
import React, { Component } from 'react';
import React, { Component, useRef } from 'react';
import './index.less';
import Editor from 'wangeditor';
const defaultValueHead = `<div style='font-size:14px !important;line-height:22px !important;margin-bottom: -15px !important;word-break: break-word !important;'>`;
const defaultValueFoot = '</div>';
// const KindEditor = () => {
// const menuRef = useRef()
// const bodyRef = useRef()
// const editor = new Editor()
// }
export default class KindEditor extends Component {
defaultValueHead = `<div style='font-size:14px !important;line-height:22px !important;margin-bottom: -15px !important;word-break: break-word !important;'>`;
defaultValueFoot = '</div>';
editor = Editor;
constructor(props) {