Solved

Steps to Install Free Rich Text Editor ( http://freerichtexteditor.com/ )

Posted on 2008-10-24
2
1,383 Views
Last Modified: 2012-05-05
Hello Experts,

I am relatively new to JS and having troubles installing it to my VB6 page.

I included following JS files to the the page:

<script src="Includes/JS/freerte_v1/js/richtext.js" type="text/javascript" language="javascript"></script>
<script src="Includes/JS/freerte_v1/js/config.js" type="text/javascript" language="javascript"></script>

But this obviously is not enough.
I know the installation should be fairly simple, but there are no "step-by-step" instructions for making FreeRTE to work.

If someone have used it, please, tell me what else do I need to do to make it work?

Thanks in advance!
0
Comment
Question by:snarinsky
2 Comments
 
LVL 2

Accepted Solution

by:
Adel87 earned 500 total points
ID: 22802172
By locking at the demo in the site you provided, it seems there is a third line required to initializes the editor as the two lines you have entered only include the java scripts to the page :

<!-- Include the Free Rich Text Editor Runtime -->
<script src="/freerte/js/richtext.js" type="text/javascript" language="javascript"></script>
<!-- Include the Free Rich Text Editor Variables Page -->
<script src="/freerte/js/config.js" type="text/javascript" language="javascript"></script>
<!-- Initialise the editor -->
<script>
initRTE('<i>This is some <b>preloaded</b> content</i>', '/freerte/examples/example.css');
</script>

remember to change the path : "/freerte/js/" to the path you have the js files stored in.

Please let me know if you need further assistance.

Regards,
0
 

Author Comment

by:snarinsky
ID: 22812658
Thanks Adel87,

I already tried this, but RTE still wouldn't show up on my form for some reason.

I included all the JS files to my project and included them like this:

      <TD>
            <script src="Includes/JS/freerte/js/richtext.js" type="text/javascript" language="javascript"></script>
            <script src="Includes/JS/freerte/js/config.js" type="text/javascript" language="javascript"></script>
            <script>initRTE('<i>This is some <b>preloaded</b> content</i>', '/freerte/examples/example.css');</script>
      </TD>

I'm using Mozilla Web Developer Tools and it gives me an error: "initRTE is not defined". Does it mean it can't find "example.css"?

Will really appreciate any help.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question