Skip to content

How to access and modify the underlying Quill object in the RichTextEdit - i.e. set focus, blur, unshift key bindings #1901

Answered by stsrki
swaipa asked this question in Q&A
Discussion options

You must be logged in to vote

You can use public getter for ElementRef or ElementId.

<RichTextEdit @ref="@richTextEditRef">
@code{
  RichTextEdit richTextEditRef;

  async Task DoSomething()
  {
    await JSInterop.DoSomething(richTextEditRef.ElementId);
  }
}

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
9 replies
@stsrki
Comment options

@njannink
Comment options

@swaipa
Comment options

@swaipa
Comment options

@njannink
Comment options

Answer selected by swaipa
Comment options

You must be logged in to vote
4 replies
@swaipa
Comment options

@swaipa
Comment options

@njannink
Comment options

@Devteamsolutions
Comment options

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