#3941: Creation of Paragraph and Sub-Paragraph structure on pressing "indent" button --------------------------+------------------------------------------------- Reporter: Deepa | Owner: Type: New Feature | Status: new Priority: Normal | Milestone: Component: Core : Lists | Version: FCKeditor 2.6.4 Keywords: | --------------------------+------------------------------------------------- Hi,
First of all I wish to thank all those who have contributed to this tool. It works amazingly well. I'm using FCKEditor 2.6.4.1 for my project work. I'm using the following software for my project: 1) JavaScript, HTML, 2) Operating System: Linux, 3) Browser: Firefox. I have integrated this editor to my existing project. It is working great. However, I was asked to add new features to it. I need paragraph, sub- paragraph like structure. To be more clear following is the kind of structure I need to create: *************************************************************** 1. 2. a. b. (i) (ii) aa. ab. ac. (iii) aa. ab. (iv) c. (i) aa. (ii) d. 3. a. (i) aa. ab. (ii) b. (i) 4. *************************************************************** The structure has to follow this pattern only. For paragraph it starts with 1. For sub-paragraph it starts with a. For sub sub paragraph it starts with i (small roman numeral). For sub sub sub paragraph it starts with aa. I'm actually able to create this structure. However, whenever I need sub paragraphs I have to right click and set the ordered list element's "type" attribute and "start" attribute to its appropriate value. I need a feature using which we get the above pattern when the user presses "indent" button or "tab" key (whichever is convenient). Again, I'm using 2 such editors on the same page. My requirement is that first editor should start with paragraph number 1. We must then keep track of the number of paragraphs (in the above example it is 4) entered by the user in the first editor. Then the paragraph number should continue from the first editor. So in my example the second editor should start with number 5 when it receives the focus or when the user starts entering the value. It would really help me if you could tell me how I can modify the editor to get the desired result. I tried to learn the code. But since I'm a beginner I feel that the code for this editor is very vast and I'm unable to trace the necessary code. I would appreciate if any further help is provided on how to change the code and what are the files to access for this purpose. Thank you all once again for this editor and for your help. -- Ticket URL: <http://dev.fckeditor.net/ticket/3941> FCKeditor <http://www.fckeditor.net/> The text editor for Internet ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ FCKeditor-Trac mailing list FCKeditor-Trac@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fckeditor-trac