Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
I've got two fields on a cloneable template, one a text field, the other a textarea, and I find it very handy to be able to make quick edits through the inline edit feature.

However, I've noticed that despite these fields being plain text and textareas the inline edit keeps adding <p> tags to them, which while they don't mess anything up on the front end, they show up and are really annoying when editing the page in the admin panel.

Is there any way to prevent this?
Hi,

Inline editing is handle completely by CKEditor and that, like all other WYSIWYG editors, has a mind of its own :)

Please try searching this forum - there is a fix somewhere to make CKEditor use <BR> instead of <P>s. Perhaps you'd find it useful.
That did work, tho turns out it didn't work so well for all the other richtext fields across the site x_x

Anyway, I ended up changing the textarea to richtext (and stripped the toolbar of everything save for remove formatting... as you say WYSIWYG editors live their own lives :P ), and I put the text field into a popup instead of inline. Maybe not quite as smooth and easy as the inline edit but works well enough :9
3 posts Page 1 of 1