Skip to content

New to svelte - Examples of how to use the editor props #2

Description

@ghoshsanjoy78

Hi,

I am very new to Svelte and trying to use this component. I am not able to understand how to use the 'editor' props like instance, save, clear etc.

Here are a couple of things I want to do -

  1. On clicking a button, clear the contents of the entire editor
  2. On clicking another button, output the json version of the editor data

Any help is appreciated! Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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