Add missing export

This commit is contained in:
James Lyne 2022-01-14 14:38:43 +00:00
parent ac575e4ee9
commit 715aa8bd55

View File

@ -219,6 +219,10 @@ export const decodeHTMLEntities = (text: string) => {
return decodeTextarea.textContent || '';
}
export const stripHTML = (text: string) => {
return documentRange.createContextualFragment(text.replace(brToSpaceRegex,' ')).textContent || '';
}
export const clipboardSuccess = () => () => notify(useStore().state.messages.copyToClipboardSuccess);
export const clipboardError = () => (e: Error) => {