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
CKEditor
Last post
Mon, 05/31/2010 - 12:51
#1
talofo
Joined:
30/11/2008
Posts:
9
Remove the <br> tag on our text
<br>
viewtopic.php?f=11&t=18389&start=0
viewtopic.php?f=11&t=18437
Tue, 06/01/2010 - 14:05
#2
talofo
Joined:
30/11/2008
Posts:
9
Re: Remove the <br> tag on our text
I've used the php approach for this. So the br gets submitted, but once we need to retrieve the values and print them to the user, we remove the last chars corresponding to <br /> something like this on my case:
substr_replace
($noticia->primeiro_paragrafo_noticia ,"",-7);
Hope this helps anyone.
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
Re: Remove the <br> tag on our text
substr_replace($noticia->primeiro_paragrafo_noticia ,"",-7);
Hope this helps anyone.