High-Performance UI Component Library for Enterprise Applications Forums Editor & Inputs Is there a way to reset Smart Editor content programmatically?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #113635
    alex.morris22
    Participant

    Hi everyone, I am working on a small reporting tool for operations with Editor. I am currently trying to solve this: Is there a way to reset Smart Editor content programmatically? So far, I verified this is not a CSS-only issue, but some edge cases break expected behavior. Is there an official pattern for this scenario?

    #113638
    admin
    Keymaster

    Hi Alex,

    Yes, just set its value to an empty string like this – editor.value = ”;

    Regards,
    Markov

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.