Ticket #958 (closed New Feature: fixed)
Context menu - supporting parameters
| Reported by: | Batalf | Owned by: | alfonsoml |
|---|---|---|---|
| Priority: | Normal | Milestone: | FCKeditor 2.6 |
| Component: | UI : Context Menu | Version: | |
| Keywords: | Review+ | Cc: |
Description (last modified by alfonsoml) (diff)
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?
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
