Main navigation
Product navigation
Main content
CKEditor 4
Overview
Demo
Accessibility Checker
Add-ons
Documentation
Download
Pricing
More
Home
WYSIWYG Editors
CKEditor 4
CKEditor 5
Image upload
CKFinder
Easy Image
Collaboration
Comments
New
Track changes
New
Collaborative editing
Pricing
Case studies
New
Documentation
Help center
Blog
Contact us
The forum operates in
read-only
mode. Please head to
StackOverflow
for support.
Forums
CKEditor
Support
Last post
Wed, 11/21/2007 - 17:43
#1
star
Joined:
21/11/2007
Posts:
1
How to avoid <p> </p> after submitting form
Hello,
kindly tell me ,How to avoid <p> </p> after submitting form?
Thanks In advance
Fri, 11/23/2007 - 12:13
#2
avairet
Joined:
23/10/2007
Posts:
24
Re: How to avoid <p>&nbsp;</p> after submitting
Hello!
You can delete "<p> </p>" after submitting form, by using a string replacement function with your server side language.
For example in PHP :
$string = str_replace('<p> </p>","",$posted_string);
...where "$posted_string" is your POST(ed) data from the Fck Instance.
BR
Avairet
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
Re: How to avoid <p>&nbsp;</p> after submitting
You can delete "<p> </p>" after submitting form, by using a string replacement function with your server side language.
For example in PHP :
$string = str_replace('<p> </p>","",$posted_string);
...where "$posted_string" is your POST(ed) data from the Fck Instance.
BR
Avairet