RTE removes header
Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz NewsPad
Forum Description: Support forum for the Web Wiz NewsPad application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=26070
Printed Date: 29 March 2026 at 2:54pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: RTE removes header
Posted By: eugenekr
Subject: RTE removes header
Date Posted: 05 August 2008 at 10:21am
Hello,
1. Paste html that contains "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>" into RTE after toggling to html. 2. Toggle back to wysiwyg mode 3. Toggle back to html mode
Result: header is removed, html starts with <TABLE> tag. This can be reproduced on web wiz rte online demo also.
Could you please advice, how can I fix this issue? I store formatting in <style> element in header, when it is removed, all formatting is lost.
Thank you, Eugene
|
Replies:
Posted By: WebWiz-Bruce
Date Posted: 05 August 2008 at 10:48am
This is coursed by the web browsers RTE API and not controlled by the Web Wiz RTE which simply interacts with the web browsers RTE API.
Depending on which web browser you use will depend on how the web browsers RTE API behaves.
However, I beleive most web browsers do remove the head part of a document, but a style sheet can be placed anywhere within a page it doesn't need to be in the head of a document.
------------- https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting
|
|