#3941: Creation of Paragraph and Sub-Paragraph structure on pressing "indent"
button
--------------------------+-------------------------------------------------
 Reporter:  Deepa         |       Owner:                 
     Type:  New Feature   |      Status:  new            
 Priority:  Normal        |   Milestone:  CKEditor 3.x   
Component:  Core : Lists  |     Version:  FCKeditor 2.6.4
 Keywords:  Discussion    |  
--------------------------+-------------------------------------------------
Changes (by garry.yao):

  * keywords:  => Discussion
  * milestone:  => CKEditor 3.x


Comment:

 Replying to [ticket:3941 Deepa]:
 Thanks you for proposing this nice feature, valuable for people who seeks
 for creating MS-WORD mimics list type.[[BR]]

 As you noticed that FCKEditor will be soon reach it's last release, so
 CKEditor 3.x will be more likely the right version if we are intended to
 add any new features like this. I'll keep it open for future discussion.

 > 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 need a feature using which we get the above pattern when the user
 presses "indent" button or "tab" key (whichever is convenient).

 From your description, it's obviously that this's a specific feature that
 you require, which means we're probably not going to provide, instead,
 we're likely to provide more generic feature like MS-WORD;
  1. Dialog providing options for change list type and start number;
  1. Dialog for assigning list type and start number binding with list
 level;

 > 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.
 Of course, if you want to achieve this with FCKEditor, you need to create
 a plugin, which is as easy as understanding part of the list command
 source:FCKeditor/trunk/editor/_source/commandclasses/fcklistcommands.js
 codes.

 > 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.
 At last, this feature is about across-editor communication, which require
 you to writing some gluing codes based on the editor API.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/3941#comment:1>
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

Reply via email to