Skip to content

v1.5.1 - placeholder insert buttons

Choose a tag to compare

@appcoderikbal appcoderikbal released this 26 Oct 13:08
· 2 commits to main since this release

Buttons that insert personalisation placeholders.

The campaign editor now has an Insert: row above the content box - First name, Last name, Full name, Email, Company, Website, Country. Clicking one drops the correct token in at your cursor.

Typing {{first_name}} by hand meant remembering the exact spelling, and a near miss fails silently: an unrecognised placeholder is left untouched and goes out as literal braces.

Works in both the Visual and Code tabs - TinyMCE owns an iframe in one and the other is a plain textarea, so the active mode decides where the token goes.

On line breaks

You never need to type <br>. In the Visual tab, Enter starts a new paragraph and Shift+Enter makes a single line break. The hint under the editor now says so - it previously listed placeholder names instead, which read as though hand-written HTML was expected.

No schema change.

Tested up to: 6.8

Installing

Download techzapp-crm.zip below. Do not use the auto-generated source archives - they omit vendor/ and the plugin will not load.