#958: Context menu - supporting parameters
--------------------------------+-------------------------------------------
  Reporter:  Batalf             |       Owner:  alfonsoml
      Type:  New Feature        |      Status:  new      
  Priority:  Normal             |   Milestone:           
 Component:  UI : Context Menu  |     Version:           
Resolution:                     |    Keywords:           
--------------------------------+-------------------------------------------
Changes (by alfonsoml):

  * owner:  => alfonsoml

Old description:

> I have searched for this feature, but haven't found it.
>
> What we need is the support for passing parameters from context menu
> item. We have implemented a list of paragraph styles in the context menu
>
> Style
>  |--- Style 1
>       Style 2
>       Style 3
>       etc.
>
> "Style 1", "Style 2" and "Style 3" will all call a function named
> "SetParagraphStyle". This function will assign the current <p> paragrap
> to a css class name. This class name is the param we need to send to this
> function.
>
> I can't see that the AddItem method supports parameters.
>
> Is this something that could be implemented? Or are there any
> workarounds?

New description:

 I have searched for this feature, but haven't found it.

 What we need is the support for passing parameters from context menu item.
 We have implemented a list of paragraph styles in the context menu
 {{{
 Style
  |--- Style 1
       Style 2
       Style 3
       etc.
 }}}
 "Style 1", "Style 2" and "Style 3" will all call a function named
 "SetParagraphStyle". This function will assign the current <p> paragraph
 to a css class name. This class name is the param we need to send to this
 function.

 I can't see that the AddItem method supports parameters.

 Is this something that could be implemented? Or are there any workarounds?

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/958#comment:2>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to