close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Multiple HTML Editors on one page

Thread began 8/09/2010 6:02 pm by david384850 | Last modified 10/10/2011 8:10 am by john218811 | 812 views | 4 replies |

david384850

Multiple HTML Editors on one page

Hi there,

Question: is it possible to use two instances of the HTML Editor on one page? Or even better: is it possible to use one instance of the HTML Editor on two different textfields?

I have one textfield in my CMS that is used to give a brief summary of the article, the second textfield is for typing the actual article itself.

I've searched the forums, but couldn't find any threads on this matter.

Sign in to reply to this post

Eric Mittman

Yes, you can have more than one HTMLEditor instance on a page. Each instance must have a unique name on the page like any other form elements. As for using one instance for both fields I'm not sure that I understand how you would like this to work. Normally you would have an HTMLEditor instance for each form field that you would like to make a Rich Text Editor.

Sign in to reply to this post

david384850

Hi Eric, thanks for answering so quickly.

With my second question I mean that the HTMLEditor would work with a textarea that has focus. So if I type something in the first area, the HTMLEditor works for that one and when working in the second field, the same instance of the Editor works for that one. That way you only need one HTML Editor per page, making the forms a little bit more user-friendly (and less challenging for inexperienced users) in my opinion.

I'm now going to try to hide the HTMLEditor for a field if it doesn't have focus with some JS.

Sign in to reply to this post

Eric Mittman

You can use the same editor for more than one value in a server behavior like an update. In the update you would just specify that both columns get their value from the HTMLEditor instance on the page.

However, I do not fully understand how you would like this to work from the perspective of the user. Would you have a page that loads with two text areas on it, and if the user selects one text field the editor would show and be associated with that field, but if the user set focus to the other text field the same editor would show but be associated with that text field?

Sign in to reply to this post

john218811

iRite/HTML editor in repeat region

I have a repeat region showing records from my database.
I have 2 records showing two update forms each with the editor.

However the text in the editor is not correct - it just repeats the data of one record.

But if you look at the source code the 2 records show correctly in the hidden field.

How can I get this to display and work as it should?

John

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

Content

rating

Layout

rating

Ease of use

rating

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...