How do you destroy the editor object?

See original GitHub issue

Is there a way to programatically stop using the editor, so it removes the bindings, and frees memory without creating leaks?

Something like:

editor = new Quill('#text')
editor.remove()

I tried with delete editor but lots of errors start appearing on the console whenever I try to do anything with it.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Reactions:1
  • Comments:19 (8 by maintainers)

github_iconTop GitHub Comments

8reactions
mitarcommented, Nov 1, 2014

+1

5reactions
MarcGodardcommented, Feb 19, 2021

Does this still exist? I am getting “destroy is not a function”

Read more comments on GitHub >

github_iconTop Results From Across the Web

Adding/removing objects in editor mode - Unity Answers
Adding/removing objects in editor mode. I create a game, where level design is done generating different level objects.
Read more >
Scripting API: Object.DestroyImmediate - Unity - Manual
Destroys the object obj immediately. You are strongly recommended to use Destroy instead. This function should only be used when writing editor code...
Read more >
How can we destroy child objects in edit mode(Unity3d)?
This is how i destroy children in Edit Mode: for (int i = this.transform.childCount; i > 0; --i) DestroyImmediate(this.transform.GetChild(0).gameObject);.
Read more >
Destroyer - Editor.js
You can destroy Editor.js instance by calling a destroy method. /** * Create an instance */ const editor = new EditorJS(); /** *...
Read more >
Editor - destroy a object :: Arma 3 Questions & Answers
the "chair" should be whole until I've blown the satchel charge. first when the charge is set of the chair should vanish just...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found