Print Page | Close Window

Load a template into RTE

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Rich Text Editor (RTE)
Forum Description: Support forum for the Web Wiz Rich Text Editor (RTE).
URL: https://forums.webwiz.net/forum_posts.asp?TID=13658
Printed Date: 28 March 2026 at 8:59pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Load a template into RTE
Posted By: stafford
Subject: Load a template into RTE
Date Posted: 05 February 2005 at 9:40am
I'm currently using HTMLarea as my text editor. It works well but only on IE on a PC. RTE is cleaner and much easier to integrate. One feature that I'd love to see integrated into RTE is the ability to add templates or html blocks "into" the editor such as shown here:
http://www.htmlarea.com/cgi-bin/forum/gforum.cgi?post=32957;search_string=template;guest=10731138#32957 - http://www.htmlarea.com/cgi-bin/forum/gforum.cgi?post=32957;search_string=template;guest=10731138#32 957
 
in the Webstation One version of HTMLarea. Is it possible to adapt this function?



Replies:
Posted By: WebWiz-Bruce
Date Posted: 05 February 2005 at 2:01pm
That link you have is a bit confusing as it doesn't really explain what is meant by template and how they are applied.

However, in version 3 you can take a pre-existing textarea and have to changed into an RTE textarea with whatever data is in the textarea passed over to the RTE, so you could pre-fill your textarea with your template.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: stafford
Date Posted: 05 February 2005 at 6:48pm
Thanks for the quick response. This link might be a little clearer. It's actually a link to a demo editor.
http://www.webstationone.com/test/htmlarea/ - http://www.webstationone.com/test/htmlarea/


When you select the template button(13th from the left,center row) a popup lets yoiu select from thumbnails and actually load "a block of html" or a template. This way the end user has a choice of a few different layouts to start from.

Preloading the text area would offer them 1 layout, and is an option but the multiple layout choices works very nicely

Best,


Posted By: WebWiz-Bruce
Date Posted: 06 February 2005 at 5:32am
I see now, in many ways the Insert Template from the demo in the link is very simular to the 'Open File' already found in the Web Wiz RTE.

You could very easily convert the 'Open File' part of the RTE to open your templates, or even leave it how it is and just open the file (your template) in the RTE.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: stafford
Date Posted: 07 February 2005 at 9:18am
Thanks. I've looked into that and I should be able to work it out( I'm not a programmer but can usually twist & mangle code already written).
 
Best.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net