javascript富文本编辑器在ASP文本区域中显示html标

javascript富文本编辑器在ASP文本区域中显示html标

本文介绍了javascript富文本编辑器在ASP文本区域中显示html标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的newsweblog包含带有新闻文章和评论系统的ASP页面。评论已发布,阅读时,读者会点击评论的标题,并在弹出窗口中打开。


我添加了这个whizzywig富文本编辑器到评论文本框,读者评论文章。

Whizzywig是一个javascript富文本编辑器,似乎工作正常。我需要时使用编辑器键入注释,然后单击提交。


但是,当我打开评论来阅读它们时,格式化并没有显示,而是在评论框中有标签和html。


如何更正此问题?或者有人知道一个简单的ASP富文本编辑器吗?


以下是下面的代码,我需要添加一些内容吗?任何帮助升值,我不是HTML或ASP文化,谢谢



My newsweblog has ASP pages with news articles and a commenting system. The comments are posted, and to read them the reader clicks on the headline of the comment, and it opens up in a pop up window.

I added this "whizzywig rich text editor" to the comments textbox where readers comment on articles.
Whizzywig is a javascript rich text editor, and appears to work fine. I type the comment using the editor when i need to and then click submit.

However, when i open the comments to read them, the formatting doesn''t show, instead there are tags and html in the comment box.

How do i correct this? or does anyone know a simple ASP rich text editor?

Here is the code below, do i need to add something to it? Any help appreciated, and i''m not html or ASP literate, Thank you




展开 | 选择 | Wrap | 行号

推荐答案




谢谢Jared,


这是评论页面,打开数据库存储的评论。它是一个访问数据库。我已经制作了显示评论文字Bold的部分,


也在页面上有读者添加评论的表格框,我必须添加一个Javascript bodyonload命令来初始化富文本编辑器。我不知道是否必须在此页面上添加它,此页面是注释打开的位置,称为_comment_view.asp

thank you Jared,

Here is the comment page, that opens up the database stored comments. It is an access database. I have made the part which shows the comment text Bold,

also on the page which has the form box where readers add the comments, i have to add a Javascript bodyonload command that initialises the rich text editor. I don''t know if i have to add it here on this page too, this page is where the comment opens up in and is called "_comment_view.asp"

展开 | 选择 | Wrap | 行号




抱歉jared,我犯了一个错误,在上一篇文章给你。我强调了错误的部分。我应该突出显示的部分如下所示。这是评论显示的文本区域,我认为富文本编辑器为它添加了大量的垃圾,但我不确定,这是我正在使用的富文本编辑器。



i只想提一下,在尝试使用Web Wiz Rich Text Editor之前,我试过了WhizzyWig这是一个JavaScript。在那之前另一个。我和所有人都有同样的问题3.为什么会这样?


如果我的布局有问题,那么你能建议另一个兼容的富文本编辑器吗?我明显使用ASP页面,并使用访问数据库。


谢谢,以下是代码


sorry jared, i made a mistake, in the previous post to you. I highlighted the wrong part. The part i should have highlighted is as below in bold. It is the text area where the comment show, and i think the rich text editor adds a lot of gunk to it, but i''m not sure, this is the rich text editor i''m using.
http://www.webwizguide.info/asp/samp...57&mode=aspApp

i just want to mention, that before trying Web Wiz Rich Text Editor, i tried WhizzyWig which is a javascript one. and before that another one. I had the same problem with all 3. Why is this happening?

and if its a problem with my layout, then can you suggest another rich text editor that may be compatible? I use ASP pages obviously, and i use an access database.

Thanks, and below is the code

展开 | 选择 | Wrap | 行号


这篇关于javascript富文本编辑器在ASP文本区域中显示html标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-30 22:19