How do you destroy the editor object?
See original GitHub issueIs 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:
- Created 9 years ago
- Reactions:1
- Comments:19 (8 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
+1
Does this still exist? I am getting “destroy is not a function”