feat: Add support for "word" files exported from Confluence (#1600)

* Display error message to end user

* fix: Improve conversion of tables

* fix: Characters at ends of lines in tables lost
This commit is contained in:
Tom Moor
2020-10-21 08:53:59 -07:00
committed by GitHub
parent b78e2f1e05
commit df7b9f3e88
9 changed files with 394 additions and 3 deletions

View File

@@ -51,3 +51,9 @@ export function EditorUpdateError(
) {
return httpErrors(400, message, { id: "editor_update_required" });
}
export function FileImportError(
message: string = "The file could not be imported"
) {
return httpErrors(400, message, { id: "import_error" });
}