Click here to Skip to main content
15,885,842 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I want to create a rich line editor (line editor not text editor, in other phrases a text editor that can edit a single line).
My idea is i done this with a content editable DIV.
HTML
<div id='richLineEditor' contenteditable='true'>
</div>

But please give me some offers and ideas.
My basic line editor should have some properties like bold, italic, underline buttons. And three buttons for sizing (small, normal, large).
Please tell me how works the core of these text editors and what architecture have.

Thanks in advance
abforce
Posted

1 solution

Look out if there are any open source available for the same. Go through their documentation and code. That should help a lot.

I just Googled[^] and found textroom[^] is one of them.
 
Share this answer
 
Comments
Ali Reza Barkhordari 27-Jun-13 4:37am    
Thanks, But these codes and documentations are a bit complex for me and i can not understand them. I want a simple basic idea for these text boxes.
Ankur\m/ 27-Jun-13 4:56am    
Even in that case you can start by searching Google for 'add formatting buttons to textarea' (or something like that). You will have to do some basic research on the web. Once you have basic idea, start with the project and come back here if you face any issue.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900