fix: Catch error when emoji combinations cause document to be unable to persist (#3250)

* fix: Catch and warn of rare error when emoji combinations cause document to be unable to persist changes
closes #3230

* addEventListener -> removeEventListener
This commit is contained in:
Tom Moor
2022-03-16 15:18:16 -07:00
committed by GitHub
parent a27af88d4a
commit 76e1869ebf
3 changed files with 33 additions and 5 deletions

View File

@@ -25,8 +25,8 @@
"Import document": "Import document",
"Templatize": "Templatize",
"Create template": "Create template",
"Home": "Home",
"Search documents for \"{{searchQuery}}\"": "Search documents for \"{{searchQuery}}\"",
"Home": "Home",
"Drafts": "Drafts",
"Templates": "Templates",
"Archive": "Archive",
@@ -135,6 +135,7 @@
"Change Language": "Change Language",
"Dismiss": "Dismiss",
"Back": "Back",
"Documents": "Documents",
"Document archived": "Document archived",
"Move document": "Move document",
"Collections": "Collections",
@@ -290,7 +291,6 @@
"Suspend account": "Suspend account",
"API token created": "API token created",
"Name your token something that will help you to remember it's use in the future, for example \"local development\", \"production\", or \"continuous integration\".": "Name your token something that will help you to remember it's use in the future, for example \"local development\", \"production\", or \"continuous integration\".",
"Documents": "Documents",
"The document archive is empty at the moment.": "The document archive is empty at the moment.",
"This collection is only visible to those given access": "This collection is only visible to those given access",
"Private": "Private",
@@ -429,6 +429,7 @@
"Offline": "Offline",
"We were unable to load the document while offline.": "We were unable to load the document while offline.",
"Your account has been suspended": "Your account has been suspended",
"Warning Sign": "Warning Sign",
"A team admin (<em>{{ suspendedContactEmail }}</em>) has suspended your account. To re-activate your account, please reach out to them directly.": "A team admin (<em>{{ suspendedContactEmail }}</em>) has suspended your account. To re-activate your account, please reach out to them directly.",
"Are you sure about that? Deleting the <em>{{groupName}}</em> group will cause its members to lose access to collections and documents that it is associated with.": "Are you sure about that? Deleting the <em>{{groupName}}</em> group will cause its members to lose access to collections and documents that it is associated with.",
"You can edit the name of this group at any time, however doing so too often might confuse your team mates.": "You can edit the name of this group at any time, however doing so too often might confuse your team mates.",
@@ -520,6 +521,7 @@
"Author": "Author",
"We were unable to find the page youre looking for.": "We were unable to find the page youre looking for.",
"No documents found for your search filters.": "No documents found for your search filters.",
"Search Results": "Search Results",
"Processing": "Processing",
"Expired": "Expired",
"Failed": "Failed",
@@ -617,7 +619,6 @@
"Sharing is currently disabled.": "Sharing is currently disabled.",
"You can globally enable and disable public document sharing in the <em>security settings</em>.": "You can globally enable and disable public document sharing in the <em>security settings</em>.",
"Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.": "Documents that have been shared are listed below. Anyone that has the public link can access a read-only version of the document until the link has been revoked.",
"Shared documents": "Shared documents",
"Whoops, you need to accept the permissions in Slack to connect Outline to your team. Try again?": "Whoops, you need to accept the permissions in Slack to connect Outline to your team. Try again?",
"Something went wrong while authenticating your request. Please try logging in again?": "Something went wrong while authenticating your request. Please try logging in again?",
"Get rich previews of Outline links shared in Slack and use the <em>{{ command }}</em> slash command to search for documents without leaving your chat.": "Get rich previews of Outline links shared in Slack and use the <em>{{ command }}</em> slash command to search for documents without leaving your chat.",