• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

Developing with NicEdit

This version was saved 14 years, 9 months ago View current version     Page history
Saved by Brian Kirchoff
on May 24, 2009 at 5:33:40 am
 

Developing additional plugins and making other modifications ot the NicEdit source is easy

 

Check out the Code

First get a copy of the source code by checking out NicEdit trunk from the SVN

 

svn co http://svn.nicedit.com/trunk src

 

Use the Development Code

In order to use NicEdit with the set of seperate javascript files for development you will need to include them in the head of the test page you create.  To get you started here is an example.

 

  1.  
  2. <script src="src/nicCore/bkLib.js" type="text/javascript"></script>
  3. <script src="src/nicCore/nicConfig.js" type="text/javascript"></script>
  4. <script src="src/nicCore/nicCore.js" type="text/javascript"></script>
  5. <script src="src/nicCore/nicInstance.js" type="text/javascript"></script>
  6. <script src="src/nicCore/nicIFrameInstance.js" type="text/javascript"></script>
  7. <script src="src/nicCore/nicPanel.js" type="text/javascript"></script>
  8. <script src="src/nicCore/nicButton.js" type="text/javascript"></script>
  9. <script src="src/nicCore/nicPlugin.js" type="text/javascript"></script>
  10. <script src="src/nicPane/nicPane.js" type="text/javascript"></script>
  11. <script src="src/nicSelect/nicSelect.js" type="text/javascript"></script>
  12. <script src="src/nicButtonTips/nicButtonTips.js" type="text/javascript"></script>
  13. <script src="src/nicAdvancedButton/nicAdvancedButton.js" type="text/javascript"></script>
  14.  
  15.  
  16. <script src="src/nicLink/nicLink.js" type="text/javascript"></script>
  17. <script src="src/nicImage/nicImage.js" type="text/javascript"></script>
  18. <script src="src/nicCode/nicCode.js" type="text/javascript"></script>
  19. <script src="src/nicColors/nicColors.js" type="text/javascript"></script>
  20.  
  21. <script src="src/nicXHTML/nicXHTML.js" type="text/javascript"></script>
  22. <script src="src/nicBBCode/nicBBCode.js" type="text/javascript"></script>
  23.  
  24.  
  25. </head>
  26.  
  27. <textarea style="width: 400px; height: 150px;" id="myArea2">
  28. This is some TEST CONTENT
  29. </textarea>
  30.  
  31. bkLib.onDomLoaded(function(){
  32.   var myInstance = new nicEditor().panelInstance('myArea2');
  33. });
  34. </script>
  35.  
  36. </body>
  37. </html>
  38.  

 

Comments (0)

You don't have permission to comment on this page.