Is there a way to achieve the following setup:
HTML:
<p>ABC</p>
Output:
DEF
I am inquiring about this because I need to create an email template that includes the HTML snippet must contain
<p>${__VCG__VAL__FIRST_NAME}</p>
(where ${__VCG__VAL__FIRST_NAME}
represents a variable). The variable will be replaced with the actual value at a later stage. However, the user should not see it displayed on the screen; instead, they should see ${FIRST_NAME}
. Additionally, I have the constraint that I cannot assign id
or class
attributes to the element containing the text to be replaced.
This question was originally posed here: CKEditor4: Make Text Differ from its HTML, though no one seemed familiar with CKEditor. Any suggestions for achieving this within CKEditor would be greatly appreciated.