M
Mike Stumpo
I am currently reviewing a wysiwyg text area editor and
have it working except for one thing.
Once the edit.asp (via the DIW)page submits the data
entered, the data sent to the database is escaped HTML.
I realize this may not be the proper place to ask this,
but maybe someone in the forum may be able to point me in
a direction. The developer is looking into it but they
have never gotten a request from a FrontPage user.
here is the code for the plugin when creating the record:
<!-- ********** BEGIN COPY *********** -->
<script LANGUAGE="javascript"
SRC="../inc/HTMLRichTextArea.js" ></script>
<script LANGUAGE="javascript"
SRC="../inc/HTMLRichTextAreaFactorySettings.js" ></script>
<script LANGUAGE="javascript">
<!--
var strDefaultHTML = "";
new HTMLRichTextArea
("explanation",100,150,strDefaultHTML).Draw();
//-->
explanation is the text area.
The edit page code is:
<!-- ********** BEGIN COPY *********** -->
<script LANGUAGE="javascript"
SRC="../../../inc/HTMLRichTextArea.js" ></script>
<script LANGUAGE="javascript"
SRC="../../../inc/HTMLRichTextAreaFactorySettings.js"
<!--
var strDefaultHTML = "<%=FP_Fieldhtml
(fp_rs,"explanation")%>";
new HTMLRichTextArea
("explanation",80,150,strDefaultHTML).Draw();
//-->
</script>
<!-- ********** END COPY ************* -->
As you can see, the "<%=FP_Fieldhtml(fp_rs,"explanation")%
Any help would be appreciated.
-M
have it working except for one thing.
Once the edit.asp (via the DIW)page submits the data
entered, the data sent to the database is escaped HTML.
I realize this may not be the proper place to ask this,
but maybe someone in the forum may be able to point me in
a direction. The developer is looking into it but they
have never gotten a request from a FrontPage user.
here is the code for the plugin when creating the record:
<!-- ********** BEGIN COPY *********** -->
<script LANGUAGE="javascript"
SRC="../inc/HTMLRichTextArea.js" ></script>
<script LANGUAGE="javascript"
SRC="../inc/HTMLRichTextAreaFactorySettings.js" ></script>
<script LANGUAGE="javascript">
<!--
var strDefaultHTML = "";
new HTMLRichTextArea
("explanation",100,150,strDefaultHTML).Draw();
//-->
explanation is the text area.
The edit page code is:
<!-- ********** BEGIN COPY *********** -->
<script LANGUAGE="javascript"
SRC="../../../inc/HTMLRichTextArea.js" ></script>
<script LANGUAGE="javascript"
SRC="../../../inc/HTMLRichTextAreaFactorySettings.js"
<script LANGUAGE="javascript"></script>
<!--
var strDefaultHTML = "<%=FP_Fieldhtml
(fp_rs,"explanation")%>";
new HTMLRichTextArea
("explanation",80,150,strDefaultHTML).Draw();
//-->
</script>
<!-- ********** END COPY ************* -->
As you can see, the "<%=FP_Fieldhtml(fp_rs,"explanation")%
to editing is NOT escaped HTML)is pulling in the code from the database (which prior
Any help would be appreciated.
-M