Skip to content

Ability to configure menus/elements #80

@frumbert

Description

@frumbert

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions