volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

AI OnAI Off

PlaceHolder are being added as ::xxx::

CMS12. I've written a Forms email PlaceHolder that recreated #Summary# except adds a table. The new placeholder name is label_summary. Now all of the placeholders added from the dropdown menu have colons ex: ::Summary:: or ::label_summary:: instead of #Summary# or #label_summary#. I set Value property of PlaceHolder to null. Even setting the Value property to #label_summary# still uses the Key property.

#320732
Apr 19, 2024 15:50
Vote:

Is the issue related to an update a few months ago changing from "#" placeholder to "::", due to TinyMCE issues?

https://world.optimizely.com/forum/developer-forum/Problems-and-bugs/Thread-Container/2023/3/episerver-forms-5-5-0-placeholder-breaking-changes/

#320735
Apr 19, 2024 18:15

Thank you for the heads up.

#320736
Edited, Apr 19, 2024 18:49

Small update -- 

Forms 5.5.0 replaced placeholder syntax from hash (#) to double colons (::), but Forms 5.5.1 added support for either hash (#) or double colons (::). You should use double colons (::) because they do not clash with some behaviors in TinyMCE.

Docs ( https://docs.developers.optimizely.com/content-management-system/v1.2.0-forms/docs/placeholder-api ) are now updated as well.

#320927
Apr 23, 2024 17:59
error This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.