Solved

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

Posted on 2008-10-24
2
1,389 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month6 days, 3 hours left to enroll

626 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