remove code related to textLink (no longer using)
This commit is contained in:
parent
a7d5446db2
commit
8b19f3045b
2 changed files with 0 additions and 5 deletions
|
|
@ -2,7 +2,6 @@ const dynamicStrings = {
|
|||
GLOBAL_STATE: "globalState",
|
||||
CUSTOM: "custom",
|
||||
ROUTER_LINK: "routerLink:",
|
||||
TEXT_LINK: "textLink:",
|
||||
MODAL_LINK: "modalLink:"
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue