I am using the CuteEditor for asp, latest version.
Here is my problem: When I paste text into the cute editor field, paragraphs are alway covertet to line breaks. Looking at the generated html code I would expect to see <p>. However what I get is <br>. I have tried different things with the editor.EditorOnPaste Property, but don't see a change in behaviour. It even seems there is no change at all, even when I use editor.EditorOnPaste = "ConfirmWord", I do not get a question to confirm something.
Here is my asp code
<%
'------------Beginn Texteditorfeld----------------
Dim editor
Set editor = New CuteEditor
editor.ID = "detail"
editor.Text = objRS.Fields("detail")
editor.FilesPath = "/cute_editor_6"
editor.EditorWysiwygModeCss = "../styles/main_style.asp"
editor.ConfigurationPath = "/cute_editor/Configuration/kreartiv.config"
'editor.ConfigurationPath = "/cute_editor/Configuration/einfach.config"
'editor.ImageGalleryPath = "/Uploads"
'editor.MaxImageSize = 50
'editor.AutoConfigure = "Simple"
'editor.Template= "Bold,Italic,Underline"
editor.CustomCulture = "de-de"
editor.EditorOnPaste = "PasteText"
editor.AllowPasteHtml = True
editor.BreakElement = "P"
editor.FullPage = true
editor.Width = 750
editor.Height = 250
editor.Draw()
'------------Ende Texteditorfeld----------------
'%>
Here is the Text I am pasting from a word file:
Ask the questions you need to ask
Well consider the following key topics; business objective(s), anticipated impact of the project deliverables, expected quality standards, significant risks seen at this stage, key dates on the project horizon, key stakeholders (beyond yourself and the project sponsor), and any budgetary constraints that are likely. In addition you need to learn what style of communication and relationship this particular sponsor expects from you.
First impressions really count so do your preparation well. If you conduct a good, professional, confident, first meeting with your project sponsor you will not only demonstrate your capability in a good light, but you will also provide a valuable service to the sponsor.
There is a paragraph tag between each paragraph
When I paste this text with the above settings I am getting this (from the html view)
<p> </p>
<p>Ask the questions you need to ask <br />
Well consider the following key topics; business objective(s), anticipated impact of the project deliverables, expected quality standards, significant risks seen at this stage, key dates on the project horizon, key stakeholders (beyond yourself and the project sponsor), and any budgetary constraints that are likely. In addition you need to learn what style of communication and relationship this particular sponsor expects from you.<br />
<br />
First impressions really count so do your preparation well. If you conduct a good, professional, confident, first meeting with your project sponsor you will not only demonstrate your capability in a good light, but you will also provide a valuable service to the sponsor.<br />
</p>
Do you see the <br> instead of the <p> that I would like to see?
What do I have to change to make this work?
Any quick help is appreciated.
Volker Gottwald