-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
featureNew feature or requestNew feature or request
Description
Problem
Can't select which menu items appear
Solution
Add a configuration object in the createWysimark function
Use Case
Ability to turn off features that don't need, e.g. uploads, links, tables, headings.
Alternatives
Wanted to use a loaded event to know when the editor was initialised and then use dom methods to remove the menu nodes manually. Since none of the menus are named, classed or otherwise identifiable in any sensible way, it's a case of counting through dom nodes and removing specific children using indices.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request