close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Using HTML Editor with Repeat Region

Thread began 1/07/2014 2:16 pm by bill173836 | Last modified 1/07/2014 2:17 pm by Jason Byrnes | 460 views | 1 replies |

bill173836

Using HTML Editor with Repeat Region

I'm using HTML Editor to update text I pull the data from a database and I have the Update form in a repeat region as there could be several tables that can be updated. The problem is that the first HTML Editor field looks fine but the second etc gets shown as a plan text field. Is there a way to make this work in all the repeat regions? Here is my code.

<?php
// The initial value to be displayed in the editor.
$CKEditor_initialValue = "".$row_rsProductSKUs['skuAdditionalInfo'] ."";
$CKEditor = new CKEditor();
$CKEditor->basePath = "../webassist/ckeditor/";
$CKEditor_config = array();
$CKEditor_config["wa_preset_name"] = "<New from blank>";
$CKEditor_config["wa_preset_file"] = "compact.xml";
$CKEditor_config["width"] = "98%";
$CKEditor_config["height"] = "100px";
$CKEditor_config["skin"] = "kama";
$CKEditor_config["dialog_startupFocusTab"] = false;
$CKEditor_config["fullPage"] = false;
$CKEditor_config["tabSpaces"] = 4;
$CKEditor_config["toolbar"] = array(
array( 'Source','Paste','PasteFromWord','Bold','Italic','-','OrderedList','UnorderedList'),
array( 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'));
$CKEditor_config["contentsLangDirection"] = "ltr";
$CKEditor_config["entities"] = false;
$CKEditor_config["pasteFromWordRemoveFontStyles"] = false;
$CKEditor_config["pasteFromWordRemoveStyles"] = false;
$CKEditor->editor("SKUAdditionalInformationUpdate", $CKEditor_initialValue, $CKEditor_config);
?>

Sign in to reply to this post

Jason ByrnesWebAssist

No, HTML Editor can not be used in a repeat region.

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