Skip to content

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

@ghoshsanjoy78

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

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