Hi I have a serious problem being able to show the HTML and not just the HTML codes in the viewer.. How Do I fix that ? -
Any help appriciated
im getting the data from my DB, easy to save it , but wanna be able to load it into the editor again..
Any help appriciated
im getting the data from my DB, easy to save it , but wanna be able to load it into the editor again..
RE: Retrieve DB content into editor.. ASP
the code looks as follows :
thetext = test.Fields("thetext").value
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "/FCKeditor/" ' "/FCKeditor/" is the default value so this line could be deleted.
oFCKeditor.ToolbarSet = "bry"
oFCKeditor.Value = thetext
oFCKeditor.CreateFCKeditor "EditorDefault1", "100%", 500
but this only shows the html-codes displayed in the editor instead of the HTML.
RE: Retrieve DB content into editor.. ASP
RE: Retrieve DB content into editor.. ASP
its found in line 76 in fckeditor
the original:
Response.Write "<INPUT type=""hidden"" name=""" & instanceName & """ value=""" & Server.HTMLEncode( sInitialValue ) & """>"
the new one:
Response.Write "<INPUT type=""hidden"" name=""" & instanceName & """ value=""" & sInitialValue ) & """>"
just took out the htmlencode