Can we have if condition in template.?
template:
'<div class="customdiv">​Placeholder</div>',
Can we have if condition in template.?
template:
'<div class="customdiv">​Placeholder</div>',
Which template are you talking about? If it’s a Freemarker template (i.e. an .ftl file) you have the Freemarker language at your disposal, including if-else statements.
No. I am talking about Ckeditor Plugin Widget… having property as template.