Add class option to DropdownSubmenu #21

Open
opened 2019-07-13 12:14:23 +02:00 by ghedwards · 0 comments
ghedwards commented 2019-07-13 12:14:23 +02:00 (Migrated from github.com)

Could you please add class to the DropdownSubmenu options so the following will add the class to the "Table" menu item, it's possible to do this for Dropdown and MenuItem but not DropdownSubmenu

new DropdownSubmenu(cut([
r.insertTable
]), {label: "Table",class: "menu-createtableselection"})

Could you please add class to the DropdownSubmenu options so the following will add the class to the "Table" menu item, it's possible to do this for Dropdown and MenuItem but not DropdownSubmenu new DropdownSubmenu(cut([ r.insertTable ]), {label: "Table",class: "menu-createtableselection"})
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
prosemirror/prosemirror-menu#21
No description provided.