close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


HTML editor losing in style and inserts <p>

Thread began 6/14/2010 9:46 am by larry268887 | Last modified 6/15/2010 11:16 am by larry268887 | 953 views | 2 replies |


HTML editor losing in style and inserts <p>

I using HTML editor to edit a dataassist form on an update page for an admin backend.

Here is the code the HTML editor generates.

<p><span style="color: rgb(51, 102, 255);"><strong>Hannah</strong></span> - Female Parti Yorkie Pup</p>

And this is what it saves to the database, but when you re edit the html editor shows

<p><span style=""><strong>Hannah</strong></span> - Female Parti Yorkie Pup</p>

1. How do I kept from losing the line style?
2. How do I keep HTML editor from inserting <p></p>?

This is how I want the code

<span style="color: rgb(51, 102, 255);"><strong>Hannah</strong></span> - Female Parti Yorkie Pup



Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

1) When the page is initially created by DataAssist, the form element bindings are created to replace any double quote (") with the html entity "&quote;". You will need to rebind the HTML Edit to the ShortDesc column to remove this.

Edit the HTMLEditor instance on the page, click the lightning bolt next to Initial Value and Select the ShortDesc column.

2) Edit the HTMLEditor instance and click the Customize button next to Editor Preset. On the Formatting tab, select the option to "Use <br> for rreturn"

Sign in to reply to this post


Works like a charm

Thanks so much. Works just like I needed it to. The directions were perfect.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...