473,399 Members | 2,146 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

how to create a web based text editor?

Any suggestions in how to create editor in same way as Gmail editor.
I want to know the mechanism involved in transliteration support by editor.

As when space is triggered the AJAX call is made and the text is replaced with the response text.How javascript is written to enable this effect to happen??
Jan 22 '10 #1
6 6611
dgreenhouse
250 Expert 100+
I might behoove you to review some JavaScript editors that are currently available before embarking on your own development. If it's just a matter of using an editor on a page, I'd opt for using an already existing solution.

As far as transliteration support goes... That's a different animal altogether.

TinyMCE: http://tinymce.moxiecode.com/
widgEditor: http://www.themaninblue.com/experiment/widgEditor/
openwysiwyg: http://www.openwebware.com/ (seems a little buggy)

Here's a little tutorial on how to build a wysiwyg JS editor:
http://www.webreference.com/programm...t/gr/column11/
I can't vouch for it...
Jan 23 '10 #2
Thank you...sir for your suggestions
Jan 24 '10 #3
acoder
16,027 Expert Mod 8TB
As when space is triggered the AJAX call is made and the text is replaced with the response text.How javascript is written to enable this effect to happen??
If you want to know this part only, then use the onkeyup or onkeypress event. If a space is pressed, take the last word and pass it to the server-side script which does the conversion and returns the converted output to replace the last word.
Jan 31 '10 #4
but iam able to do the same thing for one word but how to handle the second time after the space is entered.Since the whole value will be sent to the server side script in addition to the previous word.
help.....
Feb 3 '10 #5
RamananKalirajan
608 512MB
Abhilash,
get the string in script and check for lastIndexOf(" ") and then extract the string after that index and send it to the server for replacing

Thanks and Regards
Ramanan Kalirajan
Feb 3 '10 #6
Hi after a long time....
I got the solution from the below link where i can type in local language for all my forms in my application.
JavaScript provided in the below site allows users to type in local language...
on every key press the respective language character is going to displayed instead of every space like Gmail...

http://www.higopi.com/
finally got the solution, of course not exactly like Gmail editor but to an extent...
Thank You every body for participating...for your valuable discussion...
Mar 12 '10 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Preston Crawford | last post by:
I'm working on a site where one of the requirements is the ability to do a newsletter. This newsletter would either be composed with or pasted into some kind of WYSIWYG web-based editor OR they'd...
7
by: Henk Verhoeven | last post by:
Hi, I have been doing quite some php using UltraEdit and Eclipse. Now i recently done another Smalltalk project i realize how i miss the searching capabilities of a good IDE: definitions of- and...
12
by: Christoph Bergmann | last post by:
Hi... We want to write an open source web based TEXT editor and would be happy about any help ;-) Please notice: We do NOT want to write a web based WEB editor, where you can edit a web...
2
by: Lindsey | last post by:
Hi I am wondering if anyone can help. We have a form used by a client to add news to a database, however at the moment the text edited is bog standard and the user can not bold or color the...
3
by: Richard Fritzler | last post by:
I was given the task of designing a complete web based document prep system. In simplest terms (using a msword explanation) create a database of merge fields, and a library of templates. Allow the...
2
by: Amil | last post by:
example: // form classes: // ItemEditor // CategoryEditor private void OpenForm(string formClassName) { // I want to be able to instantiate a form based on the parameter. if (formClassName...
5
by: dm1608 | last post by:
I would like to plug in a bunch of static, but related, information into a XML file that can be used by my VB.NET 2005 utility application. I would like to do something like: <shortname>...
3
by: suek | last post by:
I have a table with over 4000 records to search upon, and the users don't like a combo box. So what I have been trying to do for the last twelve hours is do some code to get a text box to search. ...
3
by: =?Utf-8?B?ZGV2ZWxvcHNj?= | last post by:
Hi, can you guide me, which MS technologies are suitable to create drawing application (simple CAD application) on the web - to allow 2D/3D drawing on some canvas and use data stored on server (in...
3
by: danesh1354 | last post by:
Hi All, First I need to construct a text editor by python programming and add this code to a biger code that has been written before, and i would like that by my code for this editor have a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.