15814: Catch error that otherwise goes unhandled
[arvados.git] / services / workbench2 / src / store / rich-text-editor-dialog / rich-text-editor-dialog-actions.tsx
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { dialogActions } from "store/dialog/dialog-actions";
6
7 export const RICH_TEXT_EDITOR_DIALOG_NAME = 'richTextEditorDialogName';
8 export const openRichTextEditorDialog = (title: string, text: string) =>
9     dialogActions.OPEN_DIALOG({ id: RICH_TEXT_EDITOR_DIALOG_NAME, data: { title, text } });