26 lines
885 B
TypeScript
26 lines
885 B
TypeScript
import "@wangeditor/editor/dist/css/style.css";
|
|
import { EntityDict } from "./../../../oak-app-domain";
|
|
import { WebComponentProps } from "oak-frontend-base";
|
|
export default function Render(props: WebComponentProps<EntityDict, 'article', false, {
|
|
id: string;
|
|
name: string;
|
|
editor: any;
|
|
abstract?: string;
|
|
content?: string;
|
|
html?: string;
|
|
origin?: string;
|
|
contentTip: boolean;
|
|
origin1: string;
|
|
articleMenuId: string;
|
|
oakId: string;
|
|
changeIsEdit: () => void;
|
|
}, {
|
|
setHtml: (content: string) => void;
|
|
setEditor: (editor: any) => void;
|
|
check: () => void;
|
|
preview: () => void;
|
|
uploadFile: (extraFile: EntityDict['extraFile']['CreateSingle']['data'], file: File) => Promise<string>;
|
|
clearContentTip: () => void;
|
|
gotoPreview: (content?: string, title?: string) => void;
|
|
}>): import("react/jsx-runtime").JSX.Element;
|