14 lines
531 B
TypeScript
14 lines
531 B
TypeScript
import React from 'react';
|
|
import { EntityDict } from "../../../oak-app-domain";
|
|
import { WebComponentProps } from 'oak-frontend-base';
|
|
import "@wangeditor/editor/dist/css/style.css";
|
|
import { IDomEditor } from '@wangeditor/editor';
|
|
export default function Render(props: WebComponentProps<EntityDict, keyof EntityDict, false, {
|
|
text: string;
|
|
editor: IDomEditor;
|
|
getContent: (content: string) => void;
|
|
}, {
|
|
setEditor: (editor: IDomEditor | null) => void;
|
|
setHtml: (html: string) => void;
|
|
}>): React.JSX.Element;
|