remove code related to textLink (no longer using)

This commit is contained in:
Kroell 2023-03-02 09:13:37 -05:00
parent a7d5446db2
commit 8b19f3045b
2 changed files with 0 additions and 5 deletions

View file

@ -2,7 +2,6 @@ const dynamicStrings = {
GLOBAL_STATE: "globalState",
CUSTOM: "custom",
ROUTER_LINK: "routerLink:",
TEXT_LINK: "textLink:",
MODAL_LINK: "modalLink:"
};

View file

@ -200,10 +200,6 @@ export function doesCopyContainRouterLink(copy) {
return copy.includes(this.dynamicStrings.ROUTER_LINK);
}
export function doesCopyContainTextLink(copy) {
return copy.includes(this.dynamicStrings.TEXT_LINK);
}
export function splitCopyOnCMSPlaceHolder(copy) {
// splits copy on { ... } such as {routerlink: ...}
return copy.split(/{(.*?)}/g);