Home Dojo Dojo Editor
Questions:Ask|Latest


 
 

Share on Google+Share on Google+

Dojo Editor

Advertisement
In this section, you will learn about dojo editor.

Dojo Editor

       

In this section, you will learn about dojo editor.

Dojo Editor: This is a editor that provides the facility to formatting your text. You enter your text in the editor, this editor provides you to edit those text like: bold, italic and underline. If you edit the text then you undo and redo your text. You can set the the alignment like: left, right and center. You can also justify your entered text in the editor.

Try Online: Editor

Here is the code of Program:

<html>
<head>

<title>Editor Demo</title>

 <style type="text/css">
  @import "../dijit/themes/soria/soria.css";
  @import "/resources/dojo.css";
  </style>

  <script type="text/javascript" src="dojo.xd.js" djConfig="parseOnLoad: true"></script>

  <script type="text/javascript">
 dojo.require("dojo.parser");
 dojo.require("dijit.Editor");
 </script>

</head>
<body class="soria">

  <textarea name="field" dojoType="dijit.Editor"> 
  This tips is light towards people with some JavaScript knowledge, priestly used
 another JavaScript (Ajax) framework before, now have a real need to use some of the 
features found in dojo. In this tips, learn about the dojo and its directory structure. 
The purpose of this tips, for a new user learn to dojo then you need to know about the 
what is dojo and its directory structure.
  </textarea>
 
</body>
</html>

Output:

Try Online:

Advertisements

Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: November 1, 2008

Ask Questions?    Discuss: Dojo Editor  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
chethan
June 17, 2011
dojo

when i copy this example and run in this my system it is not working as you show in the preview
Sahil
June 15, 2012
LCJfoFcyeizqd

Hi thanks for your reply,The thing is that my code,var x = wiodnw.confirm(â??Do you want to sign another page?â??);halts the execution of the codebasically the redirect is to the SAME jsp page, after some server side operations.so,that is why i set those flags for rediect. Comeback to the page false, ok go to googleor predefined url,true ok need to to the same operations on the same page and as theuser again if he wants to do it again.the code you mentioned allows the background or the next function to execute after the mentioned duration ??? but the wiodnw.confirm does not I need to set that flag function CallpreSign(){ConfirmMultipleSign1();preSign();//ConfirmMultipleSign();}function ConfirmMultipleSign1() {var x = wiodnw.confirm( Do you want to sign another page? );if(x){document.getElementById( MultipleSignFlag ).value = true ;}else{ document.getElementById( MultipleSignFlag ).value = false ;}}any advice in dojo?
DMCA.com