import Widget from "./widget"; import IconSVG from "./icon.svg"; import { GRID_DENSITY_MIGRATION_V1 } from "widgets/constants"; export const CONFIG = { type: Widget.getWidgetType(), name: "Rich Text Editor", iconSVG: IconSVG, needsMeta: true, defaults: { defaultText: "This is the initial content of the editor", rows: 5 * GRID_DENSITY_MIGRATION_V1, columns: 6 * GRID_DENSITY_MIGRATION_V1, isDisabled: false, isVisible: true, isRequired: false, widgetName: "RichTextEditor", isDefaultClickDisabled: true, inputType: "html", version: 1, }, properties: { derived: Widget.getDerivedPropertiesMap(), default: Widget.getDefaultPropertiesMap(), meta: Widget.getMetaPropertiesMap(), config: Widget.getPropertyPaneConfig(), }, }; export default Widget;