Add missing export
This commit is contained in:
parent
ac575e4ee9
commit
715aa8bd55
@ -219,6 +219,10 @@ export const decodeHTMLEntities = (text: string) => {
|
|||||||
return decodeTextarea.textContent || '';
|
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 clipboardSuccess = () => () => notify(useStore().state.messages.copyToClipboardSuccess);
|
||||||
|
|
||||||
export const clipboardError = () => (e: Error) => {
|
export const clipboardError = () => (e: Error) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user