Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Is there any chance there will be a plugin guide #261

Description

@DanielTate

I'm finding it hard finding out how to extend this to use a plugin.... I am using Wagtail CMS and I can get the button showing fine and if I pass in 'bold' into the command option for the .js pluign I get the content being wrapped in a <b> element however when I change this to any other command I don't get anything. I can see that its using document.exec to wrap the elements but I'm not sure what to do. I am just trying to wrap my element in a with a class attribute.

It's very hard to follow... How do i know if a button is selected how do I know when it isn't? How do I know if it's pressed, How do I do something when it is selected?

I just want to wrap the selected element in a span...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions