Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2008-10-24
2
Medium Priority
?
1,393 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 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month12 days, 18 hours left to enroll

971 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