Skip to content

Getting Content From Editor - SvelteKit #49

Answered by umaranis
enesbala5 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @enesbala5 ,

The simplest option is to upgrade to version 0.3.3 and follow the instruction here afterwards.

Another option is to create a svelte component and place it inside the composer. The new component can get the access to Lexical Editor from svelte context getContext('editor').

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@enesbala5
Comment options

@umaranis
Comment options

Answer selected by umaranis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants