Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
Hi guys,

Something strange is happening when I add a link to a field type nicedit. This is my code:
Code: Select all
<cms:editable type="nicedit" name="person_short_about" label="About me (short)" desc="text shown on People page" buttons="bold, italic, link, unlink" height="100" />

Code: Select all
<div id="<cms:show k_page_name />-bio" class="col position-relative collapsed-card collapse card card-body mt-4 mx-3 mx-md-0"><cms:show person_short_about /></div>

This is the field filled with some lorem ipsum text in the admin panel:
Image

And this is what I see in the inspector panel:
Image

However, when I add a link to any word, immediately I see this in the inspector panel (notice the quotation marks):
Image

And this is what I see in the front end:
Image

So, the link ("a" tag) divides the paragraph. Any idea why it's happening?
Hi @aleiveira,

Use of type 'nicedit' is deprecated as type 'richtext' can now be used in repeatable-regions (lack of which previously was the only reason why nicedit was needed).

Please substitute 'nicedit' with 'richtext' in your editable region's definition (of course, making sure to visit the template as super-admin for the change to take effect).

Hope this helps.
Thanks, KK!

It's working fine with richtext.
3 posts Page 1 of 1