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, 02/13/2008 - 21:06
#1
whatthecrap
Joined:
12/02/2008
Posts:
2
Multiple Tag Problems... Clearing Content
Thu, 02/14/2008 - 16:22
#2
whatthecrap
Joined:
12/02/2008
Posts:
2
Re: Multiple Tag Problems... Clearing Content
I found the issue. It had nothing to do with the editor. Rather the script I was using to set the innerHTML of the viewer needed to be modified. I had to replace returns and newlines with empty strings.
te.Text = te.Text.Replace("\r\n", string.Empty);
Twitter
Facebook
Facebook
Instagram
Medium
Linkedin
GitHub
Arrow down
Phone
Menu
Close icon
Check
Re: Multiple Tag Problems... Clearing Content
te.Text = te.Text.Replace("\r\n", string.Empty);